Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

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: ---Flags: pm-rhel: mirror+
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