[squid-users] lots of open conns with parent

From: Mihai Postelnicu <sssharkieee@dont-contact.us>
Date: Sun, 14 Dec 2003 07:35:20 -0800 (PST)

Hello,
I am running Squid 2.5STABLE4.
I am using a non-Squid proxy as a parent :

cache_peer [ip] parent 808 0 no-query max-conn=3000
login=user:pass

Everything working ok, except after max-conn is
reached, which happens quite fast because it does not
seem to close all the connections opened with the
parent. After this I experience a huge response delay
(probably when trying to close the opened
connections?). Squid is compiled with pthreads.
I've tried to solve it by tunning the timeouts and
persistent conns:

peer_connect_timeout 10 seconds
read_timeout 10 seconds
request_timeout 20 seconds
half_closed_clients off
pconn_timeout 20 seconds
persistent_request_timeout 20 seconds

Some of the connections will close now, but i still
have a significant amount of evergrowing OPEN CONNS
reported in Cache Manager's Peer Cache Statistics:

Status : Up
AVG RTT : 0 msec
OPEN CONNS : 634
LAST QUERY : 1071415460 seconds ago
LAST REPLY : 1071415460 seconds ago
PINGS SENT : 0
PINGS ACKED: 0 0%
FETCHES : 1250 0%
IGNORED : 0 0%
Histogram of PINGS ACKED:
Last failed connect() at: 14/Dec/2003:16:41:28 +0200
keep-alive ratio: 52%

Can you please help me with this ? After max-conn is
reached, my Squid starts to act realy slooow. Squid
cache servers 54 users.

Thanks a lot,
Mihai

__________________________________
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/
Received on Sun Dec 14 2003 - 08:35:31 MST

This archive was generated by hypermail pre-2.1.9 : Thu Jan 01 2004 - 12:00:11 MST