Re: [squid-users] Re: disk cache not used

From: Matus UHLAR - fantomas <uhlar@dont-contact.us>
Date: Wed, 6 Sep 2006 21:38:48 +0200

On 05.09.06 08:58, Mark Gibson wrote:
> >>I've got 2 cache_dirs set up, and squid doesn't seem to want to use
> >>them. Squid is Releasing objects before it should, which leads me to
> >>believe that it thinks it has no more space to store objects. This
> >>setup worked fine while it was just me testing, but isn't working with
> >>lots of users hitting it.

> Here's my config. This configuration seems to work ok, but I'd like
> squid to hold onto objects until they become stale, and squid is still
> Releasing objects prematurely. I have enough memory and disk space, is
> there a way to force squid not to Release this objects?

> cache_mem 1024 MB
> maximum_object_size 64 KB

huh? what do you have disk cache for then, if you only want to save objects
up to 64 KB?

> maximum_object_size_in_memory 4096 KB

and why do you save up to 4MB objects in the memory?

> cache_dir aufs /var/spool/squid 9900 64 256

where's the second cache_dir you've mentioned?

what's usage of /var/spool/squid now?

-- 
Matus UHLAR - fantomas, uhlar@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
How does cat play with mouse? cat /dev/mouse
Received on Wed Sep 06 2006 - 13:38:51 MDT

This archive was generated by hypermail pre-2.1.9 : Sun Oct 01 2006 - 12:00:03 MDT