[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: [LI] Problem with squid....



On Fri, 15 Oct 1999, Vicky Plaha wrote:

> I am running squid on my Linux box to act as a proxy for my lan. After few
> hours i get a write failed: bad FD or something to that effect error and

Squid comes in two flavours - the "lite" version that uses minimal memory,
and the "industrial strength" version, that is a memory hog.

If you do an "Install Everything" under RHL 5.2, you will end up with both
being installed, and the RHL startup script will run the first one, which
happens to be the "lite" (novm) version. This version can handle only
limited number of File Descriptors, and if you are catering to a
browser-happy LAN, you will find this problem cropping up.

The answer is simply to uninstall the squid.novm. Run

rpm -qa|grep squid

You should see two squid packages. Stop squid ("/etc/rc.d/init.d/squid
stop"), then uninstall the one with "novm" in it. The start squid again
with "/etc/rc.d/init.d/squid start". 

This should solve your problem, but will create another one - this version
of squid is a memory hog, so don't try this if you do not have at least 64
MB of RAM and oodles of swap space available.

Be aware that you have probably reached a point where you might want to
dedicate a machine for LAN-web caching - make sure you have a big and fast
hard disk, and sufficient amount of RAM (we are probably talking about a
machine about the size required to run a popular non-Linux word processor
known to be prone to catching a cold).

Atul


--------------------------------------------------------------------
The Linux India Mailing List Archives are now available.  Please search
the archive at http://lists.linux-india.org/ before posting your question
to avoid repetition and save bandwidth.