<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Candara;
panose-1:2 14 5 2 3 3 3 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
{mso-style-priority:34;
margin-top:0in;
margin-right:0in;
margin-bottom:0in;
margin-left:.5in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
/* List Definitions */
@list l0
{mso-list-id:1903129528;
mso-list-type:hybrid;
mso-list-template-ids:-257660326 67698705 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l0:level1
{mso-level-text:"%1\)";
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level2
{mso-level-number-format:alpha-lower;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level3
{mso-level-number-format:roman-lower;
mso-level-tab-stop:none;
mso-level-number-position:right;
text-indent:-9.0pt;}
@list l0:level4
{mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level5
{mso-level-number-format:alpha-lower;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level6
{mso-level-number-format:roman-lower;
mso-level-tab-stop:none;
mso-level-number-position:right;
text-indent:-9.0pt;}
@list l0:level7
{mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level8
{mso-level-number-format:alpha-lower;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level9
{mso-level-number-format:roman-lower;
mso-level-tab-stop:none;
mso-level-number-position:right;
text-indent:-9.0pt;}
ol
{margin-bottom:0in;}
ul
{margin-bottom:0in;}
--></style></head><body lang=EN-US link=blue vlink="#954F72"><div class=WordSection1><p class=MsoNormal>## The last email got corrupted for some reason so..</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>First save the existing config files.</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>The RPM files are at:</p><p class=MsoNormal><a href="https://1drv.ms/u/s!AoiLG1Jyh7JqoiBbOtBMb9wuAfjS?e=9XeXCS">https://1drv.ms/u/s!AoiLG1Jyh7JqoiBbOtBMb9wuAfjS?e=9XeXCS</a></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>You will need to install:</p><p class=MsoNormal>perl-Crypt-OpenSSL-X509-0.1-1.amzn2.noarch.rpm</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>It’s a dummy recursive package that installs basic dependencies.</p><p class=MsoNormal>You will not be able to install the squid-helpers packages without it.</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Then install the RPM’s:</p><p class=MsoNormal>squid-4.12-1.amzn2.x86_64.rpm</p><p class=MsoNormal>squid-helpers-4.12-1.amzn2.x86_64.rpm</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>If you have installed squid RPM’s from other sources/repositories you will need to first uninstall/remove then and only then install the ngtech RPM’s.</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>If for any reason you need the sources for the RPM’s take a peek at:</p><p class=MsoNormal><a href="https://github.com/elico/squid-docker-build-nodes">https://github.com/elico/squid-docker-build-nodes</a></p><p class=MsoNormal><a href="https://gist.github.com/elico/5fa3050ed1a7247fbf2f6810c74933cc">https://gist.github.com/elico/5fa3050ed1a7247fbf2f6810c74933cc</a></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Eliezer </p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>----<o:p></o:p></p><p class=MsoNormal>Eliezer Croitoru<o:p></o:p></p><p class=MsoNormal>Tech Support<o:p></o:p></p><p class=MsoNormal>Mobile: +972-5-28704261<o:p></o:p></p><p class=MsoNormal>Email: ngtech1ltd@gmail.com<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><div style='mso-element:para-border-div;border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal style='border:none;padding:0in'><b>From: </b><a href="mailto:Ankit.Dixit@eurostar.com">DIXIT Ankit</a><br><b>Sent: </b>Wednesday, June 10, 2020 11:59 AM<br><b>To: </b><a href="mailto:ngtech1ltd@gmail.com">Eliezer Croitoru</a>; <a href="mailto:rousskov@measurement-factory.com">Alex Rousskov</a>; <a href="mailto:squid-users@lists.squid-cache.org">squid-users@lists.squid-cache.org</a><br><b>Subject: </b>RE: [squid-users] Squid memory consumption problem</p></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Hi,<o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal>We have two squid servers running in our environment.<o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><ol style='margin-top:0in' start=1 type=1><li class=MsoListParagraph style='margin-left:0in;mso-list:l0 level1 lfo1'><b>Squid Cache: Version 4.2-20180806-r6d8f397</b> running on <b>CentOS Linux release 7.7.1908 (Core<span style='background:yellow;mso-highlight:yellow'>)---</span></b><span style='background:yellow;mso-highlight:yellow'>- Its running perfectly with no CPU and Memory issue</span><o:p></o:p></li></ol><p class=MsoListParagraph> </p><ol style='margin-top:0in' start=2 type=1><li class=MsoListParagraph style='margin-left:0in;mso-list:l0 level1 lfo1'><b>Squid Cache: Version 3.5.27-20180318-r1330042</b> running on <b>Amazon Linux 2 <span style='background:yellow;mso-highlight:yellow'>--- It’s not running perfectly with high CPU and Memory issue</span></b><o:p></o:p></li></ol><p class=MsoListParagraph> </p><p class=MsoNormal>I think you are right, please provide the Squid rpm version 4 for Amazon Linux 2 Or link to download.<o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><div><p class=MsoNormal style='text-autospace:none'><b><span style='color:#1F497D'>Regards,</span></b><o:p></o:p></p><p class=MsoNormal style='text-autospace:none'><b><span style='color:#1F497D'>Ankit Dixit|IS Cloud Team</span></b><o:p></o:p></p><p class=MsoNormal style='text-autospace:none'><b><span style='font-family:"Candara",sans-serif;color:#7F7F7F'>Eurostar International Ltd</span></b><o:p></o:p></p><p class=MsoNormal><b><span style='font-family:"Candara",sans-serif;color:#7F7F7F'>Times House | Bravingtons Walk | </span></b><b><span style='color:#7F7F7F'>London N1 9AW</span></b><o:p></o:p></p><p class=MsoNormal style='text-autospace:none'><b><span lang=FR style='color:#7F7F7F'>Office: +44 (0)207 84 35550 (Extension– 35530)</span></b><o:p></o:p></p></div><p class=MsoNormal> <o:p></o:p></p><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b>From:</b> Eliezer Croitoru <ngtech1ltd@gmail.com> <br><b>Sent:</b> Wednesday, June 10, 2020 9:26 AM<br><b>To:</b> Alex Rousskov <rousskov@measurement-factory.com>; DIXIT Ankit <Ankit.Dixit@eurostar.com>; squid-users@lists.squid-cache.org<br><b>Subject:</b> RE: [squid-users] Squid memory consumption problem<o:p></o:p></p></div></div><p class=MsoNormal> <o:p></o:p></p><table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0><tr><td style='padding:0in 0in 0in 0in'><p class=MsoNormal><img border=0 width=600 height=25 style='width:6.25in;height:.2604in' id="Picture_x0020_1" src="cid:image001.jpg@01D63F0C.F84F91D0"><o:p></o:p></p></td></tr></table><p class=MsoNormal style='margin-bottom:12.0pt'> <o:p></o:p></p><p class=MsoNormal>I have tested v4 to work properly on Amazon Linux 2 in the past.<o:p></o:p></p><p class=MsoNormal>If RPM’s are needed, let me know.<o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal>Eliezer<o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal>----<o:p></o:p></p><p class=MsoNormal>Eliezer Croitoru<o:p></o:p></p><p class=MsoNormal>Tech Support<o:p></o:p></p><p class=MsoNormal>Mobile: +972-5-28704261<o:p></o:p></p><p class=MsoNormal>Email: <a href="mailto:ngtech1ltd@gmail.com">ngtech1ltd@gmail.com</a><o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b>From: </b><a href="mailto:rousskov@measurement-factory.com">Alex Rousskov</a><br><b>Sent: </b>Tuesday, June 9, 2020 11:33 PM<br><b>To: </b><a href="mailto:Ankit.Dixit@eurostar.com">DIXIT Ankit</a>; <a href="mailto:squid-users@lists.squid-cache.org">squid-users@lists.squid-cache.org</a><br><b>Subject: </b>Re: [squid-users] Squid memory consumption problem<o:p></o:p></p></div><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal>On 6/5/20 2:38 PM, DIXIT Ankit wrote:<o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal>> We are facing memory issues on Squid proxy. We have squid proxy server<o:p></o:p></p><p class=MsoNormal>> running on AWS Cloud(Amazon Linux 2). Server is having total 8 GB RAM<o:p></o:p></p><p class=MsoNormal>> and 100 GB hard disk.<o:p></o:p></p><p class=MsoNormal>> <o:p></o:p></p><p class=MsoNormal>> The problem is that squid is eating all of system memory and not freeing<o:p></o:p></p><p class=MsoNormal>> up the objects. Server memory lasts for maximum 15 days and after that<o:p></o:p></p><p class=MsoNormal>> squid process start crashing. Please suggest.<o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal>I would start by making sure that you are not suffering from Squid bug<o:p></o:p></p><p class=MsoNormal>#4005: <a href="https://bugs.squid-cache.org/show_bug.cgi?id=4005">https://bugs.squid-cache.org/show_bug.cgi?id=4005</a><o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal>After that, if you are sure that there is a memory leak, then I suggest<o:p></o:p></p><p class=MsoNormal>upgrading to v4 (or v5) as the next step. IMHO, it is unlikely that<o:p></o:p></p><p class=MsoNormal>somebody would volunteer to triage a v3.5 memory leak these days.<o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal>HTH,<o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal>Alex.<o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal>> [root@eaa-lpx-003-p ~]# squid -version<o:p></o:p></p><p class=MsoNormal>> <o:p></o:p></p><p class=MsoNormal>> Squid Cache: Version 3.5.27-20180318-r1330042<o:p></o:p></p><p class=MsoNormal>> <o:p></o:p></p><p class=MsoNormal>> Service Name: squid<o:p></o:p></p><p class=MsoNormal>> <o:p></o:p></p><p class=MsoNormal>> This binary uses OpenSSL 1.0.2k-fips 26 Jan 2017.<o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal>_______________________________________________<o:p></o:p></p><p class=MsoNormal>squid-users mailing list<o:p></o:p></p><p class=MsoNormal><a href="mailto:squid-users@lists.squid-cache.org">squid-users@lists.squid-cache.org</a><o:p></o:p></p><p class=MsoNormal><a href="http://lists.squid-cache.org/listinfo/squid-users">http://lists.squid-cache.org/listinfo/squid-users</a><o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal style='margin-bottom:12.0pt'> <o:p></o:p></p><p class=MsoNormal style='margin-bottom:12.0pt'><span style='font-size:10.0pt;font-family:"Arial",sans-serif'><o:p> </o:p></span></p><p class=MsoNormal><img border=0 width=708 height=1 style='width:7.375in;height:.0104in' id="Horizontal_x0020_Line_x0020_2" src="cid:image002.png@01D63F33.048F23E0"><span style='font-size:10.0pt;font-family:"Arial",sans-serif'><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial",sans-serif'>This email (including any attachments) is intended only for the addressee(s), is confidential and may be legally privileged. If you are not the intended recipient, do not use, disclose, copy, or forward this email. Please notify the sender immediately and then delete it. Eurostar International Limited and its affiliates ("EIL") do not accept any liability for action taken in reliance on this email. EIL makes no representation that this email is free of viruses and addressees should check this email for viruses. The comments or statements expressed in this email are not necessarily those of EIL. <br><br>Eurostar International Ltd <br>Times House, Bravingtons Walk, London N1 9AW Registered in England and Wales No. 2462001 <o:p></o:p></span></p><p class=MsoNormal><img border=0 width=708 height=1 style='width:7.375in;height:.0104in' id="Horizontal_x0020_Line_x0020_3" src="cid:image002.png@01D63F33.048F23E0"><span style='font-size:10.0pt;font-family:"Arial",sans-serif'><o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p></div></body></html>