Re: big-* patches and FD_SET()

2000-06-15 Thread Petr Novotny
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 15 Jun 00, at 12:07, clemensF wrote: > what's that jazz with magic 509? what does this number mean? The largest number N such that 2*N+5<1024. (1024 being system limit on select() call and 2*N+5 being the maximum number of handles qmail at con

Re: big-* patches and FD_SET()

2000-06-15 Thread clemensF
> Toens Bueker: > more than 509 available for a busy server. what's that jazz with magic 509? what does this number mean? clemens

Re: big-* patches and FD_SET()

2000-06-15 Thread Toens Bueker
clemensF <[EMAIL PROTECTED]> wrote: > > ./chkspawn > > Oops. Your system's FD_SET() has a hidden limit of 1024 descriptors. > > does qmail really take up that many fd's at a time? Depends from what you're trying to do. I just checked - sending 200 mails to one of our mail servers (which is a li

Re: big-* patches and FD_SET()

2000-06-15 Thread Toens Bueker
Russ Allbery <[EMAIL PROTECTED]> wrote: > >> How can I increase this 'hidden limit'? > > > You can try what is described in /usr/include/sys/select.h, but i don't > > know whether this will do something good: The C library might know too > > much about the 1024 internally. > > Raising the limi

Re: big-* patches and FD_SET()

2000-06-14 Thread Peter van Dijk
On Wed, Jun 14, 2000 at 10:42:21PM +0200, clemensF wrote: > > Toens Bueker: > > > ./chkspawn > > Oops. Your system's FD_SET() has a hidden limit of 1024 descriptors. > > does qmail really take up that many fd's at a time? It needs 2 for every remote delivery, for example. One fd is passed by qm

Re: big-* patches and FD_SET()

2000-06-14 Thread clemensF
> Toens Bueker: > ./chkspawn > Oops. Your system's FD_SET() has a hidden limit of 1024 descriptors. does qmail really take up that many fd's at a time? clemens

Re: big-* patches and FD_SET()

2000-06-14 Thread Russ Allbery
Uwe Ohse <[EMAIL PROTECTED]> writes: > On Wed, Jun 14, 2000 at 11:58:20AM +0200, Toens Bueker wrote: >> How can I increase this 'hidden limit'? > You can try what is described in /usr/include/sys/select.h, but i don't > know whether this will do something good: The C library might know too > m

Re: big-* patches and FD_SET()

2000-06-14 Thread Uwe Ohse
On Wed, Jun 14, 2000 at 11:58:20AM +0200, Toens Bueker wrote: > ./chkspawn > Oops. Your system's FD_SET() has a hidden limit of 1024 descriptors. edit qmail-1.03/conf-spawn, set the value to a number less then or equal to 509. > How can I increase this 'hidden limit'? You can try what is d

big-* patches and FD_SET()

2000-06-14 Thread Toens Bueker
Hi *, I'm sure it's an FAQ but I haven't found any hints on this until now. >From my days with squid (http://squid.nlanr.net/), I tought I'd now how to increase the filedescriptor limit on Solaris. For qmail I did the same (edit /etc/system and add 'set rlim_fd_max = 4096'). But I still canno