[squid-users] Squid memory leak on ubuntu 14.04
风声
fengsheng.10 at gmail.com
Wed Dec 2 10:54:11 UTC 2015
I think not only the kernel/malloc, also the libs (libmnl and libnetfilter)
squid depends on with ubuntu 14.04, we try to rebuild it, keep watching the
status.
2015-12-01 9:01 GMT+08:00 风声 <fengsheng.10 at gmail.com>:
> 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 at treenet.co.nz>:
>
>> 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
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20151202/587c3983/attachment.html>
More information about the squid-users
mailing list