Search squid archive

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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux