Re: [squid-users] Squid Memory usage on Fedora Core 3

From: Daniel H. Latshaw <[email protected]>
Date: Thu, 13 Oct 2005 10:30:34 -0400

On Thu, 2005-10-13 at 00:06 +0200, Henrik Nordstrom wrote:
> On Wed, 12 Oct 2005, Daniel Latshaw wrote:
>
> > When i start squid, there is a process owned by root that is using 376mb
> > ram. there is also a process owned by squid starting at 377mb ram and
> > growing to 723mb ram and beyond.
>
> Do you have any very large ACLs defined?

Yes, that is exactly what the problem is. I was using the
sa-blacklist-current-domains list. the list itself is only ~2mb or so.

> > Memory usage for squid via mallinfo():
> > Total in use: 969957 KB 100%
> > Memory accounted for:
> > Total accounted: 7415 KB
>
> This does not look good...
>
It is down to using about 8mb now.
>
> Which exact Squid version is this?
>
i was using the 2.5.stable6 that comes with fedora core 3. i have since
removed that and am using 2.5.stable11 from fedora's site.

when i reinstalled to the newer version i added on item at a time from
my old squid.conf and restarted squid to see where my problem was. i
don't believe it was in the 2.5.6 version, it was my acl. as i added
that acl back in, my memory usage jumped back to the 1GB mark.

Any idea why that particular acl would do that?

Thanks!

dan

> Regards
> Henrik
>
Received on Thu Oct 13 2005 - 06:30:32 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Nov 01 2005 - 12:00:04 MST