I didn't set the maximum_object_size, so it should be the default 4096kb, I
have store_avg_object_size set to 2 KB.
I checked into each directory, it's not like just one big file, almost all
subdirectories of the "00" has files in them and the size are small (several
hundred bytes to several kb), I have 7 squid servers and they all have the
same situation.
James Zhao
Email: jzhao@cv.net
-----Original Message-----
From: Matus UHLAR - fantomas [mailto:uhlar@fantomas.sk]
Sent: Friday, August 13, 2004 5:25 AM
To: squid-users@squid-cache.org
Subject: Re: [squid-users] cache_dir not distributed evenly
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 - 08:12:50 MDT
This archive was generated by hypermail pre-2.1.9 : Wed Sep 01 2004 - 12:00:02 MDT