Re: [squid-users] Squid getting too big?

From: Mike Diggins <diggins@dont-contact.us>
Date: Mon, 6 Aug 2001 15:28:06 -0400 (EDT)

On 6 Aug 2001, Florin Andrei wrote:

> On 03 Aug 2001 08:56:05 -0400, Mike Diggins wrote:
> >
> > I'm concerned about how quickly Squid is growing in size. The cache has
> > been up for only a few weeks. Up until yesterday it was growing slowly and
> > was up to 230 MB, last night it was at 440 MB and this morning it's at 514
> > MB according to TOP.
> >
> > The platform is Solaris 8 running on a Sun Ultra 10 with 1 GB RAM and two
> > 16 GB cache dirs (separate disks). The cache is still only 40% full.
> > Should I be concerned?
>
> You're using squid-2.4, right?

Yes, 2.4Stable1.

> I have the same problems with it, on Irix-6.5. The main process grows up
> to 1.2...1.8 GB, then crashes, apparently from various reasons, but i
> suspect the only thing behind those crashes is insufficient memory
> (obvious, right?).
> According to my estimations, the process size should be only 250...300
> MB on my system. But, as you see, it goes up to six times bigger.

Wow, 1.8 GB is big! Do you have Cache Manager running? When Squid gets
this big, check the Memory Utilisation menu item. Under Allocated (KB) at
the bottom (totals), is the value close to what TOP shows?

I wonder, if there is a memory leak, would these two values become further
and further apart? In other words, does Squid know it has gotten that big
or not?

I'm pretty new to this so I don't know what to expect from Squid as far as
memory utilisation goes. Mine hasn't grown out of control yet so perhaps
I'm jumping the gun. I got nervous when I saw it suddenly jump from 220 M
to 500M in one day! Before that it took about 2 weeks to climb to 220 M.

I made some other changes to my config today including upgrading to the
latest tar ball and running the dlmalloc option. We'll see what that
does.

-Mike
Received on Mon Aug 06 2001 - 13:28:15 MDT

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