Does look correct to me as you have told Squid to put up to 4194304
(2048 * 2048) files in each L1 directory.. and as Squid starts with the
first directory first all your files will be in the first L1 directory..
With this setting all directories from 00/100 to 1F/7FF will not even
have a theoretical chance of being used.
Generally the default L2 parameter of 256 is recommended for all setups
unless you have very specific reasons to change it (I usually use
smaller values in testing with a very small cache, but 256 for larger
caches >200MB). With a L2 parameter of 256 the default L1 parameter of
16 is good up to about 7GB of cache IIRC.
Regards
Henrik
m�n 2003-03-24 klockan 18.47 skrev Leon:
> Hi there!
>
> I spotted something rather odd with my squid today. Using the config line
>
> cache_dir aufs /usr/local/squid/cache 2048 32 2048
>
> with squid-2.5.STABLE1-20030309, my cache directory looks like
>
> [17:45:43 /usr/local/squid/cache]# du -sh *
> 2.0G 00
> 1.1M 01
> 1.1M 02
> 1.1M 03
> 1.1M 04
> 1.1M 05
> 1.1M 06
> 1.1M 07
> 1.1M 08
> 1.1M 09
> 1.1M 0A
> 1.1M 0B
> 1.1M 0C
> 1.1M 0D
> 1.1M 0E
> 1.1M 0F
> 1.1M 10
> 1.1M 11
> 1.1M 12
> 1.1M 13
> 1.1M 14
> 1.1M 15
> 1.1M 16
> 1.1M 17
> 1.1M 18
> 1.1M 19
> 1.1M 1A
> 1.1M 1B
> 1.1M 1C
> 1.1M 1D
> 1.1M 1E
> 1.1M 1F
> 131M store.log
> 15M swap.state
>
>
>
> Surely this isn't the right behaviour! Has anybody got any ideas why this
> has happened?
>
>
>
> Cheers, Leon
-- Henrik Nordstrom <hno@squid-cache.org> MARA Systems AB, SwedenReceived on Mon Mar 24 2003 - 12:45:07 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:14:19 MST