[squid-users] Squid memory consumption problem

Alex Rousskov rousskov at measurement-factory.com
Tue Jun 9 20:33:01 UTC 2020


On 6/5/20 2:38 PM, DIXIT Ankit wrote:

> We are facing memory issues on Squid proxy. We have squid proxy server
> running on AWS Cloud(Amazon Linux 2). Server is having total 8 GB RAM
> and 100 GB hard disk.
> 
> The problem is that squid is eating all of system memory and not freeing
> up the objects. Server memory lasts for maximum 15 days and after that
> squid process start crashing. Please suggest.

I would start by making sure that you are not suffering from Squid bug
#4005: https://bugs.squid-cache.org/show_bug.cgi?id=4005

After that, if you are sure that there is a memory leak, then I suggest
upgrading to v4 (or v5) as the next step. IMHO, it is unlikely that
somebody would volunteer to triage a v3.5 memory leak these days.


HTH,

Alex.


> [root at eaa-lpx-003-p ~]# squid -version
> 
> Squid Cache: Version 3.5.27-20180318-r1330042
> 
> Service Name: squid
> 
> This binary uses OpenSSL 1.0.2k-fipsĀ  26 Jan 2017.



More information about the squid-users mailing list