Search squid archive

Re: squid cache_dir not getting objects

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 13 Dec 2011 22:58:00 +0530, Benjamin wrote:
Hi,

I configured 4 cache_dir in squid.conf

cache_dir aufs /c1 75776 64 512
cache_dir aufs /c2 102400 64 512
cache_dir aufs /c3 102400 64 512
cache_dir aufs /c4 102400 64 512

But when i check df -kh on server, i got

/dev/sda4              99G  189M   94G   1% /c1
/dev/sdb1             135G   17G  112G  13% /c2
/dev/sdc1             135G   17G  112G  13% /c3
/dev/sdd1             135G   17G  112G  13% /c4

It is showing that /c1 is not taking objects on disk and other
directories are having objects on disk.What could be the reason of it?

Squid spreads the object "load" (measured in object byte sizes) based on free space in each cache directory. When your other cache_dirs fill up so all have less than 75,776 MB free the smaller directory will start to fill as well.

There is an open feature request bug to make Squid measure the dir load in other ways (ie % filled). Patches welcome.

Amos



[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux