<div dir="ltr">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.</div><div class="gmail_extra"><br><div class="gmail_quote">2015-12-01 9:01 GMT+08:00 风声 <span dir="ltr"><<a href="mailto:fengsheng.10@gmail.com" target="_blank">fengsheng.10@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi<div><br></div><div>Finally, we found the root cause, it is kernel issue with specific version on ubuntu 14.04.</div><div><br></div><div>We prepared new environment for testing, 3.3.8,3.5.11,2.7 on ubuntu 12.04 and 14.04.</div><div><br></div><div>3.3.8,3.5.11 on ubuntu 12.04 is ok<br></div><div>2.7 on ubuntu 14.04 is ok</div><div><br></div><div>3.3.8,3.5.11 on ubuntu 14.04 is abnormal.<br></div><div><br></div><div><br></div><div>I found this <a href="https://bugs.launchpad.net/ubuntu/+source/linux-meta-lts-trusty/+bug/1516738" target="_blank">https://bugs.launchpad.net/ubuntu/+source/linux-meta-lts-trusty/+bug/1516738</a></div><div><br></div><div><font face="arial, helvetica, sans-serif">and I downgrade kernel version to <span style="color:rgb(51,51,51);line-height:18px">3.13.0-57 on ubuntu 14.04, memory usage is normal now.</span></font></div><div><font face="arial, helvetica, sans-serif"><span style="color:rgb(51,51,51);line-height:18px"><br></span></font></div><div><font face="arial, helvetica, sans-serif"><span style="color:rgb(51,51,51);line-height:18px">I don't know how was it introduced into kernel on ubuntu 14.04, but it is really works for me.</span></font></div><div><font face="arial, helvetica, sans-serif"><span style="color:rgb(51,51,51);line-height:18px"><br></span></font></div><div><font face="arial, helvetica, sans-serif"><span style="color:rgb(51,51,51);line-height:18px">Thanks for you help .</span></font></div><div><font face="arial, helvetica, sans-serif"><span style="color:rgb(51,51,51);line-height:18px"><br></span></font></div><div><font face="arial, helvetica, sans-serif"><span style="color:rgb(51,51,51);line-height:18px"><br></span></font></div><div><font face="arial, helvetica, sans-serif"><span style="color:rgb(51,51,51);line-height:18px"><br></span></font></div><div><br></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">2015-11-30 16:55 GMT+08:00 Amos Jeffries <span dir="ltr"><<a href="mailto:squid3@treenet.co.nz" target="_blank">squid3@treenet.co.nz</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>On 30/11/2015 9:31 p.m., 风声 wrote:<br>
> We did not enable squid cache, so I think memory is ok for our case, and we<br>
> run squid servers (without cache, without cache cluster, just as forward<br>
> proxy) more than 100 servers more than 1 years in AWS serveral regions with<br>
> EC2 c3.xlarge on ubuntu 12.04. It was always running well.<br>
><br>
> Just after upgrade ubuntu 14.04, we found the memory usage increased.<br>
><br>
> Server Spec: AWS EC2 c3.xlarge (4 Cores, 7.5GB Memory, 2 x 40 GB SSD)<br>
><br>
> Before upgrade:<br>
><br>
> 12.04:<br>
> Memory usage is always less than 50% (3.5GB), will increase or decrease<br>
> because traffic changes<br>
> CPU is very low, same as Disk IO, B/W (In or Out) is 500Mb/s at most, is<br>
> around 200Mb/s most of time.<br>
><br>
> 14:04<br>
> Memory usage is about 80-90 % (nearly 7GB), will increase , but it decrease<br>
> very slow, and always keeping more than 50% (3.5GB),<br>
> CPU is very low, same as Disk IO, B/W (In or Out) is 500Mb/s at most, is<br>
> around 200Mb/s most of time.<br>
><br>
> I tested with squid-3.3.8 (ubuntu offical packages), and squid-3.5.11 on<br>
> 12.04 and 14.04, I think it is most likely ubuntu related issue ? because<br>
> same version, same configs, but different OS versions.<br>
<br>
</span>Most likely. Though a whole OS of difference has many moving parts. By<br>
keeping Squid the same you have eliminated it specifically as the cause.<br>
But all the libraries it uses will be different in each OS.<br>
<br>
If there was a 32-bit to 64-bit change in the hardware or memory<br>
allocation system you could also see this same change.<br>
<span><font color="#888888"><br>
Amos<br>
<br>
</font></span></blockquote></div><br></div>
</div></div></blockquote></div><br></div>