Search squid archive

Re: Squid memory leak on ubuntu 14.04

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 this https://bugs.launchpad.net/ubuntu/+source/linux-meta-lts-trusty/+bug/1516738

and I downgrade kernel version to 3.13.0-57 on ubuntu 14.04, memory usage is normal now.

I don't know how was it introduced into kernel on ubuntu 14.04, but it is really works for me.

Thanks for you help .





2015-11-30 16:55 GMT+08:00 Amos Jeffries <squid3@xxxxxxxxxxxxx>:
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. It was always running well.
>
> Just after upgrade ubuntu 14.04, we found the memory usage increased.
>
> Server Spec: AWS EC2 c3.xlarge (4 Cores, 7.5GB Memory, 2 x 40 GB SSD)
>
> Before upgrade:
>
> 12.04:
> Memory usage is always less than 50% (3.5GB), will increase or decrease
> because traffic changes
> CPU is very low, same as Disk IO, B/W (In or Out) is 500Mb/s at most, is
> around 200Mb/s most of time.
>
> 14:04
> Memory usage is about 80-90 % (nearly 7GB), will increase , but it decrease
> very slow, and always keeping more than 50% (3.5GB),
> CPU is very low, same as Disk IO, B/W (In or Out) is 500Mb/s at most, is
> around 200Mb/s most of time.
>
> I tested with squid-3.3.8 (ubuntu offical packages), and squid-3.5.11 on
> 12.04 and 14.04, I think it is most likely ubuntu related issue ? because
> same version, same configs, but different OS versions.

Most likely. Though a whole OS of difference has many moving parts. By
keeping Squid the same you have eliminated it specifically as the cause.
But all the libraries it uses will be different in each OS.

If there was a 32-bit to 64-bit change in the hardware or memory
allocation system you could also see this same change.

Amos


_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux