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

From: Duane Wessels <wessels@dont-contact.us>
Date: Fri, 19 Jul 2002 11:00:11 -0600 (MDT)

On Fri, 19 Jul 2002, Vitezslav T. Se'm wrote:

> Hi.
>
> Sorry. I'm posting again, because nobody responded. I made
> upgrade of backup proxy from S2.2.S5 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

My first guess is that something is wrong with the "aufs" (async
IO) part of your Squid. Maybe its because of your old kernel. I
suggest changing it to 'ufs' and try again.

My second suggestion is to remove the two replacement policy options,
just to eliminate them as a possibility.

Duane W.
Received on Fri Jul 19 2002 - 11:00:11 MDT

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