Bug 2011637

Summary: Rebase squid to 5.2
Product: Red Hat Enterprise Linux 9 Reporter: Luboš Uhliarik <luhliari>
Component: squidAssignee: Luboš Uhliarik <luhliari>
Status: CLOSED ERRATA QA Contact: icesalov
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 9.0CC: bnater, icesalov, lkuprova, tsuyoshi.hariki
Target Milestone: betaKeywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: squid-5.2-1.el9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1990517 Environment:
Last Closed: 2022-05-17 12:29:29 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1990517    
Bug Blocks:    

Comment 7 hariki 2022-04-13 07:46:51 UTC
We are using squid-5.2-1.el9 on CentOS Stream 9 to provide forward proxy service
, but there is a problem that the memory usage keeps increasing at 10 to 40 requ
ests/second environment.
The actual memory usage after 24 hours of operation is as follows
% free -h
               total        used        free      shared  buff/cache   available
Mem:           7.8Gi       6.9Gi       135Mi        59Mi       719Mi       543Mi
Swap:          8.0Gi       5.7Gi       2.3Gi
% ps auxw |grep ^squid
squid     221306  3.8 82.2 14533656 6685856 ?    S    Apr12  54:36 (squid-1) --kid squid-1 --foreground -f /etc/squid/squid.conf
Restarting squid process will restore it.
% sudo systemctl restart squid.service
% free -h
               total        used        free      shared  buff/cache   available
Mem:           7.8Gi       549Mi       6.5Gi        59Mi       709Mi       6.9Gi
Swap:          8.0Gi       215Mi       7.8Gi
% ps auxw |grep ^squid
squid     263768  2.6  0.8 185720 67360 ?        S    16:42   0:00 (squid-1) --kid squid-1 --foreground -f /etc/squid/squid.conf
This is similar to the thread of following site.
https://www.spinics.net/lists/squid/msg94816.html

So, I created rpm using squid-5.4.1 and updated it.
Similarly, memory usage after 24 hours of operation improved as follows
% free -h
               total        used        free      shared  buff/cache   available
Mem:           7.8Gi       1.2Gi       5.9Gi        73Mi       700Mi       6.3Gi
Swap:          8.0Gi          0B       8.0Gi
% ps auxw |grep ^squid
squid       9002  4.1  9.5 798632 773548 ?       S    Apr12  58:24 (squid-1) --kid squid-1 --foreground -f /etc/squid/squid.conf

Could you please update the base version of squid on CentOS Stream 9/Red Hat Enterprise Linux 9 to the 5.4.1?

Comment 8 Branislav Náter 2022-04-14 08:00:06 UTC
(In reply to hariki from comment #7)
> We are using squid-5.2-1.el9 on CentOS Stream 9 to provide forward proxy
> service
> , but there is a problem that the memory usage keeps increasing at 10 to 40
> requ
> ests/second environment.
> The actual memory usage after 24 hours of operation is as follows
> % free -h
>                total        used        free      shared  buff/cache  
> available
> Mem:           7.8Gi       6.9Gi       135Mi        59Mi       719Mi      
> 543Mi
> Swap:          8.0Gi       5.7Gi       2.3Gi
> % ps auxw |grep ^squid
> squid     221306  3.8 82.2 14533656 6685856 ?    S    Apr12  54:36 (squid-1)
> --kid squid-1 --foreground -f /etc/squid/squid.conf
> Restarting squid process will restore it.
> % sudo systemctl restart squid.service
> % free -h
>                total        used        free      shared  buff/cache  
> available
> Mem:           7.8Gi       549Mi       6.5Gi        59Mi       709Mi      
> 6.9Gi
> Swap:          8.0Gi       215Mi       7.8Gi
> % ps auxw |grep ^squid
> squid     263768  2.6  0.8 185720 67360 ?        S    16:42   0:00 (squid-1)
> --kid squid-1 --foreground -f /etc/squid/squid.conf
> This is similar to the thread of following site.
> https://www.spinics.net/lists/squid/msg94816.html
> 
> So, I created rpm using squid-5.4.1 and updated it.
> Similarly, memory usage after 24 hours of operation improved as follows
> % free -h
>                total        used        free      shared  buff/cache  
> available
> Mem:           7.8Gi       1.2Gi       5.9Gi        73Mi       700Mi      
> 6.3Gi
> Swap:          8.0Gi          0B       8.0Gi
> % ps auxw |grep ^squid
> squid       9002  4.1  9.5 798632 773548 ?       S    Apr12  58:24 (squid-1)
> --kid squid-1 --foreground -f /etc/squid/squid.conf
> 
> Could you please update the base version of squid on CentOS Stream 9/Red Hat
> Enterprise Linux 9 to the 5.4.1?

Can you pls file new centos stream 9 bug so we can investigate? Thanks.

Comment 10 errata-xmlrpc 2022-05-17 12:29:29 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (new packages: squid), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2022:2322