* __FD_SETSIZE question
@ 2001-11-06 18:25 Roy Sigurd Karlsbakk
2001-11-06 18:44 ` Alan Cox
2001-11-06 19:04 ` Richard B. Johnson
0 siblings, 2 replies; 4+ messages in thread
From: Roy Sigurd Karlsbakk @ 2001-11-06 18:25 UTC (permalink / raw)
To: linux-kernel
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.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: __FD_SETSIZE question
2001-11-06 18:44 ` Alan Cox
@ 2001-11-06 18:38 ` Roy Sigurd Karlsbakk
0 siblings, 0 replies; 4+ messages in thread
From: Roy Sigurd Karlsbakk @ 2001-11-06 18:38 UTC (permalink / raw)
To: Alan Cox; +Cc: linux-kernel
> 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.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: __FD_SETSIZE question
2001-11-06 18:25 __FD_SETSIZE question Roy Sigurd Karlsbakk
@ 2001-11-06 18:44 ` Alan Cox
2001-11-06 18:38 ` Roy Sigurd Karlsbakk
2001-11-06 19:04 ` Richard B. Johnson
1 sibling, 1 reply; 4+ messages in thread
From: Alan Cox @ 2001-11-06 18:44 UTC (permalink / raw)
To: Roy Sigurd Karlsbakk; +Cc: linux-kernel
> 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()
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: __FD_SETSIZE question
2001-11-06 18:25 __FD_SETSIZE question Roy Sigurd Karlsbakk
2001-11-06 18:44 ` Alan Cox
@ 2001-11-06 19:04 ` Richard B. Johnson
1 sibling, 0 replies; 4+ messages in thread
From: Richard B. Johnson @ 2001-11-06 19:04 UTC (permalink / raw)
To: Roy Sigurd Karlsbakk; +Cc: linux-kernel
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.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2001-11-06 19:05 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-11-06 18:25 __FD_SETSIZE question Roy Sigurd Karlsbakk
2001-11-06 18:44 ` Alan Cox
2001-11-06 18:38 ` Roy Sigurd Karlsbakk
2001-11-06 19:04 ` Richard B. Johnson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).