On Fri, 5 Mar 2004, Peter Smith wrote:

> Another thing that might be driving up the # of file desc usage is the 
> "half_closed_clients off" you have.  On my squids I run with this as in 
> the default config, "on".

Setting "half_closed_clients off" considerably reduses the filedescriptor 
usage by Squid.

Leaving it in the default "on" setting may cause excessively high 
filedescriptor usage if a lot of clients non-responsive sites etc.

> Also, on my systems we are running named instead of using squid's fqdn 
> cache, this may help things out a bit--ymmv..

Having a DNS server nearby defenitely helps. There is not a big difference 
in having the DNS server on the LAN or on the Squid server itself.

> I notice you have a "redirect_children 30"--are you running a 
> redirector?  This can significantly alter your numbers.

Indeed. How much depends on the redirector used.

> I'll give you my settings.  Again I am very conservative on the 
> "cache_dir" size as I think this will eat up quite a bit of RAM to keep 
> in-memory-indices.

The guideline for memory usage found in the Squid FAQ chapter on memory 
usage is quite good.

Regards
Henrik

Reply via email to