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

Re: [squid-users] Squid Memory Leak with certain FTP requests?

2015-02-16 Thread Silamael
On 02/12/2015 09:51 AM, Amos Jeffries wrote: On 12/02/2015 9:03 p.m., Silamael Darkomen wrote: I will file a proper bug report with debug output and such when I'm back at work next monday. Any idea what's wrong here? For me it seems that the index.html Squid is generating for FTP requests

Re: [squid-users] Squid Memory Leak with certain FTP requests?

2015-02-12 Thread Silamael Darkomen
On 11.02.2015 21:05, Amos Jeffries wrote: Some FTP files pointless to cache. Sure, maybe some FTP files are not to be cached. If it need just once. For what cache it? I do not want to cache any. And I think a 'cache deny all' does that. Correct. Nevertheless, even with no caching

[squid-users] Squid Memory Leak with certain FTP requests?

2015-02-11 Thread Silamael
Hi, One of our customers does constantly mirroring of some FTP directories and noticed a huge memory consumption of Squid. As far as I can see with squidclient mgr:mem, the 2K buffers are constantly increasing if Squid is processing FTP requests like wget ftp://some.server/pub/ or wget -m

Re: [squid-users] Squid Memory Leak with certain FTP requests?

2015-02-11 Thread Yuri Voinov
Squid first saves object in memory. Then swapout object to cache. As usual: # MEMORY CACHE OPTIONS # - # TAG: cache_mem(bytes) #NOTE: THIS PARAMETER DOES NOT SPECIFY THE MAXIMUM PROCESS SIZE. #IT ONLY

Re: [squid-users] Squid Memory Leak with certain FTP requests?

2015-02-11 Thread Silamael
On 02/11/2015 11:10 AM, Yuri Voinov wrote: Squid first saves object in memory. Then swapout object to cache. As usual: This is no memory leaking, but normal cache behaviour. As documented. You can play around with range_offset_limit and quick_abort_min parameters. Or try to no cache this

[squid-users] Squid memory leak?

2003-09-29 Thread Mike Mitchell
I've been chasing what looks like a memory leak for quite some time. I've seen it all through the Squid 2.X releases, and it still is present in 2.5STABLE4. I've seen it on machines running HP-UX 10.20 and on Red Hat Linux. Currently I'm running on three identical Dell 2650 servers, each with