FW: [squid-users] cachemgr.cgi and OS do not agree

From: Stefan Berg <stefan.berg@dont-contact.us>
Date: Wed, 14 Mar 2001 12:11:48 +0100


please ignore the fact that my reposting was reposted more than once. There
must have been some kind of problem with the list migration to


-----Original Message-----
From: Stefan Berg [mailto:stefan.berg@ausys.se]
Sent: den 13 mars 2001 19:02
To: 'squid-users@squid-cache.org'
Subject: [squid-users] cachemgr.cgi and OS do not agree

Sorry for repost - but I had no response to my previous message and I really
could use some help... :


I'm experiencing a discrepancy in disk usage between what cachemgr.cgi
(2.3STABLE4) reports and what my OS (RedHat Linux) reports.

Here is what cachemgr.cgi reports:
        Storage Swap size: 11240894 KB

Looking in my filesystem:
# df -k
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/hda1 608724 68108 509696 12% /
/dev/hda8 17433512 13809956 2737976 83% /cache1
/dev/hda6 806368 701292 64112 92% /usr
/dev/hda7 396623 25848 350294 7% /var

So Squid says "you are using 11,2 GB", and my OS tells me "you are using
13,8 GB". A 2,6 GB diff!

Fact is that I am also storing my squid logs on the same partition (about
285 MB worth) and of course there is the swap.state file (5,6 MB worth).

So the difference is a little less - not 2,6 GB but rather 2,3 GB. But a
MAJOR difference anyway.

How is this possible? Today I deleted my swap.state file to make sure it
wasn't corrupt, and I have also run fsck on the /cache1 partition without
any problems found.

Ideas? Please help me out here...

Received on Wed Mar 14 2001 - 04:12:06 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:58:38 MST