Re: [squid-users] Your cache is running out of filedescriptors

From: Carlos Simbaņa <csimbana@dont-contact.us>
Date: Tue, 17 Feb 2004 11:53:49 -0500

After add the lines

> half_closed_clients off
> server_persistent_connections off
> client_persistent_connections off

Squid start and I am Surfing!!! Thanks but I am worried because 3 lines
say:

2004/02/17 11:51:22| WARNING: All redirector processes are busy.
2004/02/17 11:51:22| WARNING: 5 pending requests queued
2004/02/17 11:51:22| Consider increasing the number of redirector processes
in your config file.

Is it normal?

Carlos

All tail of cache.log is:

2004/02/17 11:51:21| Starting Squid Cache version 2.5.STABLE4 for
i686-pc-linux-gnu...
2004/02/17 11:51:21| Process ID 31511
2004/02/17 11:51:21| With 1024 file descriptors available
2004/02/17 11:51:21| DNS Socket created at 0.0.0.0, port 16415, FD 4
2004/02/17 11:51:21| Adding nameserver 127.0.0.1 from squid.conf
2004/02/17 11:51:21| helperOpenServers: Starting 5 'squidGuard' processes
2004/02/17 11:51:21| Unlinkd pipe opened on FD 14
2004/02/17 11:51:21| Swap maxSize 1638400 KB, estimated 126030 objects
2004/02/17 11:51:21| Target number of buckets: 6301
2004/02/17 11:51:21| Using 8192 Store buckets
2004/02/17 11:51:21| Max Mem size: 65536 KB
2004/02/17 11:51:21| Max Swap size: 1638400 KB
2004/02/17 11:51:21| Local cache digest enabled; rebuild/rewrite every
3600/3600 sec
2004/02/17 11:51:21| Store logging disabled
2004/02/17 11:51:21| Rebuilding storage in /var/spool/squid (DIRTY)
2004/02/17 11:51:21| Using Least Load store dir selection
2004/02/17 11:51:21| Current Directory is /
2004/02/17 11:51:21| Loaded Icons.
2004/02/17 11:51:21| Accepting HTTP connections at 0.0.0.0, port 3128, FD
15.
2004/02/17 11:51:21| Accepting ICP messages at 0.0.0.0, port 3130, FD 17.
2004/02/17 11:51:21| WCCP Disabled.
2004/02/17 11:51:21| Pinger socket opened on FD 19
2004/02/17 11:51:21| Ready to serve requests.
2004/02/17 11:51:21| Done reading /var/spool/squid swaplog (712 entries)
2004/02/17 11:51:21| Finished rebuilding storage from disk.
2004/02/17 11:51:21| 712 Entries scanned
2004/02/17 11:51:21| 0 Invalid entries.
2004/02/17 11:51:21| 0 With invalid flags.
2004/02/17 11:51:21| 712 Objects loaded.
2004/02/17 11:51:21| 0 Objects expired.
2004/02/17 11:51:21| 0 Objects cancelled.
2004/02/17 11:51:21| 0 Duplicate URLs purged.
2004/02/17 11:51:21| 0 Swapfile clashes avoided.
2004/02/17 11:51:21| Took 0.4 seconds (1744.2 objects/sec).
2004/02/17 11:51:21| Beginning Validation Procedure
2004/02/17 11:51:21| Completed Validation Procedure
2004/02/17 11:51:21| Validated 712 Entries
2004/02/17 11:51:21| store_swap_size = 7648k
2004/02/17 11:51:22| WARNING: All redirector processes are busy.
2004/02/17 11:51:22| WARNING: 5 pending requests queued
2004/02/17 11:51:22| Consider increasing the number of redirector processes
in your config file.
2004/02/17 11:51:22| storeLateRelease: released 0 objects
2004/02/17 11:51:22| icmpRecv: recv: (111) Connection refused
2004/02/17 11:51:22| Closing Pinger socket on FD 19

----- Original Message -----
From: "Trevor" <trevor@gnuguy.com>
To: <squid-users@squid-cache.org>
Sent: Tuesday, February 17, 2004 11:22 AM
Subject: RE: [squid-users] Your cache is running out of filedescriptors

> 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:52:21 MST

This archive was generated by hypermail pre-2.1.9 : Mon Mar 01 2004 - 12:00:02 MST