X-Spam-Check-By: sourceware.org
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; 	charset="us-ascii"
Subject: RE: How can I increase ulimit -n or open files limit to 65535 on cygwin?
Date: Fri, 13 Oct 2006 16:31:29 -0400
Message-ID: <31DDB7BE4BF41D4888D41709C476B65704169197@NIHCESMLBX5.nih.gov>
In-Reply-To: <BAY117-F261B1A3354746C5EBB6FA3A20A0@phx.gbl>
From: "Buchbinder, Barry \(NIH/NIAID\) [E]" <BBuchbinder@niaid.nih.gov>
To: "Annie W." <werty____@hotmail.com>, <cygwin@cygwin.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id k9DKVjCq029262

Annie W. wrote:
> can someone point me on how to increase open file limit?
> Im stuck to 3200 on ulimit -n
> I already went thru my cygwin files and downloaded cygwin source code.
> I would appreciate the advice on how to change this limit?
> 
> I have already increased open file limits on redhat and other linux
> systems without any problems. 
> 
> Thank you
> Annie

I've no idea what sets ulimit's limits.  But that won't stop me from
suggesting some possibilities.  :-)

- ulimit is a bash builtin, so you might want to look at bash's code.
If bash is the problem, you might run under ash or another shell, though
not launched from bash.

- One possibility is that Windows limits the numbers of open files.
Have you looked into that?

Good luck.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


