Re: [squid-users] File Descriptor Issue

From: Eliezer Croitoru <>
Date: Wed, 25 Jun 2014 01:30:02 +0300

On 06/24/2014 11:54 PM, Matthew Ceroni wrote:
> The soft and hard limits are 4096 and 8192 respectively.
> So with that set why does mgr:info report 65k available and then drop to
> 16k when the cache.log file reports out of FD warnings?
This is a weird thing...
To verify what the status of the current ulimit at squid startup you can
add into the squid sysvinit script a line like this:
ulimit -Sa >>/tmp/ul.log
ulimit -Ha >>/tmp/ul.log

And see what the results are..
There are couple factors around the ulimit actual limits and which I am
not expert enough to do an in depth investigation on the subject.
But I offered a very strict option which will force the real limit a
run-time ti let say 65k..
Once this limit is set you can verify that your cache is working fine.

Received on Tue Jun 24 2014 - 22:32:09 MDT

This archive was generated by hypermail 2.2.0 : Wed Jun 25 2014 - 12:00:05 MDT