[squid-users] Squid Memory Problems

Eliezer Croitoru eliezer at ngtech.co.il
Wed Jan 11 13:53:59 UTC 2017


There was a report about an issue and the claim was Ubuntu Kernel issue.
I believe that the first step would be to find out if a kernel downgrade or upgrade (to xenial one) helps with the issue.

Eliezer

----
http://ngtech.co.il/lmgtfy/
Linux System Administrator
Mobile: +972-5-28704261
Email: eliezer at ngtech.co.il


From: squid-users [mailto:squid-users-bounces at lists.squid-cache.org] On Behalf Of Rahat Ali Khan
Sent: Wednesday, January 11, 2017 3:21 PM
To: squid-users at lists.squid-cache.org
Subject: [squid-users] Squid Memory Problems

Hi there,
We are using Squid 3.5.14 on Ubuntu 14.04 LTS.  The squid is using 4 worker process and is used as an explicit and intercept proxy.
We have been facing a problem of squid processes consuming the memory gradually and eventually it comes to a minimum threshold. The end user browsing experience becomes extremely slow at that time. Cache memory configured is 2 GB and total memory of squid machines is 8 and 16 GB on different boxes. The memory consumption graphs shows a gradual decrease in available physical RAM  and we have to ultimately restart the squid boxed after 3-4 days.
The stats we get from cachemgr show:
Cache information for squid:
        Hits as % of all requests:      5min: 1.7%, 60min: 2.2%
        Hits as % of bytes sent:        5min: 0.2%, 60min: 0.1%
        Memory hits as % of hit requests:       5min: 91.7%, 60min: 82.8%
        Disk hits as % of hit requests: 5min: 0.0%, 60min: 0.0%
        Storage Swap size:      0 KB
        Storage Swap capacity:   0.0% used,  0.0% free
        Storage Mem size:       2097056 KB
        Storage Mem capacity:   100.0% used,  0.0% free
        Mean Object Size:       0.00 KB

We are suspecting memory leaks to be the cause of this. Please share you experiences .
Thanks
Rahat
 

________________________________________

This email has been checked for viruses by Avast antivirus software. 
https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient 




More information about the squid-users mailing list