Squid2.0P2 loops cache_peer*/CARP support

From: Andreas Jung <ajung@dont-contact.us>
Date: Mon, 12 Oct 1998 07:57:43 +0200 (MET DST)

The following bug in Squid 2.0Patch2/Solaris2.5.1:

With the following two lines Squid loops during the startup phase
trying to configure the sibling host multiple time

cache_peer www-cache.xlink.net sibling 3128 3130
cache_peer_domain www-cache.xlink.net .com .net

Squid outputs the following debugging code:

    12 cacheClientIcpRequests ::= { cacheClientEntry 6 } (1)
     13 cacheClientHTTPHitKb ::= { cacheClientEntry 5 } (1)
     14 cacheClientHttpHits ::= { cacheClientEntry 4 } (1)
     15 cacheClientHttpKb ::= { cacheClientEntry 3 } (1)
     16 cacheClientHttpRequests ::= { cacheClientEntry 2 } (1)
     17 cacheClientAddr ::= { cacheClientEntry 1 } (8)
     18 cachePeerEntry ::= { cachePeerTable 1 } (1)
     19 private ::= { intenet 4 } (0)
     20 cacheUptime ::= { cacheSystem 3 } (1)
     21 cacheSysStorage ::= { cacheSystem 2 } (1)
     22 cacheSysVMsize ::= { cacheSystem 1 } (1)
     23 enterprises ::= { private 1 } (0)
     24 carp.c:100: failed assertion `tp->type == PEER_PARENT'

Maybe this will help to solve the problem. After removing the
two lines the restarting Squid everything works fine.

Cheers
Andreas

                                _\\|//_
                               (' O-O ')
------------------------------ooO-(_)-Ooo--------------------------------------
   Andreas Jung, Saarbrücker Zeitung Verlag und Druckerei GmbH
   Saarbrücker Daten-Innovations-Center
   Gutenbergstr. 11-23, D-66103 Saarbrücken, Germany
   Phone: +49-(0)681-502-1528, Fax: +49-(0)681-502-1509
   Email: ajung@sz-sb.de (PGP key available)
-------------------------------------------------------------------------------
Received on Sun Oct 11 1998 - 22:58:50 MDT

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