Search squid archive

RE: Squid Memory always increasing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxx] 
Sent: Saturday, February 26, 2011 4:19 AM
To: squid-users@xxxxxxxxxxxxxxx
Subject: Re:  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



[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux