[squid-users] cache_peer problem

From: David Rosca-Lorenz <[email protected]>
Date: Wed, 02 Mar 2005 13:02:53 +0100

hello @all
when my squid is requesting at its "cache_peer" the "cache_peer" is
accepting the first request and at the second request nothing anymore.
The log is saying than that the "cache_peer" is dead. If i restart the
squid ths same again just one request is comming trough and that's it.
Here the log:
here the squid is started
Mar 2 11:23:43 proxy2 squid[4424]: Reconfiguring Squid Cache (version
2.5.STABLE5)...
Mar 2 11:23:43 proxy2 squid[4424]: FD 8 Closing HTTP connection
Mar 2 11:23:43 proxy2 squid[4424]: FD 26 Closing ICP connection
Mar 2 11:23:43 proxy2 squid[4424]: FD 27 Closing SNMP socket
Mar 2 11:23:43 proxy2 squid[4424]: Cache dir '/var/cache/squid' size
remains unchanged at 102400 KB
Mar 2 11:23:43 proxy2 squid[4424]: User-Agent logging is disabled.
Mar 2 11:23:43 proxy2 squid[4424]: Referer logging is disabled.
Mar 2 11:23:43 proxy2 squid[4424]: DNS Socket created at 0.0.0.0, port
1032, FD 7
Mar 2 11:23:43 proxy2 squid[4424]: Adding nameserver 10.20.1.91 from
/etc/resolv.conf
Mar 2 11:23:43 proxy2 squid[4424]: helperStatefulOpenServers: Starting
5 'ntlm_auth' processes
Mar 2 11:23:43 proxy2 squid[4424]: helperOpenServers: Starting 5
'ntlm_auth' processes
Mar 2 11:23:43 proxy2 squid[4424]: helperOpenServers: Starting 5
'wbinfo_group.pl' processes
Mar 2 11:23:43 proxy2 squid[4424]: Accepting HTTP connections at
0.0.0.0, port 8080, FD 8.
Mar 2 11:23:43 proxy2 squid[4424]: Accepting ICP messages at 0.0.0.0,
port 3130, FD 26.
Mar 2 11:23:43 proxy2 squid[4424]: HTCP Disabled.
Mar 2 11:23:43 proxy2 squid[4424]: Accepting SNMP messages on port
3401, FD 27.
Mar 2 11:23:43 proxy2 squid[4424]: WCCP Disabled.
Mar 2 11:23:43 proxy2 squid[4424]: Configuring Parent 10.20.1.126/3128/7
Mar 2 11:23:43 proxy2 squid[4424]: Loaded Icons.
Mar 2 11:23:43 proxy2 squid[4424]: Ready to serve requests.

now after the second request its howing this
Mar 2 11:33:28 proxy2 squid[4424]: Detected DEAD Parent: 10.20.1.126/3128/7

i dont understand why after the second request its over. Here my squid.conf

http_port 8080

acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY

cache_mem 96 MB

cache_dir ufs /var/cache/squid 100 16 256

cache_access_log /var/log/squid/access.log

cache_log /var/log/squid/cache.log

cache_store_log /var/log/squid/store.log

pid_filename /var/run/squid.pid

debug_options ALL,1

# Authentifizierungs Parameter
auth_param ntlm program /usr/bin/ntlm_auth
--helper-protocol=squid-2.5-ntlmssp
auth_param ntlm children 5
auth_param ntlm max_challenge_reuses 0
auth_param ntlm max_challenge_lifetime 2 minutes
auth_param ntlm use_ntlm_negotiate off

auth_param basic program /usr/bin/ntlm_auth
--helper-protocol=squid-2.5-basic
auth_param basic children 5
auth_param basic realm Internet Anmeldung!
auth_param basic credentialsttl 2 hour

authenticate_ttl 1 hour

refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 0 20% 4320

external_acl_type ads_group ttl=0 concurrency=5 %LOGIN
/usr/sbin/wbinfo_group.pl
acl all src 10.0.0.0/255.0.0.0
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl to_localhost dst 127.0.0.0/8
acl https port 443
acl http_all-user external ads_group Internet-Vollzugriff
acl http-user external ads_group Internet-Http
acl proxy1 src 10.20.1.126
http_access allow proxy1
http_access allow manager localhost
http_access deny manager
http_access allow localhost

http_access allow http_all-user
http_access deny https
http_access allow http-user
http_access deny all

#http_reply_access allow all

#icp_access allow all

cache_mgr support.benutzerservice@mhz.de

cache_effective_user squid

error_directory /usr/share/squid/errors/German

log_fqdn on
httpd_accel_with_proxy off
httpd_accel_uses_host_header off
httpd_accel_single_host off

cache_peer 10.20.1.126 parent 3128 7 proxy-only
Received on Wed Mar 02 2005 - 05:02:55 MST

This archive was generated by hypermail pre-2.1.9 : Fri Apr 01 2005 - 12:00:01 MST