Re: [squid-users] cache_dir size not been restrained

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Wed, 7 Apr 2004 00:05:47 +0200 (CEST)

On Wed, 7 Apr 2004, babar haq wrote:

> I have had this problem before. I have run fsck on the /cache as well
> after unmounting it. I have fixed the cache to 5000 mb but it still goes
> up to 6.2G. I am using squid 2.5 Stable 3 on rh 7.3 with kernel
> 2.4.20-20.7smp.

Odd.. no explanation.

> My cache.log doesent show any weird stuff except msg
> like these:

> -----------------------------------------------------------------------------------------
> 2004/04/06 17:03:11| clientReadRequest: FD 33 Invalid Request
> 2004/04/06 20:53:05| sslReadServer: FD 31: read failure: (104) Connection reset by peer

Normal.

> -----------------------------------------------------------------------------------------
> restarting squid show this:
> -----------------------------------------------------------------------------------------
> 2004/04/07 00:58:31| Restarting Squid Cache (version 2.5.STABLE3)...
> 2004/04/07 00:58:31| FD 10 Closing HTTP connection
> 2004/04/07 00:58:31| FD 11 Closing ICP connection
> 2004/04/07 00:58:31| Cache dir '/cache1' size remains unchanged at 5120000 KB
> 2004/04/07 00:58:31| aclParseIpData: WARNING: Netmask masks away part of the specified IP in '10.0
> .0.10-10.0.255.255/255.255.0.0'

Your IP address specification is not entirely correct.. you do not want a
netmask on IP ranges. netmasks is used for specifying whole networks.

   10.0.0.10-10.0.255.255/255.255.0.0

is due to the netmask equivalent to either of the following

   10.0.0.0/16
   10.0.0.0/255.255.0.0
   10.0.0.0-10.0.255.255

and this is what the warning in cache.log is about as this is probably not
what you intended.

Regards
Henrik
Received on Tue Apr 06 2004 - 16:05:49 MDT

This archive was generated by hypermail pre-2.1.9 : Fri Apr 30 2004 - 12:00:01 MDT