[squid-users] Squid 5.1 memory usage

Steve Hill steve at opendium.com
Fri Oct 8 08:56:45 UTC 2021


I'm seeing high memory usage on Squid 5.1.  Caching is disabled, so I'd 
expect memory usage to be fairly low (and it was under Squid 3.5), but 
some workers are growing pretty large.  I'm using ICAP and SSL bump.

I've got a worker using 5 GB which I've collected memory stats from - 
the things which stand out are:
  - Long Strings: 220 MB
  - Short Strings: 2.1 GB
  - Comm::Connection: 217 MB
  - HttpHeaderEntry: 777 MB
  - MemBlob: 773 MB
  - Entry: 226 MB

What's the best way of debugging this?  It there a way to list all of 
the Comm::Connection objects?

Thanks.

-- 
- Steve Hill
    Technical Director | Cyfarwyddwr Technegol
    Opendium    Online Safety & Web Filtering     http://www.opendium.com
                Diogelwch Ar-Lein a Hidlo Gwefan

    Enquiries | Ymholiadau:   sales at opendium.com     +44-1792-824568
    Support   | Cefnogi:      support at opendium.com   +44-1792-825748

------------------------------------------------------------------------
Opendium Limited is a company registered in England and Wales.
Mae Opendium Limited yn gwmni sydd wedi'i gofrestru yn Lloegr a Chymru.

Company No. | Rhif Cwmni:   5465437
Highfield House, 1 Brue Close, Bruton, Somerset, BA10 0HY, England.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: steve.vcf
Type: text/x-vcard
Size: 259 bytes
Desc: not available
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20211008/10c838b3/attachment.vcf>


More information about the squid-users mailing list