Re: MAXFD is always 1024

From: Henrik Nordstrom (hno@marasystems.com)
Date: Mon Aug 15 2005 - 11:25:20 MDT


On Mon, 15 Aug 2005, Hay Tran The wrote:

> Hi,
> I am using Redhat Linux ES 3.1
>
> I have changed the maximum open files for OS by doing all three things:
> - Edit /etc/sysctl.conf, add fs.file-max = 32768 , then run #sysctl -p
> I can double check /proc/sys/fs/file-max and see this figure 32768
>
> - run command #ulimit -n 32768
>
> - Edit /usrusr/include/bits/typesizes.h and set
> #define __FD_SETSIZE 32768
>
>
> Next, I re-complile web-polygraph. I can see below messages during "configure" is running:

Do you do this in the same shell where you ran ulimit a few lines up?

Verify by running "ulimit -n ; ./configure ..."

Regards
Henrik



This archive was generated by hypermail 2b29 : Mon Feb 06 2006 - 12:00:28 MST