Re: [squid-users] Squid memory leak on ubuntu 14.04

2017-01-10 Thread Yuri Voinov
10.01.2017 19:34, vinay пишет: > Thanks Amos , for your timely help. > > As mentioned by you, I have configured squid conf file n able to get TCP_HIT > in access logs. Thanks a lot. > My new issue is, my app has 3 types of users. Normal, Editor n Business user > , The contents are getting

Re: [squid-users] Squid memory leak on ubuntu 14.04

2017-01-10 Thread vinay
Thanks Amos , for your timely help. As mentioned by you, I have configured squid conf file n able to get TCP_HIT in access logs. Thanks a lot. My new issue is, my app has 3 types of users. Normal, Editor n Business user , The contents are getting catched for Normal user n getting TCP_HIT for

Re: [squid-users] Squid memory leak on ubuntu 14.04

2017-01-09 Thread Amos Jeffries
On 10/01/2017 4:56 a.m., vinay wrote: > Thanks Amos, > > I installed Squid 3.5.19 successfully on Ubuntu 14.04. The access log is Okay. Now its time to upgrade to 3.5.23. > getting updated with TCP_MISS/200 for every request. Same time Cache log is > not getting updated. > I have default squid

Re: [squid-users] Squid memory leak on ubuntu 14.04

2017-01-09 Thread vinay
Thanks Amos, I installed Squid 3.5.19 successfully on Ubuntu 14.04. The access log is getting updated with TCP_MISS/200 for every request. Same time Cache log is not getting updated. I have default squid configuration. Please let me know anything need to be changed to Cache the contents to get

Re: [squid-users] Squid memory leak on ubuntu 14.04

2017-01-07 Thread Amos Jeffries
On 2017-01-07 17:33, Eliezer Croitoru wrote: I will try to build a binary package for 12.04 and 14.04 of 3.5.23. Please do that by taking the official source .deb package and just re-building it (and libecap3 package) for the older systems. No special changes. There are several

Re: [squid-users] Squid memory leak on ubuntu 14.04

2017-01-06 Thread Eliezer Croitoru
-users@lists.squid-cache.org Subject: Re: [squid-users] Squid memory leak on ubuntu 14.04 On 2017-01-06 04:30, vinay wrote: > > Let me know if Squid 3.3.8 is compatible with Ubuntu 14.04 or not? if > not what are the compatible versions with Ubuntu 14.04 as i cant > change Ub

Re: [squid-users] Squid memory leak on ubuntu 14.04

2017-01-06 Thread Amos Jeffries
On 2017-01-06 04:30, vinay wrote: Let me know if Squid 3.3.8 is compatible with Ubuntu 14.04 or not? if not what are the compatible versions with Ubuntu 14.04 as i cant change Ubuntu version. That has nothing to do with caching of HTTP data. You should be able to build and install a more

Re: [squid-users] Squid memory leak on ubuntu 14.04

2017-01-05 Thread vinay
Hi am using Squid 3.3.8 on Ubuntu 14.04. I have default configuration for Squid config file . The request is passing via Squid but its not caching the contents/images/css , everytime am getting TCP_MISS 200 for each request in access logs.

Re: [squid-users] Squid memory leak on ubuntu 14.04

2015-11-30 Thread 风声
Hi Finally, we found the root cause, it is kernel issue with specific version on ubuntu 14.04. We prepared new environment for testing, 3.3.8,3.5.11,2.7 on ubuntu 12.04 and 14.04. 3.3.8,3.5.11 on ubuntu 12.04 is ok 2.7 on ubuntu 14.04 is ok 3.3.8,3.5.11 on ubuntu 14.04 is abnormal. I found

Re: [squid-users] Squid memory leak on ubuntu 14.04

2015-11-30 Thread 风声
We did not enable squid cache, so I think memory is ok for our case, and we run squid servers (without cache, without cache cluster, just as forward proxy) more than 100 servers more than 1 years in AWS serveral regions with EC2 c3.xlarge on ubuntu 12.04. It was always running well. Just after

Re: [squid-users] Squid memory leak on ubuntu 14.04

2015-11-30 Thread Amos Jeffries
On 30/11/2015 9:31 p.m., 风声 wrote: > We did not enable squid cache, so I think memory is ok for our case, and we > run squid servers (without cache, without cache cluster, just as forward > proxy) more than 100 servers more than 1 years in AWS serveral regions with > EC2 c3.xlarge on ubuntu 12.04.

Re: [squid-users] Squid memory leak on ubuntu 14.04

2015-11-29 Thread 风声
I try to use jemalloc, but from monitoring, there is no difference, I follow this guide: https://github.com/jemalloc/jemalloc/wiki/Getting-Started I used LD_PRELOAD to let squid use jemalloc. is there something wrong ? If I want to re-compile squid with jemalloc, how can i do that ? Can I just

Re: [squid-users] Squid memory leak on ubuntu 14.04

2015-11-29 Thread Amos Jeffries
On 30/11/2015 3:19 p.m., 风声 wrote: > I try to use jemalloc, but from monitoring, there is no difference, > > I follow this guide: > https://github.com/jemalloc/jemalloc/wiki/Getting-Started > > I used LD_PRELOAD to let squid use jemalloc. > > is there something wrong ? > > If I want to

Re: [squid-users] Squid memory leak on ubuntu 14.04

2015-11-27 Thread Marcus Kool
I do not have the detail of Ubuntu 14.04 but most likely 12.04 and 14.04 have a different version of malloc (see "man malloc") which allocates gigabytes of virtual memory. Most likely you see in top that the resident memory is what you expect that Squid uses (comparable as on 12.04) and the

[squid-users] Squid memory leak on ubuntu 14.04

2015-11-27 Thread 风声
Hi, We had installed squid 3.3.8 on ubuntu 12.04, when we upgrade the OS from ubuntu 12.04 to 14.04, we found the memory usage abnormal, eat up all memory. After we investigation: We use 4 servers for comparision: 3.3.8 on ubuntu 12.04 3.5.11 on ubuntu 12.04 3.3.8 on ubuntu 14.04 3.5.11 on