Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-137799

Squid memory usage increases until OOM. [RHEL-8]

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • rhel-8.10
    • squid
    • None
    • None
    • Important
    • 1
    • rhel-stacks-web-servers
    • None
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • _WS-Refined_
    • None
    • None
    • Unspecified
    • Unspecified
    • Unspecified
    • None

      What were you trying to do that didn't work?

      Reference Jira: https://issues.redhat.com/browse/RHEL-50261

      What is the impact of this issue to you?

      Please provide the package NVR for which the bug is seen:

      How reproducible is this bug?:

      How reproducible: Everytime the VM is restarted it will start to grow quickly.

      Steps to reproduce

      1. Install squid-4.15-10.module+el8.10.0+23592+d564ec65.9.x86_64
      2. Startup squid and flood with connections.
      3. Squid config:
      cache_mem                     256 MB
      maximum_object_size_in_memory 512 KB
      logformat                     rsg %tl.%03tu %6tr %>a %Ss/%03>Hs %>rm %>ru %>rp %<rm %<ru %<rp
      access_log                    syslog:local0.info rsg
      workers           2
      # acl fragment for to_localnet
      acl to_localnet dst 0.0.0.1-0.255.255.255
      acl to_localnet dst 10.0.0.0/8
      acl to_localnet dst 100.64.0.0/10
      acl to_localnet dst 169.254.0.0/16
      acl to_localnet dst 172.16.0.0/12
      acl to_localnet dst 192.168.0.0/16
      acl to_localnet dst fc00::/7
      acl to_localnet dst fe80::/10
      # acl fragment for Safe_methods
      acl Safe_methods method GET
      acl Safe_methods method HEAD
      acl Safe_methods method POST
      # acl fragment for connect
      acl connect method CONNECT
      # acl fragment for Connect_ports
      acl Connect_ports port 1024-65535
      acl Connect_ports port 443
      # acl fragment for Safe_ports
      acl Safe_ports port 1024-65535
      acl Safe_ports port 80
      # acl fragment for from_localhost
      acl from_localhost src 127.0.0.1
      # disable caching
      cache deny all
      # remove x-forwarded-for headers
      forwarded_for transparent
      via off
      # http_access fragment for from_localhost
      http_access allow from_localhost
      # http_access fragment for localhost manager
      http_access allow localhost manager
      # http_access fragment for manager
      http_access deny manager
      # http_access fragment for to_localhost
      http_access deny to_localhost
      # http_access fragment for to_localnet
      http_access deny to_localnet
      # http_access fragment for connect !connect_ports
      http_access deny connect !connect_ports
      # http_access fragment for connect
      http_access allow connect
      # http_access fragment for !Safe_methods
      http_access deny !Safe_methods
      # http_access fragment for Safe_ports
      http_access allow Safe_ports
      # http_access fragment for all
      http_access deny all
      # fragment for http_port 3128
      http_port 3128  

      Expected results 

      Memory usage to hit a ceiling and not continue to consume all of the system memory.

      Actual results

              luhliari@redhat.com Lubos Uhliarik
              rhn-support-smahanga Shreyas Mahangade
              Lubos Uhliarik Lubos Uhliarik
              Branislav Náter Branislav Náter
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated: