Hi James,

> On 2014-06-20 09:10, ama...@tin.it wrote:
>> I had configured
>> /etc/security/limits.conf
>> squid   soft    nofile
>> 16384
>> squid   hard    nofile  16384
>> root    soft    nofile  16384
>>
>> root    hard    nofile  16384
>>
>> but to resolve the problem I have to add
>> into /et/init.d/squid
>>  #set fildedescriptor
>>  set -e
>>  ulimit -n 16384
>>
>>
>> thank Eliezer
>
> I've found that adding:
>
> *     -     nofile 16384
>
> To limits.conf works as well.

That's expected: /etc/init.d/squid doesn't honors limits.conf. But you
changed the limit for all users, root will get then and so will squid
when started.

That's why I told you to put an ulimit command on /etc/sysconfig/squid,
so you can increase the limit just for squid and not for the whole system.


[]s, Fernando Lozano

Reply via email to