[squid-users] tuning squid memory (aka avoiding the reaper)

Amos Jeffries squid3 at treenet.co.nz
Thu Sep 28 22:32:31 UTC 2017

On 29/09/17 09:19, Aaron Turner wrote:
> Ok, so did some research and what I'm finding is that:
> If I set sslflags=NO_DEFAULT_CA for http_port and disable both mem and
> disk cache then memory is very stable.  It goes up for a little bit
> and then pretty much stabilizes (it actually goes up and down a
> little, but doesn't seem to be growing or trending up).
> I then enabled memory cache (10GB worth) and ran that for a while.  As
> the cache filled, memory usage obviously went up.  Once the cache
> filled, memory usage continued to increase, but at a slower rate.
> Unlike before, it doesn't seem to stabilize.  I'm seeing memory usage
> increase in top (virtual, resident & shared) as well as in mgr:info's
> "Total accounted" line.  It's not growing as fast before when I didn't
> have the sslflags option, but it is growing.
> What other information would be useful to debug this?

Since the accounted is growing the mgr:mem report should contain some 
clues. It is a TSV spreadsheet of memory allocations, you may need a few 
snapshots of it to see trends.


More information about the squid-users mailing list