Search squid archive

Re: Squid memory consumption problem

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

 



Hey,

 

What you should do is:

yum localinstall squid-helpers-4.12-1.amzn2.x86_64.rpm perl-Crypt-OpenSSL-X509-0.1-1.amzn2.noarch.rpm

 

and it should resolve the dependencies automatically.

 

 

Eliezer

 

----

Eliezer Croitoru

Tech Support

Mobile: +972-5-28704261

Email: ngtech1ltd@xxxxxxxxx

 

From: DIXIT Ankit
Sent: Thursday, June 11, 2020 7:49 PM
To: Eliezer Croitoru; Alex Rousskov; squid-users@xxxxxxxxxxxxxxxxxxxxx
Cc: UPADHYAY Neeraj; SETHI Konica; DWIVEDI Gaurav Kumar
Subject: RE: Squid memory consumption problem

 

Croitoru,

 

When I am installing these packages, its not able to resolve dependencies. Below is the error.

 

[root@ squid_package]# rpm -ivh squid-helpers-4.12-1.amzn2.x86_64.rpm

error: Failed dependencies:

        perl(DBI) is needed by squid-helpers-7:4.12-1.amzn2.x86_64

        perl(Data::Dumper) is needed by squid-helpers-7:4.12-1.amzn2.x86_64

        perl(Digest::MD5) is needed by squid-helpers-7:4.12-1.amzn2.x86_64

        perl(Digest::SHA) is needed by squid-helpers-7:4.12-1.amzn2.x86_64

        perl(URI::URL) is needed by squid-helpers-7:4.12-1.amzn2.x86_64

 

Before above error, I had to resolve one more dependency by installing below lip package.

 

yum install libtool-ltdl-2.4.2-22.2.amzn2.0.2.x86_64

 

Please suggest.

 

Regards,

Ankit Dixit|IS Cloud Team

Eurostar International Ltd

Times House | Bravingtons Walk | London N1 9AW

Office: +44 (0)207 84 35550 (Extension– 35530)

 

From: Eliezer Croitoru <ngtech1ltd@xxxxxxxxx>
Sent: Wednesday, June 10, 2020 1:14 PM
To: DIXIT Ankit <Ankit.Dixit@xxxxxxxxxxxx>; Alex Rousskov <rousskov@xxxxxxxxxxxxxxxxxxxxxxx>; squid-users@xxxxxxxxxxxxxxxxxxxxx
Cc: UPADHYAY Neeraj <Neeraj.Upadhyay@xxxxxxxxxxxx>; SETHI Konica <Konica.Sethi@xxxxxxxxxxxx>; DWIVEDI Gaurav Kumar <Gaurav.Dwivedi@xxxxxxxxxxxx>
Subject: RE: Squid memory consumption problem

 

 

Hey,

 

Squid 4 is tested on Amazon Linux 2.

I have tested it in the lat year.. and I believe that there is no reason to run a full set of tests now.

 

Squid 4 only needs a basic “dry-run” to make sure what you need to change in your squid.conf.

 

I do suggest to first run it whiteout any cache-dir for maybe an hour.

 

Do not go back to CentOS 7.

 

To my knowledge Amazon Linux 2 receives a better over-all support then CentOS 7.

 

From my tests in the past Amazon Linux 2 is faster and is a LTS distribution so you will have someone to contact in any case of trouble.

Compared to CentOS X which you will be in the grace of your own efforts and “google foo”.

 

I believe that you would not want to find your self in a situation which you try to contact upstream RH for help.

 

Feel free to send me or the mailing lists any email you want.

I will try to at-least read them if I cannot respond on the spot.

 

Eliezer

 

----

Eliezer Croitoru

Tech Support

Mobile: +972-5-28704261

Email: ngtech1ltd@xxxxxxxxx

 

From: DIXIT Ankit
Sent: Wednesday, June 10, 2020 2:56 PM
To: Eliezer Croitoru; Alex Rousskov; squid-users@xxxxxxxxxxxxxxxxxxxxx
Cc: UPADHYAY Neeraj; SETHI Konica; DWIVEDI Gaurav Kumar
Subject: RE: Squid memory consumption problem

 

Hi,

 

Thanks for providing the rpm information but I was having some questions as per my last email.

==============================================================================

Does it mean, Squid 4 is not tested on Amazon Linux 2, yet?

 

How much time, testing will take?

 

If it will take time , then I am thinking to change the Operating system to Centos 7 from Amazon Linux 2 and then install Squid 4?

 

 

Regards,

Ankit Dixit|IS Cloud Team

Eurostar International Ltd

Times House | Bravingtons Walk | London N1 9AW

Office: +44 (0)207 84 35550 (Extension– 35530)

 

From: Eliezer Croitoru <ngtech1ltd@xxxxxxxxx>
Sent: Wednesday, June 10, 2020 12:26 PM
To: DIXIT Ankit <Ankit.Dixit@xxxxxxxxxxxx>; Alex Rousskov <rousskov@xxxxxxxxxxxxxxxxxxxxxxx>; squid-users@xxxxxxxxxxxxxxxxxxxxx
Subject: RE: [squid-users] Squid memory consumption problem

 

 

## The last email got corrupted for some reason so..

 

First save the existing config files.

 

The RPM files are at:

https://1drv.ms/u/s!AoiLG1Jyh7JqoiBbOtBMb9wuAfjS?e=9XeXCS

 

You will need to install:

perl-Crypt-OpenSSL-X509-0.1-1.amzn2.noarch.rpm

 

 

It’s a dummy recursive package that installs basic dependencies.

You will not be able to install the squid-helpers packages without it.

 

Then install the RPM’s:

squid-4.12-1.amzn2.x86_64.rpm

squid-helpers-4.12-1.amzn2.x86_64.rpm

 

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.

 

If for any reason you need the sources for the RPM’s take a peek at:

https://github.com/elico/squid-docker-build-nodes

https://gist.github.com/elico/5fa3050ed1a7247fbf2f6810c74933cc

 

Eliezer

 

----

Eliezer Croitoru

Tech Support

Mobile: +972-5-28704261

Email: ngtech1ltd@xxxxxxxxx

 

From: DIXIT Ankit
Sent: Wednesday, June 10, 2020 11:59 AM
To: Eliezer Croitoru; Alex Rousskov; squid-users@xxxxxxxxxxxxxxxxxxxxx
Subject: RE: Squid memory consumption problem

 

Hi,

 

We have two squid servers running in our environment.

 

  1. Squid Cache: Version 4.2-20180806-r6d8f397 running on CentOS Linux release 7.7.1908 (Core)---- Its running perfectly with no CPU and Memory issue

 

  1. Squid Cache: Version 3.5.27-20180318-r1330042 running on Amazon Linux 2 --- It’s not running perfectly with high CPU and Memory issue

 

I think you are right, please provide the Squid rpm version 4 for Amazon Linux 2 Or link to download.

 

Regards,

Ankit Dixit|IS Cloud Team

Eurostar International Ltd

Times House | Bravingtons Walk | London N1 9AW

Office: +44 (0)207 84 35550 (Extension– 35530)

 

From: Eliezer Croitoru <ngtech1ltd@xxxxxxxxx>
Sent: Wednesday, June 10, 2020 9:26 AM
To: Alex Rousskov <rousskov@xxxxxxxxxxxxxxxxxxxxxxx>; DIXIT Ankit <Ankit.Dixit@xxxxxxxxxxxx>; squid-users@xxxxxxxxxxxxxxxxxxxxx
Subject: RE: Squid memory consumption problem

 

 

I have tested v4 to work properly on Amazon Linux 2 in the past.

If RPM’s are needed, let me know.

 

Eliezer

 

----

Eliezer Croitoru

Tech Support

Mobile: +972-5-28704261

Email: ngtech1ltd@xxxxxxxxx

 

From: Alex Rousskov
Sent: Tuesday, June 9, 2020 11:33 PM
To: DIXIT Ankit; squid-users@xxxxxxxxxxxxxxxxxxxxx
Subject: Re: Squid memory consumption problem

 

On 6/5/20 2:38 PM, DIXIT Ankit wrote:

 

> We are facing memory issues on Squid proxy. We have squid proxy server

> running on AWS Cloud(Amazon Linux 2). Server is having total 8 GB RAM

> and 100 GB hard disk.

>

> The problem is that squid is eating all of system memory and not freeing

> up the objects. Server memory lasts for maximum 15 days and after that

> squid process start crashing. Please suggest.

 

I would start by making sure that you are not suffering from Squid bug

#4005: https://bugs.squid-cache.org/show_bug.cgi?id=4005

 

After that, if you are sure that there is a memory leak, then I suggest

upgrading to v4 (or v5) as the next step. IMHO, it is unlikely that

somebody would volunteer to triage a v3.5 memory leak these days.

 

 

HTH,

 

Alex.

 

 

> [root@eaa-lpx-003-p ~]# squid -version

>

> Squid Cache: Version 3.5.27-20180318-r1330042

>

> Service Name: squid

>

> This binary uses OpenSSL 1.0.2k-fips  26 Jan 2017.

 

_______________________________________________

squid-users mailing list

squid-users@xxxxxxxxxxxxxxxxxxxxx

http://lists.squid-cache.org/listinfo/squid-users

 

 

 

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.

Eurostar International Ltd
Times House, Bravingtons Walk, London N1 9AW Registered in England and Wales No. 2462001

 

 

 

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.

Eurostar International Ltd
Times House, Bravingtons Walk, London N1 9AW Registered in England and Wales No. 2462001

 

 

 

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.

Eurostar International Ltd
Times House, Bravingtons Walk, London N1 9AW Registered in England and Wales No. 2462001

 

_______________________________________________
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