Search squid archive

Re: rock storage

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

 



On 2/06/2015 5:13 a.m., Hussam Al-Tayeb wrote:
> Hello, I added a 5000MB rock storage entry in squid.conf
> when it filled up, squid cache manager said:
> 	Storage Swap size:	5120000 KB
> 	Storage Swap capacity:	100.0% used,  0.0% free
> 
> but du -BM says 4703M is the size of the rock storage file.
> ls -l says 5242880000.
> 
> Since it is full, shouldn't du -BM reading be closer to 5000M?

Not particularly. Squid is counting the size of data blocks (cells) in
the DB. The FS may have completely different ideas about how much space
that data takes up after physical storage features have processed it.

Particularly if one rock DB cell takes up multiple FS blocks / inodes.
The incompletely filled rock DB cells (204, 304 or very small responses)
may only be using half (or less) the space on disk of filled cells.

4703 M10 is a lot closer than you may think as well. It is 4912 MiB.

Amos

_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users





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

  Powered by Linux