fre 2003-04-04 klockan 19.54 skrev Pat Lendon:

> I have some disk that could be used for cache.  
> /dev/sdb1 17488652    7408048     9192212    45%    /d1
> 
> System has 1gig of memory.   Number of proxy users usually averages 
> between 250 to 300.

Then there is no reason not to increase the cache, is it?

> Generally, is it best to use as much disk for cache as possible?

Depends on how much memory you can afford.. see the Squid FAQ chapter on
memory usage. But as you have plenty of memory this should not be a
problem..

But it should be noted that having much more than about 1 weeks worth of
cacheable traffic in cache is most likely a waste of resources. The hit
ratio of objects much older than that is close to nil.

> Looking at cache dirs, only first four dirs of the the 16 are filled.
> Why aren't all 16 dirs being used?   Is current 2 gig allocated to cache 
> not enough to fill all 16 dirs?

Because your cache is not large enough to fill all 16. Squid uses as
many L2 directories as it needs for the cache size, and as many L1
directories as it needs to fit the needed L2 directories..

Regards
Henrik


-- 
Free Squid-users support provided by Henrik Nordstr�m <[EMAIL PROTECTED]>
PayPal donations welcome if you consider my Free Squid support helpful.
https://www.paypal.com/xclick/business=hno%40squid-cache.org&cn=Comment

If you need commercial Squid support or cost effective Squid and
firewall appliances please refer to MARA Systems AB, Sweden
http://www.marasystems.com/, [EMAIL PROTECTED]

Reply via email to