Re: [squid-users] cache_dir not distributed evenly

From: Matus UHLAR - fantomas <uhlar@dont-contact.us>
Date: Fri, 13 Aug 2004 11:25:14 +0200

On 12.08 15:03, James Zhao wrote:
> I am running squid-2.3STABLE3 on solaris; the cache_dir is setup like this:
>
> cache_dir ufs /opt/squid-2.3.STABLE3/cache 1000 16 256
>
> But when I am looking at the cache directory, the cached objects are not
> distributed evenly among the subdirectories, almost all of them are under 00
> subdirectory:
>
> # cd /opt/squid-2.3.STABLE3/cache
> # du -sk *
> 961274 00
> 2088 01
> 260 02
> 260 03
> 260 04
> 260 05
> 260 06
> 260 07
> 260 08
> 260 09
> 260 0A
> 260 0B
> 260 0C
> 260 0D
> 260 0E
> 260 0F
> 22768 swap.state
>
> Why is that? What algorithm does squid use to store the cached objects?

probably a big file on 00/ subdir and one in 01/ subdir.

what is maximum_object_size?_

-- 
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.
You have the right to remain silent. Anything you say will be misquoted,
then used against you. 
Received on Fri Aug 13 2004 - 03:25:18 MDT

This archive was generated by hypermail pre-2.1.9 : Wed Sep 01 2004 - 12:00:02 MDT