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 <[EMAIL PROTECTED]> 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
>>   [EMAIL PROTECTED]
>>
>>
>>
>


-- 
 Alejandro Bednarik
 XTech - Soluciones Linux para Empresas
 (011) 5219-0678
 [EMAIL PROTECTED]


Reply via email to