[squid-users] Fwd: Sqid uses all RAM / killed by OOM
Amos Jeffries
squid3 at treenet.co.nz
Tue Jul 26 01:55:57 UTC 2022
On 25/07/22 17:59, Ronny Preiss wrote:
> Hello all,
>
> I have now compiled and installed squid 4.17 as a transition solution on
> ubuntu 22.04.
>
> Can someone support me regarding my question about compiling squid 5.6
> on ubuntu 22.04?
> Since my previous attempts also have the "memory leak" on ubuntu 22.04
> and squid 5.6 problem again.
I am not sure if this will help at all with the memory leak. But the
Debian package for 5.6+ contain OpenSSL v3 support and should build fine
for this Ubuntu.
You will first need to run these to install the build requirements:
apt-get update &&
apt-get build-dep squid &&
apt-get install git-buildpackage dpkg libssl-dev
Then from a build directory run these:
git clone https://salsa.debian.org/squid-team/squid.git &&
cd squid &&
gbp buildpackage --git-no-sign-tags ;
cd ..
Install the package you want like this:
dpkg --install \
squid-common_5.6-1_amd64.deb \
squid_5.6-1_amd64.deb
dpkg --install \
squid-common_5.6-1_amd64.deb \
squid-openssl_5.6-1_amd64.deb
Exact filenames may differ. Listing squid-common first is important.
If Ubuntu ship a newer version it will install over top of these
packages. There should not be issues with that as it means Ubuntu have
pulled in the OpenSSL v3 support from Debian.
Alternatively, you can keep the git clone/checkout around to track
Debian security patches and newer releases. You just have to do the
rebuild and re-install parts as-needed.
HTH
Amos
More information about the squid-users
mailing list