[EMAIL PROTECTED] wrote:
I installed it with automatic Debian package installation program.

So I don't know if I have such file.

Not really the file INSTALL but a lot of information in /usr/share/doc
like this file.

debian:~# gunzip -c /usr/share/doc/squid/README.morefds.gz


More filedescriptors for squid


The old Linux 2.0.x kernel had support for a maximum of 256 filedescriptors per process. The squid FAQ talks about this, and recommends use of a special patch for 2.0.x kernels. Don't use that patch - use a 2.2.19 kernel or later, since the recent 2.2.x kernels (and 2.4, ofcourse) have support for lots of filedescriptors built in.

The Debian Squid package has a special patch included that makes
it possible for squid to use more than 1024 filedescriptors. You
can enable this by increasing SQUID_MAXFD in /etc/default/squid.

The /etc/init.d/squid script then sets the maximum number of
filedescriptors at startup using 'ulimit'. It also examines
the global file maximum in /proc/sys/fs/file-max and increases
that to (SQUID_MAXFD + 4096) if it is lower than that.

        README.morefds  1.20  01-Oct-2001  [EMAIL PROTECTED]


Are you using testing/unstable? AFAIK the stable package is squid 2.4.6-2woody2

debian:~# cat /etc/default/squid
#
# /etc/default/squid
#

# Max. number of filedescriptors to use. You can increase this on a busy
# cache to a maximum of (currently) 4096 filedescriptors. Default 1024.
SQUID_MAXFD=1024

That should do the trick.

Regards, Hendrik Voigtl�nder

Reply via email to