Re: parent weighting

From: Robert Dahlem <Robert.Dahlem@dont-contact.us>
Date: Fri, 18 Dec 1998 16:57:42 +0100

Richard,

On Fri, 18 Dec 1998 15:20:23 +0000, rstagg@csc.com wrote:

>I tried it, and I got ERR_CANNOT_FORWARD pages rather than Connection
>Refused messages.

Ok, I got it to work fine now: I've been to impatient!

After having a look into the source I found in defines.h:

        /*
         * This many TCP connections must FAIL before we mark the
         * peer as DEAD
         */
        #define PEER_TCP_MAGIC_COUNT 10

So what is needed: You must do PEER_TCP_MAGIC_COUNT tries to connect via the dead parent.
After this number of tries squid marks this parent as Down and uses the peer with the
next less weight.

Thank you for your pointers!

Hasta la vista,
               Robert
Received on Fri Dec 18 1998 - 09:03:29 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:43:41 MST