[ANNOUNCEMENT] Server Test 44

Corinna Vinschen cygwin-xfree@cygwin.com
Thu Aug 16 01:47: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)

Interesting enough this isn't even necessary. If the default size
of the dtable isn't enough, it's automatically reallocated if a
process requires more open file descriptors.

Maybe it's not ok in Cygwin that getdtablesize() and sysconf(_SC_OPEN_MAX)
return the current size of the dtable. Perhaps they should return NOFILE
or OPEN_MAX as it's already noted in a comment in the sysconf() source.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.



More information about the Cygwin-xfree mailing list