Mohammed Hamed wrote:
> I would like to know how Squid distributes load on both dirs, logic
> makes it important to fill the one with more hard disk space faster
> than the other and still keeps the total size of both dirs less than
> cache_swap.
Squid 1.1.X cant do this. It expects each cache_dir to be of equal size
and usage. See the FAQ.
Squid 2 handles each cache_dir separately, and tries to balance the load
between them based on which directory that has most free space and some
other factors.
> recently i have read that i can limit the space for each dir in the
> cache_dir tag, but i'm not sure if it works with 1.1.21 cuz it isn't
> mentioned in the sample squid.conf
It's a Squid 2 feature. Having multiple cache directories in 1.X is a
pain.
--- Henrik Nordstrom Spare time Squid hackerReceived on Tue Oct 27 1998 - 04:19:55 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:42:49 MST