delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/12/04/01:47:56

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
X-Spam-Score: 1.558
Message-ID: <4754F7F2.5090208@sh.cvut.cz>
Date: Tue, 04 Dec 2007 07:47:14 +0100
From: =?UTF-8?B?VsOhY2xhdiBIYWlzbWFu?= <V DOT Haisman AT sh DOT cvut DOT cz>
User-Agent: Thunderbird 2.0.0.9 (Windows/20071031)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: cygwin and squid - RLIMIT_NOFILE
References: <fj21ad$g2$1 AT ger DOT gmane DOT org> <47548C3A DOT 4070705 AT acm DOT org> <fj2i74$c7h$1 AT ger DOT gmane DOT org>
In-Reply-To: <fj2i74$c7h$1@ger.gmane.org>
OpenPGP: id=1204AF05; url=http://logout.sh.cvut.cz/~wilx/Vaclav_Haisman_(0x63B6B297)_pub.asc
X-IsSubscribed: yes
Reply-To: cygwin AT cygwin DOT com
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

--------------enigD4774BC7DBB9C3E52EF99012
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable



jameshanley39 AT yahoo DOT co DOT uk wrote, On 4.12.2007 4:40:
> David Rothenberger wrote:
>=20
>> On 12/3/2007 2:51 PM, jameshanley39 AT yahoo DOT co DOT uk wrote:
>> [snip]
>>> $ squid -N
>>> FATAL: setrlimit: RLIMIT_NOFILE: (24) Too many open files
>>>
>>> This is a classic error described a few times on the mailing list.
>>>
>>> So..
>>> has anybody managed this?!!!
>>> and how?!
>> Is there any reason not to use the Windows-native squid binaries[1]?
>> I thought about trying to package squid-2.6 for Cygwin because of the
>> problems you mention, but when I noticed the Windows-native binaries
>> I decided it wasn't worth the effort.
>>
>> [1] http://www.acmeconsulting.it/SquidNT/
>=20
>=20
> I did try the windows port, it did not work either.=20
> here is a direct link to the download page
> http://squid.acmeconsulting.it/download/dl-squid.html
>=20
> I tried with 2.6 stable17, and 2.6 stable16.  Same result.=20
>=20
> first time I got an error
> C:\squid\sbin>squid
> FATAL: Unable to open configuration file: c:/squid/etc/squid.conf:
>=20
>=20
> (
> well,
> there is no such file. There was squid.conf.default, so I did
> copy squid.conf.default squid.conf
> )
>=20
>=20
> I ran it again and got a different error
> C:\squid\sbin>squid
> FATAL: cache_dir c:/squid/var/cache: (2) No such file or directory
> Squid Cache (Version 2.6.STABLE17): Terminated abnormally.
> CPU Usage: 0.030 seconds =3D 0.010 user + 0.020 sys
> Maximum Resident Size: 3944 KB
> Page faults with physical i/o: 996
>=20
>=20
> I tried it on another machine, since on this machine (maybe a bad win
> xp) I have been able to run servers, but have had problems when
> installing a server as a service, like openssh runs ./sshd but not net
> start sshd. Anyhow, it did not work on the computer with the fully
> working win xp either. same errors
>=20
I think that you need to RTFM. IIRC you first have to create your swap
directories using the -z option.

--
wilx


--------------enigD4774BC7DBB9C3E52EF99012
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHVPf/oUFWwtEPkHIRCCa9AJ4ikavSBQ1JumVyr4HoHkivTgs/fwCdGh0t
9mV34JP3UmOY1ox6gemLZIw=
=nU2j
-----END PGP SIGNATURE-----

--------------enigD4774BC7DBB9C3E52EF99012--

- Raw text -


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