[squid-users] Squid Memory Problems

Rahat Ali Khan rahat.khan at pribno.com
Wed Jan 11 13:20:54 UTC 2017


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/antivirus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20170111/fb7e0586/attachment-0001.html>


More information about the squid-users mailing list