This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: sysconf(_SC_OPEN_MAX) limit



Thanks Rob,
For me 255 was enough ;-)

Suhaib

> -----Original Message-----
> From: Robert Collins [mailto:robert.collins@itdomain.com.au]
> Sent: Thursday, June 07, 2001 8:04 PM
> To: Suhaib Siddiqi; cygwin@cygwin.com
> Subject: Re: sysconf(_SC_OPEN_MAX) limit
> 
> I think it's newlib that provides sysconf....
> 
> I'll see if I have time this weekend to dig into where the 32 is coming
> from. 8192 /16384 sound good for the value returned?
> 
> Rob
> 
> ----- Original Message -----
> From: "Suhaib Siddiqi" <ssiddiqi@inspirepharm.com>
> To: <cygwin@cygwin.com>
> Sent: Friday, June 08, 2001 9:56 AM
> Subject: sysconf(_SC_OPEN_MAX) limit
> 
> 
> >
> > According to private communication with Chris, Cygwin has no fd limit.
> >
> > However, we have a sysconf(_SC_OPEN_MAX) issue for Cygwin/XFree86:
> >
> > why sysconf(_SC_OPEN_MAX) only returns 32 then. XFree86 returns errors
> once
> > max limit is hit.  One way to over come this is to hack the
> connections.c in
> > Xfree86, However, shouldn't
> > this be bumped up in the Cygwin rather than making changes in source
> code
> > outside of
> > it. Maybe other people will come across the same problem in other
> > applications.
> >
> >
> > --
> > Want to unsubscribe from this list?
> > Check out: http://cygwin.com/ml/#unsubscribe-simple
> >
> >

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]