yes, it's confusing to have two different fd limits, one for squid and one for OS. I wonder is it possible to obtain the system fd limits, and put it in the log message when squid is running out of fds? I think that would solve all these kind of problems. T On Sat, Dec 29, 2012 at 3:27 PM, Eliezer Croitoru <eliezer@xxxxxxxxxxxx> wrote: > Great! > Nice to know that. > > > On 30/12/2012 00:02, 叶雨飞 wrote: >> >> ubuntu 10.04 . and appearently /etc/security/limits.conf is not >> working on it because it doesn;t configure with pam_session. >> >> I just added ulimit -n 65535 in my launch script > > > -- > Eliezer Croitoru > https://www1.ngtech.co.il > sip:ngtech@xxxxxxxxxxxx > IT consulting for Nonprofit organizations > eliezer <at> ngtech.co.il -- Tianyin XU, http://cseweb.ucsd.edu/~tixu/