[squid-users] Weird problem with S2.4.S7

From: Vitezslav T. Se'm <travis@dont-contact.us>
Date: Wed, 17 Jul 2002 10:25:09 +0200

Hi.

        Yesterday I made upgrade of backup proxy from S2.2. to S2.4.S7.
Everything worked fine, till upgrade. I made a new conf file and started
squid. Made few hundred requests through squid and found a problem - got
410 StoreEntries/329 Hot Object Cache Items & 21 on-disk objects. Looks
like squid is using memory only to store objects and nothing is going on
disk. When memory for squid fills up, squid starts to throw away older
object. Everything looks normal in cache/access.log - nothing is in
store.log.

some config options:

cache_mem 7 MB
cache_replacement_policy heap GDSF
memory_replacement_policy heap GDSF
cache_dir aufs /usr/local/squid/cache 2775 20 253
debug_options ALL,1
refresh_pattern gif$ 0 50% 131760
refresh_pattern GIF$ 0 50% 131760
refresh_pattern jpg$ 0 50% 131760
refresh_pattern jpeg$ 0 50% 131760
refresh_pattern JPG$ 0 50% 131760
refresh_pattern JPEG$ 0 50% 131760
refresh_pattern . 0 30% 65880
shutdown_lifetime 10 seconds

    Another problem is, that when I want stop squid and kill script
RunCache and use squid -k shutdown - nothing happens. When I use -k
shutdown once more - it says "no running copy." I have to use killall
-TERM squid and then it stops. :-(

Squid was configured with these options:
./configure --prefix=/usr/local/squid --enable-err-language=Czech
--enable-cache-digests --enable-forw-via-db --enable-snmp --disable-wccp
--enable-icmp --enable-removal-policies=heap,lru
--enable-storeio=ufs,aufs --enable-async-io=20
--enable-xmalloc-statistics

Thanks for any help.

Travis

P.S. Can't use more than 256fds on my proxy - it's old 2.0.39 kernel and
I cannot find any FAQ about fds. I recompiled and installed kernel with
NR_OPEN & OPEN_MAX set to 4096, but nothing helped.

--

It's nice to be important, but it's more important to be nice.


Received on Wed Jul 17 2002 - 02:25:12 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:09:17 MST