FW: why Squid 2 overruns cache size ?

From: ADELINE E InfoEmiAsp <[email protected]>
Date: 10 Nov 1998 08:22:00 +0100

I have similar problems, too.
Our configuration: Squid 2.0p2, Solaris 2.5.1, 4 GB disks.

Cache size keeps growing beyond the limits defined in squid.conf (although
sometimes, disk usage drops off).
We tried with "low" limits (<<100 MB); and we can see Squid using between 120%
 and 200% of the defined limit.
Eventually, the Squid stops with the following message:

FATAL: file_map_allocate: Exceeded filemap limit

--
Emmanuel Adeline               +33 1 421 48306 
-----Original Message-----
From: Charles Dale [mailto:chuckd@sydney.net] 
Sent: Monday, November 09, 1998 2:41 AM
To: squid-users@ircache.net
Subject: Re: why Squid 2 overruns cache size? 
I'm seeing a similar problem, not sure if it's related.
Basically, as the cache fills up the disk usage increases, but I see
strange results from a df -k, where the total disk space is reported as
6400megs with 5400meg used, but there are only 200megs available. Squid
eventually reaches the limit and resizes the swap size down a few
hundred megs and things return to normal. Setting the disk size lower I
can see the disk usage (as reported by df) fill up to near 95% and then
drop off significantly, before Squid reaches 90% and starts LRU. The
usage appears to stabilise after the cache has been full for a few days,
then I can increase the cache_dir size.
Any ideas?
Chuck
Gary White wrote:
> 
> Hi-
> Upon changing from Squid 1.NOVM to Squid 2.0 PATCH 2, my
> Squid installation ignores the size specification in squid.conf
> which I had as
> cache_dir /cache 3500 16 256
> as I was hoping to have 3.5 GB or so be my cache size.  (This is
> on Solaris 2.5.1, with a 4 GB disk.  All this worked fine with the 
previous
> version.  But, even though unlinkd seemed to be occasionally
> deleting files, the total usage just kept going until the disk filled.
> Changing from 3500 to 2500 didn't matter.
> 
> Any suggestions on what I might have done wrong, or what
> to check?  No doubt I've done something dumb  somewhere.
> 
> Thanks!!
> -Gary
> 
> __________________________________________________________________
> Gary White               ARCO Exploration & Production Technology
> gwhite@arco.com          2300 W Plano Parkway
> (972) 509-6554           Plano, Texas 75075
Received on Tue Nov 10 1998 - 01:01:37 MST

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