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.
Eliezer