[squid-users] cache_dir not distributed evenly

From: James Zhao <[email protected]>
Date: Thu, 12 Aug 2004 15:03:50 -0400

Hello,

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?

James Zhao
Email: jzhao@cv.net
Received on Thu Aug 12 2004 - 13:01:52 MDT

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