Re: [squid-users] Squid on FC6, connections sitting around too long

From: Henrik Nordstrom <henrik@dont-contact.us>
Date: Tue, 16 Oct 2007 02:16:15 +0200

On fre, 2007-10-12 at 10:52 -0700, Tory M Blue wrote:
> Trying to figure out how I can reduce connections, sitting around on
> my Squid boxes.
>
> I'm still running with both Netcaches and a few Squid boxes and what
> I'm seeing in my loadbalancer is that the Netcaches have 50% less
> connections at any given time than the Squid boxes. Also the Netcache
> (Netapp) is pushing more traffic, so what I'm gathering is that the
> Netapp is taking in connections and releasing them faster than the
> squid boxes.

Probably you have a TCP connection based load balancer instead of one
that balances on actual traffic, and the Netcaches have persistent
connections disabled..

> I'm wondering if A) how I can diagnose this B), is there Squid
> specific settings to handle this (I don't really want to close an
> active connection, but absolutely want a connection that has been left
> by a client to go away).

See the client_persistent_connections and persistent_request_timeout
directives.

Regards
Henrik

Received on Mon Oct 15 2007 - 18:16:20 MDT

This archive was generated by hypermail pre-2.1.9 : Thu Nov 01 2007 - 13:00:01 MDT