Add these lines to your /etc/squid/squid.conf file and restart squid.
half_closed_clients off
server_persistent_connections off
client_persistent_connections off
That should address your problem. I am running 2.4STABLE6.
Trevor.
-----Original Message-----
From: Carlos Simbaņa [mailto:csimbana@novadevices.com]
Sent: Tuesday, February 17, 2004 9:08 AM
To: Henrik Nordstrom
Cc: squid-users@squid-cache.org
Subject: Re: [squid-users] Your cache is running out of filedescriptors
At the morning said:
2004/02/17 09:13:49| WARNING! Your cache is running out of filedescriptors
2004/02/17 09:14:05| WARNING! Your cache is running out of filedescriptors
2004/02/17 09:14:12| WARNING: All redirector processes are busy.
2004/02/17 09:14:12| WARNING: 5 pending requests queued
2004/02/17 09:14:12| Consider increasing the number of redirector processes
in your config file.
2004/02/17 09:14:21| WARNING! Your cache is running out of filedescriptors
2004/02/17 09:14:37| WARNING! Your cache is running out of filedescriptors
2004/02/17 09:14:53| WARNING! Your cache is running out of filedescriptors
2004/02/17 09:15:09| WARNING! Your cache is running out of filedescriptors
2004/02/17 09:15:25| WARNING! Your cache is running out of filedescriptors
2004/02/17 09:15:41| WARNING! Your cache is running out of filedescriptors
2004/02/17 09:15:57| WARNING! Your cache is running out of filedescriptors
<snip>
2004/02/17 09:17:49| WARNING! Your cache is running out of filedescriptors
2004/02/17 09:18:05| WARNING! Your cache is running out of filedescriptors
2004/02/17 09:18:21| WARNING! Your cache is running out of filedescriptors
2004/02/17 09:28:13| WARNING! Your cache is running out of filedescriptors
2004/02/17 09:28:29| WARNING! Your cache is running out of filedescriptors
Carlos
----- Original Message -----
From: "Henrik Nordstrom" <hno@squid-cache.org>
To: "Carlos Simbaņa" <csimbana@novadevices.com>
Cc: <squid-users@squid-cache.org>
Sent: Tuesday, February 17, 2004 10:34 AM
Subject: Re: [squid-users] Your cache is running out of filedescriptors
> On Tue, 17 Feb 2004, Carlos Simbaņa wrote:
>
> > I have already edit /usr/include/bits/types.h to define __FD_SETSIZE
8192
>
> This is not needed.
>
> > I have already set ulimit -HSn 8192
>
> This is, both when recompiling Squid and when starting Squid.
>
> > I have already recompile my squid 2.5 stable4
> > And nothing.
>
> What does cache.log say about filedescriptors when starting?
>
> Regards
> Henrik
>
>
Received on Tue Feb 17 2004 - 09:22:23 MST
This archive was generated by hypermail pre-2.1.9 : Mon Mar 01 2004 - 12:00:02 MST