I used this how to, and did not require a re-compile

http://paulgoscicki.com/archives/2007/01/squid-warning-your-cache-is-running-out-of-filedescriptors/

cheers
Ivan

On Tue, Jul 6, 2010 at 1:43 PM, Mellem, Dan <dan.mel...@pomona.k12.ca.us> wrote:
>
> Did you set the limit before you compiled it? The upper limit is set at 
> compile time. I ran into this problem myself.
>
> -Dan
>
>
> -----Original Message-----
> From:   Superted666 [mailto:ruckafe...@gmail.com]
> Sent:   Mon 7/5/2010 3:33 PM
> To:     squid-users@squid-cache.org
> Cc:
> Subject:        [squid-users] File Descriptors
>
>
> Hello,
>
> Got a odd problem with file descriptors im hoping you guys could help me out
> with?
>
> Background
>
> I'm running CentOS 5.5 and squid 3.0 Stable 5.
> The system is configured with 4096 file descriptors with the following :
>
> /etc/security/limits.conf
> *                -       nofile          4096
> /etc/sysctl.conf
> fs.file-max = 4096
>
> Also /etc/init.d/squid has ulimit -HSn 4096 at the start.
>
> Problem
>
> Running a ulimit -n on the box does indeed show 4096 connectors but squid
> states it is using 1024 despite what is said above. I noticed this because
> im starting to get warnings in the logs about file descriptors...
>
> Any help greatly appreciated.
>
> Thanks
>
> Ed
>
> Ed
> --
> View this message in context: 
> http://squid-web-proxy-cache.1019090.n4.nabble.com/File-Descriptors-tp2278923p2278923.html
> Sent from the Squid - Users mailing list archive at Nabble.com.
>
>
>
>

Reply via email to