Re: [squid-users] file descriptor problem

From: Visolve Squid <squid@dont-contact.us>
Date: Tue, 13 Jun 2006 20:39:55 +0530

genco yilmaz wrote:

> Hi,
> Squid generates the following warning on cache.log file:
> WARNING! your cache is running out of filedescriptors.
>
> I know that there is no available FD for squid but I couldn't solve it
> yet. I have tried the methods mentioned in squid archive to increase
> FD number but nothing changed.
>
> I have added ;
> * soft nofile 8192
> * hard nofile 65535
>
> lines into the /etc/security/limits.conf file then I have issued
> "ulimit -HSn 8192"
> to increase the per process file descriptor limit but squid still says
> that there is 1024 file descriptor available at startup.

Hello Yilmaz,

Squid might be compiled with 1024 fildescriptors. So You need to set the
ulimit -Hsn 8192
and recompile the squid

Thanks,
Visolve Squid Team,
http://squid.visolve.com
Received on Tue Jun 13 2006 - 09:08:10 MDT

This archive was generated by hypermail pre-2.1.9 : Sat Jul 01 2006 - 12:00:01 MDT