Hello All,
I am running some polymix-4 tests with squid 2.6-S3. Every single test
I have run so far has these warning. Some FAQs and other searches
suggest that this is caused by a corrupted swap.state, and the
solution is to wipe out the cache dirs and rebuild the cache.
Is there a better solution than this, or does anyone know what causes
the swap to get corrupted. It seems odd that it gets corrupted every
single time.
I am asking since most of the tests seems to fail under load close to
the point where these messages start coming. And I dont want to wipe a
cache store in the middle of a test.
Setup
---------------
polymix-4, 800req/s
box
-----
Dual Core AMD Opteron(tm) Processor 270 HE, 16GB RAM, single SATA disk.
squid-version
-------------------
Squid Cache: Version 2.6.STABLE3
configure options: '--prefix=/usr/squid' '--exec-prefix=/usr/squid'
'--sysconfdir=/usr/squid/etc' '--enable-snmp'
'--enable-err-languages=English' '--enable-linux-netfilter'
'--enable-async-io=24' '--enable-storeio=ufs,aufs,null,coss'
'--enable-coss-aio-ops' '--enable-linux-tproxy' '--enable-gnuregex'
'--enable-internal-dns' '--enable-epoll' '--with-maxfd=32768'
'CFLAGS=-g -O2 -pg '
squid.conf
----------------
visible_hostname 10.51.6.102
cache_dir aufs /var/cache/squid 30720 16 256
http_port 8080
request_body_max_size 0
snmp_port 3401
negative_ttl 0 minutes
pid_filename /var/run/squid.pid
coredump_dir /var/log/squid
cache_effective_user squid
cache_effective_group squid
cache_access_log /var/log/squid/access.log
cache_log /var/log/squid/cache.log
cache_store_log none
cache_swap_log /var/log/squid/swap.log
logfile_rotate 10
icp_port 3130
icp_query_timeout 20000
log_icp_queries on
extension_methods SEARCH PROPPATCH
forwarded_for on
acl all src 0.0.0.0/0.0.0.0
acl localhost src 127.0.0.1 10.51.6.102
acl manager proto cache_object
acl snmppublic snmp_community public
http_access allow localhost
miss_access allow all
http_access allow all
snmp_access allow snmppublic all
memory_pools on
cache_mem 1 GB
I also have the gprof profile and the test results. In case you are interested.
Thanks for your time.
-- pranav
------------------------------
http://pd.dnsalias.org
Received on Mon Sep 18 2006 - 11:31:24 MDT
This archive was generated by hypermail pre-2.1.9 : Sun Oct 01 2006 - 12:00:03 MDT