fixunix
Tags Register FAQ Members List Social Groups Calendar Search Today's Posts Mark Forums Read

TCP Connection Failed and Dead Parents. - squid

This is a discussion on TCP Connection Failed and Dead Parents. - squid ; Hi, I have set-up a accel proxy listening on port 80 with cache_peers pointing to different ports on the same box. I am noticing in the logs i am getting lots of: 2008/01/22 16:28:35| TCP connection to 127.0.0.1/80 failed 2008/01/22 ...


Fix Unix > Tools > squid > TCP Connection Failed and Dead Parents.

Reply
 
LinkBack Tools
  #1  
Old 01-22-2008, 04:39 PM
Junior Member
 
Join Date: Sep 2009
Posts: 0
Default TCP Connection Failed and Dead Parents.

Hi,

I have set-up a accel proxy listening on port 80 with cache_peers
pointing to different ports on the same box. I am noticing in the logs
i am getting lots of:

2008/01/22 16:28:35| TCP connection to 127.0.0.1/80 failed
2008/01/22 16:28:36| TCP connection to 127.0.0.1/80 failed
2008/01/22 16:28:37| temporary disabling (Service Unavailable) digest
from 127.0.0.1
2008/01/22 16:29:11| TCP connection to 127.0.0.1/80 failed
2008/01/22 16:29:12| TCP connection to 127.0.0.1/80 failed
2008/01/22 16:29:15| TCP connection to 127.0.0.1/80 failed
2008/01/22 16:29:16| TCP connection to 127.0.0.1/80 failed
2008/01/22 16:29:16| TCP connection to 127.0.0.1/80 failed
2008/01/22 16:29:17| TCP connection to 127.0.0.1/80 failed
2008/01/22 16:29:18| TCP connection to 127.0.0.1/80 failed
2008/01/22 16:29:19| TCP connection to 127.0.0.1/80 failed
2008/01/22 16:29:19| Detected DEAD Parent: 127.0.0.1
2008/01/22 16:29:20| TCP connection to 127.0.0.1/80 failed
2008/01/22 16:29:21| TCP connection to 127.0.0.1/80 failed

although the websites never fall over. The Dead Parent is also never
revived.

My config is:

http_port 192.168.1.187:80 accel defaultsite=www.nortoftyne.nhs.uk
vhost

acl all src 0.0.0.0/0.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 SSL_ports port 443
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 # https
acl Safe_ports port 70 # gopher
acl Safe_ports port 210 # wais
acl Safe_ports port 1025-65535 # unregistered ports
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port 777 # multiling http
acl CONNECT method CONNECT

http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports

acl our_sites dstdomain www.northoftyne.nhs.uk
acl our_sites dstdomain www.northtynesidepct.nhs.uk
acl our_sites dstdomain www.newcastlepct.nhs.uk
acl our_sites dstdomain www.northumberlandcaretrust.nhs.uk
acl our_sites dstdomain www.nnt.nhs.uk
acl our_sites dstdomain physicalactivity.northtynesidepct.nhs.uk
acl our_sites dstdomain www.newcastlecontraception.newcastlepct.nhs.uk
http_access allow all our_sites

http_access deny all

cache_peer 127.0.0.1 parent 80 0 no-query originserver default
cache_peer 127.0.0.1 parent 8080 0 no-query name=notPeer
cache_peer 127.0.0.1 parent 8081 0 no-query name=npctPeer
cache_peer 127.0.0.1 parent 8082 0 no-query name=ntpctPeer
cache_peer 127.0.0.1 parent 8083 0 no-query name=nctPeer
cache_peer 127.0.0.1 parent 8084 0 no-query name=cashPeer
cache_peer 127.0.0.1 parent 8085 0 no-query name=paPeer
cache_peer 127.0.0.1 parent 8086 0 no-query name=nntPeer
#cache_peer 127.0.0.1 parent 81 0 no-query originserver
name=plonePeer

#cache_peer_domain localiisserver localiis
cache_peer_domain notPeer www.northoftyne.nhs.uk
cache_peer_domain npctPeer www.newcastlepct.nhs.uk
cache_peer_domain ntpctPeer www.northtynesidepct.nhs.uk
cache_peer_domain nctPeer www.northumberlandcaretrust.nhs.uk
cache_peer_domain nntPeer www.nnt.nhs.uk
cache_peer_domain paPeer physicalactivity.northtynesidepct.nhs.uk
cache_peer_domain cashPeer www.newcastlecontraception.newcastlepct.nhs.uk
#cache_peer_domain extranetPeer extranet.nnt.nhs.uk

#configure access
cache_peer_access 127.0.0.1 allow our_sites


any help greatly appreciated!

Thanks

Marc
Reply With Quote
Reply

Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Questions for Asperger's Parents unix SUN 0 06-27-2008 12:18 PM
[News] More Parents Quietly Migrated to GNU/Linux unix Linux 2 04-27-2008 02:31 PM
channel 3: open failed: connect failed: Connection refused unix SSH 5 11-29-2007 11:04 PM
Failed to put message to dead queue MQJE001: Reason 2098 unix Websphere 5 10-08-2007 04:31 PM
open failed: connect failed: Connection refused unix SSH 11 10-03-2007 03:16 AM


All times are GMT. The time now is 09:31 PM.