This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
RE: sysconf(_SC_OPEN_MAX) limit
- To: "'Robert Collins'" <robert dot collins at itdomain dot com dot au>, "'cygwin at cygwin dot com'" <cygwin at cygwin dot com>
- Subject: RE: sysconf(_SC_OPEN_MAX) limit
- From: Suhaib Siddiqi <ssiddiqi at inspirepharm dot com>
- Date: Thu, 7 Jun 2001 20:06:30 -0400
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