[squid-users] Significant memory leak with version 5.x (not with 4.17)
Amos Jeffries
squid3 at treenet.co.nz
Sun Dec 26 06:32:41 UTC 2021
On 25/12/21 01:24, Lukáš Loučanský wrote:
> Sorry - maybe I'll post something irrelevant - but my Squid5.3 is
> running for 3 days now. As it seems the number of user's requests
> declined (xmas holliday) - the memory consuption stabilized and is not
> increasing (seemingly - I check only by mrtg figures - I'dont sample
> memory info because it seemed not prooffing)
>
> Anyway general info shows:
>
> Maximum Resident Size: 48399664 KB Page faults with physical i/o: 171
> Memory accounted for: Total accounted: 2013907 KB memPoolAlloc calls:
> 390527804 memPoolFree calls: 395188267 Max resident size 46GB???
Hi Lukáš ,
This particular value is known to sometimes receive weird/garbage
values from the libc API on 64-bit systems, and combines *all* active
Squid processes. So be skeptical and prefer OS tools if this matters.
Your top output shows a more trustworthy 11 GB resident size for (one
of?) the Squid worker process.
> Memory
> allocated total: 2014463 kB. PID USER PR NI VIRT RES SHR
> S %CPU %MEM TIME+ COMMAND
> 15487 proxy 20 0 11.6g 11.5g
> 10344 S 0.0 73.7 103:34.23 (squid-1) --kid squid-1 -YC -f
> /etc/squid5/squid.conf Is it something not included in the memory
> utilization chart?
Hopefully not, but it could be something not using Squid Memory pools
tracking.
> Something tied to connections? requests? ssl contexts? L
>
"yes maybe" to all the above.
Amos
More information about the squid-users
mailing list