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, [EMAIL PROTECTED] ; 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.