[ANNOUNCEMENT] Server Test 44

Alan Hourihane alanh@fairlite.demon.co.uk
Thu Aug 16 01:24:00 GMT 2001


On Thu, Aug 16, 2001 at 09:07:07AM +0200, Alexander Gottwald wrote:
> On Wed, 15 Aug 2001, Harold Hunt wrote:
> 
> > 
> > 1) Bump the client connection limit from 32 to 1024 by passing the
> > square of getdtablesize () to setdtablesize ().  (Harold Hunt)
> > 
> This seems to be a _very_ ugly hack. I already looked into this issue
> and found that in programs/Xserver/os/connection.c the number is either
> set from a static value (255 afair) or from the system via 
> sysconf(_SC_OPEN_MAX).
> 
I agree. I've committed an alternative patch that uses MAXSOCKS (which is
already the fallback case). MAXSOCKS eventually gets defined as 256. If
this still isn't enough, then someone can add some extra code to osdep.h
to cater for the value of OPEN_MAX.

Alan.



More information about the Cygwin-xfree mailing list