[squid-users] cache dir keeps growing

From: Martin Chandler <chand@dont-contact.us>
Date: Thu, 11 Oct 2001 18:56:32 +0900

I have just switched over my squid proxy from a FreeBSD server to Linux 2.4.7
squid 2.3.STABLE5, and what had worked before does no more. My cache just
keeps growning.

from squid.conf:
cache_dir ufs /squid 1024 16 256

[root@proxy]# df
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/sda6 241116 82260 146408 36% /
/dev/sda5 93309 7299 81193 8% /boot
/dev/sda10 1027768 44 975516 0% /home
/dev/sda11 11653788 2950000 8111796 27% /squid
/dev/sda8 3020140 374172 2492552 13% /usr
/dev/sda9 1027768 351920 623640 36% /var

I am currently using the GDSF replacement policy. The cachemgr storedir
section looks like this,

Store Directory Statistics:
Store Entries : 110807
Maximum Swap Size : 1048576 KB
Current Store Swap Size: 943021 KB
Current Capacity : 90% used, 10% free

Store Directory #0: /squid
First level subdirectories: 16
Second level subdirectories: 256
Maximum Size: 1048576 KB
Current Size: 943021 KB
Percent Used: 89.93%
Filemap bits in use: 110477 of 262144 (42%)
Filesystem Space in use: 2947264/11653788 KB (25%)
Filesystem Inodes in use: 242820/1482208 (16%)
Flags:

so evidently it thinks it is within bounds. What am I missing?

Thanks,
Martin
Received on Thu Oct 11 2001 - 03:52:00 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:02:41 MST