Hello,
I'm running two frontends instances on ports 3128 and 3129, and two
backend instances on ports 4001 and 4002 on the same box, and
loadbalancing between parents using carp.
cache_peer localhost parent 4001 0 carp name=backend-1
cache_peer localhost parent 4002 0 carp name=backend-2
squid -v
Squid Cache: Version 3.1.15
configure options: '--enable-async-io' '--enable-linux-netfilter'
'--enable-storeio=ufs,aufs' '--exec-prefix=/usr' '--bindir=/usr/sbin'
'--libexecdir=/usr/lib/squid' '--enable-carp' '--enable-cache-digests'
'--enable-removal-policies=lru,heap' --with-squid=/opt/squid-3.1.15
--enable-ltdl-convenience
After successfully starting all instances I see on the frontends
cache.log:
2011/10/07 16:10:56| TCP connection to localhost/4001 failed
2011/10/07 16:10:56| TCP connection to localhost/4002 failed
2011/10/07 16:10:57| TCP connection to localhost/4001 failed
2011/10/07 16:10:57| TCP connection to localhost/4002 failed
2011/10/07 16:10:57| Detected DEAD Parent: backend-2
2011/10/07 16:10:58| TCP connection to localhost/4001 failed
2011/10/07 16:10:58| Detected DEAD Parent: backend-1
2011/10/07 16:11:19| temporary disabling (Service Unavailable) digest
from localhost
2011/10/07 16:20:16| TCP connection to localhost/4002 failed
2011/10/07 16:25:20| temporary disabling (Service Unavailable) digest
from localhost
Because only backends are caching, not connecting to then all traffic
from frontends is forwarded to the origin servers, making the storages
useless.
Any suggestion will be appreciated!
Br
Artemis
Received on Fri Oct 07 2011 - 14:51:54 MDT
This archive was generated by hypermail 2.2.0 : Sat Oct 08 2011 - 12:00:02 MDT