2013/2/15 Amm <ammdispose-sq...@yahoo.com>: > > >> ulimit -n must be run as the same user that the proxy is running. >> >> In debian/ubuntu that user is proxy, and if you type ulimit as root you >> will get a different answer that if you type ulimit logged in as proxy user. >> >> Be sure to check the ulimit for the right user > > Or you can check current limits using: > > /proc/SQUIDPID/limits >
Hi, I set my /etc/security/limit.conf: * soft nofile 655360 * hard nofile 655360 so user squid also has limit in 655360: # cat /proc/SQUIDPID/limits Limit Soft Limit Hard Limit Units Max cpu time unlimited unlimited seconds Max file size unlimited unlimited bytes Max data size unlimited unlimited bytes Max stack size 10485760 unlimited bytes Max core file size unlimited unlimited bytes Max resident set unlimited unlimited bytes Max processes 257742 257742 processes Max open files 655360 655360 files Max locked memory 65536 65536 bytes Max address space unlimited unlimited bytes Max file locks unlimited unlimited locks Max pending signals 257742 257742 signals Max msgqueue size 819200 819200 bytes Max nice priority 0 0 Max realtime priority 0 0 Max realtime timeout unlimited unlimited us and my fd.file-max is 655360 too: # cat /proc/sys/fs/file-max 655360