Re: Squid dying ...

From: Henrik Nordstrom <>
Date: Sat, 11 Jul 1998 10:06:08 +0200

Linux lists wrote:

> Are there people running Squid 1.2beta22 proxy's with approx.
> 12 Gb of cache on HP UX systems ? If so, what version (Squid & HP UX)
> en how did you set your system limits.

When setting system limits fopr Squid the rules is:

1. max data segment size has to be large enought. Many platforms has a
default limit of 64MB. In HP-UX this is max_dsize
2. The file,inode & socket tables has to be large enought to support the
large number of open files. If you increase maxusers then all of these
grows, or you can change each individually if you like.
3. There may be a kernel limit on the number of open files/process and
this needs to be set higher than the expected number of open
files+sockets in Suqid. On a Squid box it is the Squid server process
that has almost all open files.

All parameters related to memory,files,inodes & sockets has to be a lot
higher that the default on most platforms where there is limits on
these, and this applies to both the system-wide tables and any
per-process limits.

Henrik Nordström
Sparetime Squid Hacker
Received on Sat Jul 11 1998 - 01:13:03 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:41:05 MST