[squid-users] Trying the SmpCarpCluster example

TarotApprentice tarotapprentice at yahoo.com
Tue Jul 7 11:14:39 UTC 2015


I've setup a test machine with Debian Jessie and got squid from the repo (3.4.8). I'm trying the SmpCarpCluster example given in the wiki. Unfortunately its not working too well.

I've used the 3 conf files shown in the example, adjusted memory sizes and the directories. I had to add "http_access allow localnet" to frontend.conf just after the manager lines. I am getting the following errors. I'm not too sure what to look for now or maybe its a bug in the 3.4.8 version.

It looks like its started up 5 kids, one coordinator, one disker, one frontend  and two workers. I am also wondering why its creating missing swap directories when I did a "squid3 -z" before starting it up.

MarkJ

---------------------------------------------------------

frontend.cache.log
2015/07/07 20:44:12 kid1| TCP connection to localhost/4002 failed
2015/07/07 20:44:12 kid1| TCP connection to localhost/4002 failed
2015/07/07 20:44:12 kid1| Detected DEAD Parent: backend-kid2
2015/07/07 20:44:12 kid1| TCP connection to localhost/4003 failed
2015/07/07 20:44:12 kid1| TCP connection to localhost/4003 failed
2015/07/07 20:44:12 kid1| TCP connection to localhost/4003 failed
2015/07/07 20:44:12 kid1| TCP connection to localhost/4003 failed
2015/07/07 20:44:12 kid1| Detected DEAD Parent: backend-kid3
2015/07/07 20:44:12 kid1| TCP connection to localhost/4003 failed
2015/07/07 20:44:12 kid1| TCP connection to localhost/4003 failed
2015/07/07 20:44:12 kid1| TCP connection to localhost/4003 failed


backend.cache.log
2015/07/07 20:43:52 kid2| Creating missing swap directories
2015/07/07 20:43:52 kid2| /var/squid3/cache2 exists
2015/07/07 20:43:52 kid2| /var/squid3/cache2/00 exists
...
2015/07/07 20:43:52 kid4| Creating missing swap directories
2015/07/07 20:43:52 kid4| Skipping existing Rock db: /var/squid3/cacheRock/rock
2015/07/07 20:43:52 kid5| Creating missing swap directories
...
2015/07/07 20:43:53 kid4| Starting Squid Cache version 3.4.8 for i586-pc-linux-gnu...
2015/07/07 20:43:53 kid4| Process ID 1063
2015/07/07 20:43:53 kid4| Process Roles: disker
...
2015/07/07 20:43:53 kid3| Starting Squid Cache version 3.4.8 for i586-pc-linux-gnu...
2015/07/07 20:43:53 kid3| Process ID 1064
2015/07/07 20:43:53 kid3| Process Roles: worker
...
2015/07/07 20:43:53 kid5| Starting Squid Cache version 3.4.8 for i586-pc-linux-gnu...
2015/07/07 20:43:53 kid5| Process ID 1062
2015/07/07 20:43:53 kid5| Process Roles: coordinator
...
2015/07/07 20:43:53 kid2| Starting Squid Cache version 3.4.8 for i586-pc-linux-gnu...
2015/07/07 20:43:53 kid2| Process ID 1065
2015/07/07 20:43:53 kid2| Process Roles: worker



Squid3 -v reports
Squid Cache: Version 3.4.8
 linux
configure options:  '--build=i586-linux-gnu' '--prefix=/usr' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--sysconfdir=/etc' '--localstatedir=/var' '--libexecdir=${prefix}/lib/squid3' '--srcdir=.' '--disable-maintainer-mode' '--disable-dependency-tracking' '--disable-silent-rules' '--datadir=/usr/share/squid3' '--sysconfdir=/etc/squid3' '--mandir=/usr/share/man' '--enable-inline' '--disable-arch-native' '--enable-async-io=8' '--enable-storeio=ufs,aufs,diskd,rock' '--enable-removal-policies=lru,heap' '--enable-delay-pools' '--enable-cache-digests' '--enable-icap-client' '--enable-follow-x-forwarded-for' '--enable-auth-basic=DB,fake,getpwnam,LDAP,MSNT,MSNT-multi-domain,NCSA,NIS,PAM,POP3,RADIUS,SASL,SMB' '--enable-auth-digest=file,LDAP' '--enable-auth-negotiate=kerberos,wrapper' '--enable-auth-ntlm=fake,smb_lm' '--enable-external-acl-helpers=file_userip,kerberos_ldap_group,LDAP_group,session,SQL_session,unix_group,wbinfo_group' '--enable-url-rewrite-helpers=fake' '--enable-eui' '--enable-esi' '--enable-icmp' '--enable-zph-qos' '--enable-ecap' '--disable-translation' '--with-swapdir=/var/spool/squid3' '--with-logdir=/var/log/squid3' '--with-pidfile=/var/run/squid3.pid' '--with-filedescriptors=65536' '--with-large-files' '--with-default-user=proxy' '--enable-build-info= linux' '--enable-linux-netfilter' 'build_alias=i586-linux-gnu' 'CFLAGS=-g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -Wall' 'LDFLAGS=-fPIE -pie -Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-D_FORTIFY_SOURCE=2' 'CXXFLAGS=-g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security'


More information about the squid-users mailing list