Search squid archive

Re: Warning in cache.log

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 If you are running Debian, you can try changing SQUID_MAXFD in
/etc/default/squid use something higher like 4096 or 8192 and restart
Squid. Other option is to build squid yourself. This needs a couple of
steps, like changing #define _ _FD_SETSIZ in /usr/include/bits/types.h
before compile. There is also a workaround doing echo 8192 >
/proc/sys/fs/file-max and ulimit -Hn 8192 and then start squid, but is
not the best solution.

Cheers!

Paras Fadte wrote:
> ulimit -n shows 1024
>
> On 10/21/08, Alejandro Bednarik <alejandro@xxxxxxxxxxxx> wrote:
>>
>>   Which is the output of "ulimit -n" (for linux) or "sysctl -a | grep
>>  maxfiles" (for BSD)
>>
>>  Cheers!
>>
>>
>>  Paras Fadte wrote:
>>  > Hi,
>>  >
>>  > I get following message in cache.log .
>>  >
>>  > WARNING! Your cache is running out of filedescriptors
>>  >
>>  > How can it be resolved ?
>>  >
>>  > Thanks.
>>  >
>>  > -Paras
>>  >
>>
>>
>>
>> --
>>   Alejandro Bednarik
>>   XTech - Soluciones Linux para Empresas
>>   (011) 5219-0678
>>   alejandro@xxxxxxxxxxxx
>>
>>
>>
>


-- 
 Alejandro Bednarik
 XTech - Soluciones Linux para Empresas
 (011) 5219-0678
 alejandro@xxxxxxxxxxxx



[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux