Re: Poll and Select not scaling

2001-01-11 Thread Micah Gorrell
te: Thursday, January 11, 2001 3:42 PM Subject: RE: Poll and Select not scaling > >> I have been trying to increase the scalabilty of an email server that has >> been ported to Linux. It was originally written for Netware, and there we >> are able to provide over 30,000 conne

RE: Poll and Select not scaling

2001-01-11 Thread David Schwartz
> I have been trying to increase the scalabilty of an email server that has > been ported to Linux. It was originally written for Netware, and there we > are able to provide over 30,000 connections at any given time. On Linux > however select stops working after the first 1024 connections. I h

Re: Poll and Select not scaling

2001-01-11 Thread dean gaudet
On Wed, 10 Jan 2001, Dan Kegel wrote: > select() is usually limited to 1024 file descriptors oh hey, this limit is only a libc limit these days. you can do this: #define MY_FD_SETSIZE (16384) typedef struct { __fd_mask __fds_bits[MY_FD_SETSIZE / __NFDBITS]; } my_fd_set; #define MY_FD_Z

Re: Poll and Select not scaling

2001-01-10 Thread Bill Wendling
Also sprach Micah Gorrell: } If I am asking this in the wrong place I apoligize in advace. Please let me } know where the correct forum would be. } } } I have been trying to increase the scalabilty of an email server that has } been ported to Linux. It was originally written for Netware, and t

Re: Poll and Select not scaling

2001-01-10 Thread Dan Kegel
Micah wrote: > I have been trying to increase the scalabilty of > an email server that has been ported to Linux. It > was originally written for Netware, and there we > are able to provide over 30,000 connections at any > given time. On Linux however select stops working > after the first 1024 con