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/

Reply via email to