[squid-users] Squid Memory Problems

Rahat Ali Khan rahat.khan at pribno.com
Thu Jan 12 13:19:00 UTC 2017


Hi

Thanks guys for replies.

@Matus UHLA,

Yes the mem cache is shared among the 4 squid worker processes.

Rahat


On 11-Jan-17 7:33 PM, squid-users-request at lists.squid-cache.org wrote:
> Send squid-users mailing list submissions to
> 	squid-users at lists.squid-cache.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> 	http://lists.squid-cache.org/listinfo/squid-users
> or, via email, send a message with subject or body 'help' to
> 	squid-users-request at lists.squid-cache.org
>
> You can reach the person managing the list at
> 	squid-users-owner at lists.squid-cache.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of squid-users digest..."
>
>
> Today's Topics:
>
>     1. Re: Squid Memory Problems (Eliezer  Croitoru)
>     2. Re: Squid Memory Problems (Matus UHLAR - fantomas)
>     3. Re: ERR_CANNOT_FORWARD with Squid + Privoxy (Amos Jeffries)
>     4. Re: SSL_bump and source IP (Amos Jeffries)
>     5. Re: squid-users Digest, Vol 29, Issue 21 (Vidyadhish Joshi)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 11 Jan 2017 15:53:59 +0200
> From: "Eliezer  Croitoru" <eliezer at ngtech.co.il>
> To: "'Rahat Ali Khan'" <rahat.khan at pribno.com>,
> 	<squid-users at lists.squid-cache.org>
> Subject: Re: [squid-users] Squid Memory Problems
> Message-ID: <043001d26c12$2902dbb0$7b089310$@ngtech.co.il>
> Content-Type: text/plain;	charset="utf-8"
>
> 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
>
>
>
>
> ------------------------------
>
> Message: 2
> Date: Wed, 11 Jan 2017 15:08:13 +0100
> From: Matus UHLAR - fantomas <uhlar at fantomas.sk>
> To: squid-users at lists.squid-cache.org
> Subject: Re: [squid-users] Squid Memory Problems
> Message-ID: <20170111140813.GB19926 at fantomas.sk>
> Content-Type: text/plain; charset=us-ascii; format=flowed
>
> On 11.01.17 18:20, Rahat Ali Khan wrote:
>> 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.
> I would like to note that squid does not use memory only for cache, but for
> many different uses.
>
> do you use shared memory cache?
>


---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus



More information about the squid-users mailing list