X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: "jameshanley39 AT yahoo DOT co DOT uk" Subject: cygwin and squid - RLIMIT_NOFILE Date: Mon, 3 Dec 2007 22:51:57 +0000 (UTC) Lines: 67 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 User-Agent: XanaNews/1.18.1.6 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 $squid a)squid does not bind to a port b)ps shows it sits around for a while, then goes. maybe creating 2 instances. $squid -N it gives this error.. and terminates, does not do funny business with duplicate processes. but does not run at all better with the -N though, it displays an error and fails, instead of just failing. $ squid -N FATAL: setrlimit: RLIMIT_NOFILE: (24) Too many open files Squid Cache (Version 2.4.STABLE7): Terminated abnormally. CPU Usage: 0.040 seconds = 0.010 user + 0.030 sys Maximum Resident Size: 201728 KB Page faults with physical i/o: 788 8 [sig] squid 3964 C:\cygwin\bin\squid.exe: *** fatal error - called with threadlist_ix -1 Hangup This is a classic error described a few times on the mailing list. I have tried some different solutions offered, but no solution worked.. - the hex edit - the autoconf.h edit I would try the autoconf.h edit again, but cannot find where to download the cygwin squid source. I tried it once, but reinstalled cygwin, and do not know where I got the source. The source that cygwin can install with squid, does not configure, I get Currentuser AT minitough ~/squid-2.4.STABLE7 $ ./configure creating cache ./config.cache checking host system type... Invalid configuration `i686-pc-cygwin': system `cyg win' not recognized And regarding the hex edit. When I do that (verifying the size of squid and squid.exe are the same, so the edit went fine) note- /bin is same directory or place as /usr/bin I get this error $ squid -N 9 [sig] squid 2344 C:\cygwin\bin\squid.exe: *** fatal error - called with threadlist_ix -1 Hangup So.. has anybody managed this?!!! and how?! TIA -- -- 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/