[squid-users] swap.state and swap.state.clean cause squids hagsup

From: kamil kapturkiewicz <horizn@dont-contact.us>
Date: Thu, 21 Apr 2005 20:07:22 +0200

hi

squids creates file named swap.state in cache directory of squid, after
couple of days file growing up to ex. 22MB. after this squid creates
another file: swap.state.clean, and try do something with this file.
result of this is swap.state.clean about 20MB and squid hangup. still
visible in processes, but refuses all requests.

i tried to solve this by disabling logs:

cache_access_log /dev/null
cache_log /dev/null
cache_store_log /dev/null
cache_swap_log /dev/null
logfile_rotate 0 <- or 1 with no results.

but after cache_swap_log /dev/null, squid cant start:
(squid): storeDiskdDirOpenSwapLog: Failed to open swap log.

how can i disable/solve this ?

compiled with:

--prefix=/usr/local/squid/ --enable-storeio=diskd,ufs,aufs
--enable-linux-netfilter
--enable-underscores --enable-removal-policies --enable-cache-digests
--enable-icmp --enable-poll
--enable-htcp --enable-carp --enable-delay-pools --with-pthreads
--enable-internal-dns
--enable-err-language=Polish --enable-ssl
--with-openssl=/usr/local/openssl --with-dl --with-aio --enable-large-files
--enable-useragent-log --enable-http-violations --enable-arp-acl
--enable-referer-log --enable-wccp
--disable-ident-lookups --disable-hostname-checks --enable-async-io=160
--enable-truncate

brgds
Received on Thu Apr 21 2005 - 12:08:18 MDT

This archive was generated by hypermail pre-2.1.9 : Sun May 01 2005 - 12:00:04 MDT