delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/12/03/17:52:35

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" <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: <fj21ad$g2$1@ger.gmane.org>
Mime-Version: 1.0
User-Agent: XanaNews/1.18.1.6
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019