Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Fri, 10 Oct 2003 10:33:20 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: problems with current squid Message-ID: <20031010083320.GH14344@cygbert.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i On Thu, Oct 09, 2003 at 05:39:58PM -0400, Tom Oehser wrote: > > The current squid and current cygwin fails with setrlimit errors > about too many open files, I saw some messages in the cygwin-app > group about this, but it didn't seem to be resolved. The exact > messages are: > > > $ squid -N > FATAL: setrlimit: RLIMIT_NOFILE: (24) Too many open files > Squid Cache (Version 2.4.STABLE7): Terminated abnormally. > CPU Usage: 0.100 seconds = 0.030 user + 0.070 sys > Maximum Resident Size: 16000 KB > Page faults with physical i/o: 1089 > Aborted (core dumped) How big is squid trying to set RLIMIT_NOFILE? I tried with a test application and it failed to set the limit to more than 3200 entries. YMMV since there's no fixed numbers of descriptors, only a fixed number of bytes for a bunch of different jobs. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developer mailto:cygwin AT cygwin DOT com Red Hat, Inc. -- 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/