RE: [squid-users] Squid Memory always increasing

From: Saurabh Agarwal <Saurabh.Agarwal_at_citrix.com>
Date: Sat, 26 Feb 2011 08:36:07 +0530

Thanks Amos! One more question.

When there is no load on Squid after a period of heavy load will Squid memory footprint won't go down? I think it should. Are there some ways other than "memory_pools off" config to make Squid free the earlier malloc'ed memory.

Regards,
Saurabh

-----Original Message-----
From: Amos Jeffries [mailto:squid3_at_treenet.co.nz]
Sent: Saturday, February 26, 2011 4:19 AM
To: squid-users_at_squid-cache.org
Subject: Re: [squid-users] Squid Memory always increasing

On 26/02/11 02:06, Saurabh Agarwal wrote:
> Hi All
>
> I am using Squid-2.7.Stable7 and downloading 150 different cacheable files in a loop. i.e. each file is again being downloaded once its downloading finishes using a script. I see that Squid physical memory usage i.e. RSS as reported by the "top" command always increases. Even if I close the script which is downloading the files in a loop the Squid memory usage doesn't come down.
>
> I have tried both memory_pools on and off settings. But no luck there.
>
> Are there some known memory leaks in Squid-2.7-Stable7? Can someone suggest something regarding this?
>
> Regards,
> Saurabh
>

Yes there is a known leak. Maybe this will help:
http://www.squid-cache.org/Versions/v2/2.7/changesets/12697.patch

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE9 or 3.1.11
   Beta testers wanted for 3.2.0.5
Received on Sat Feb 26 2011 - 03:06:33 MST

This archive was generated by hypermail 2.2.0 : Sun Feb 27 2011 - 12:00:03 MST