[squid-users] How can do squid automatically detect Origin Server's condition about LIVE or DEAD ?

From: Seonkyu Park <carrot@dont-contact.us>
Date: Thu, 5 Jul 2007 15:43:13 +0900

Hi Squid users.
I am having following problem with squid acting as reverse proxy.

1. Origin Server ===> Cache Server ( Squid ) ===> [Client]

2. Origin Server Dead at AM 04:00

    Origin Server =X=> Cache Server ( Squid ) ===> [Client]

    Log message like this.

2007/07/05 04:32:08| TCP connection to 2.2.2.2/80 failed
2007/07/05 04:32:08| Detected DEAD Parent: 2.2.2.2
2007/07/05 04:32:09| TCP connection to 2.2.2.2/80 failed
2007/07/05 04:32:57| Failed to select source for 'http://www.abc.com/game4225'
2007/07/05 04:32:57| always_direct = 0
2007/07/05 04:32:57| never_direct = 0
2007/07/05 04:32:57| timedout = 0

3. And then Origin Server is revived at AM 05:00

   Origin Server ===> Cache Server ( Squid ) ===>[Client]

   But Client could not connect server. Because squid did not know about Origin Server was live.
   
   Client can connect squid after follow command : 'squid -k reconfigure'

How can do squid automatically detect Origin Server's condition about LIVE or DEAD ?



PS.
Squid version is 2.6. STALBE 12.
Received on Thu Jul 05 2007 - 00:45:27 MDT

This archive was generated by hypermail pre-2.1.9 : Wed Aug 01 2007 - 12:00:03 MDT