Hi
I heard the __FD_SETSIZE setting limits the number of open files to a
process... Is this the fact? What happens if I double it?
Thanks
roy
--
from /usr/src/linux/include/linux/posix_types.h
#define __FD_SETSIZE 1024
--
Roy Sigurd Karlsbakk, MCSE, MCNE, CLS, LCA
Computers are like air conditioners.
They stop working when you open Windows.
> I heard the __FD_SETSIZE setting limits the number of open files to a
> process... Is this the fact? What happens if I double it?
It did long ago. Nowdays its limited by proc tunable variables - you do
however want to use poll() not select()
> It did long ago. Nowdays its limited by proc tunable variables - you do
> however want to use poll() not select()
ok... thanks. That someone mentioned in a discussion about Tux - may I
guess he was mistaken?
roy
--
Roy Sigurd Karlsbakk, MCSE, MCNE, CLS, LCA
Computers are like air conditioners.
They stop working when you open Windows.
On Tue, 6 Nov 2001, Roy Sigurd Karlsbakk wrote:
> Hi
>
> I heard the __FD_SETSIZE setting limits the number of open files to a
> process... Is this the fact? What happens if I double it?
>
> Thanks
>
> roy
This just limits the number of fds you can use with select().
Use poll() instead.
Cheers,
Dick Johnson
Penguin : Linux version 2.4.1 on an i686 machine (799.53 BogoMips).
I was going to compile a list of innovations that could be
attributed to Microsoft. Once I realized that Ctrl-Alt-Del
was handled in the BIOS, I found that there aren't any.