Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <015901c0efae$805cfea0$0200a8c0@lifelesswks> From: "Robert Collins" To: "Suhaib Siddiqi" , References: <7F2B9185F0196F44B59990759B91B1C2505CCF AT ins-exch DOT inspirepharm DOT com> Subject: Re: sysconf(_SC_OPEN_MAX) limit Date: Fri, 8 Jun 2001 10:03:51 +1000 MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-OriginalArrivalTime: 07 Jun 2001 23:54:49.0129 (UTC) FILETIME=[3C971990:01C0EFAD] 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" To: 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