[squid-users] How to analyse squid memory usage
Dan Charlesworth
dan at getbusi.com
Wed May 11 04:37:40 UTC 2016
Thanks Amos -
Not sure how self-explanatory the output is, though.
I’ve attached the output from a site with a 12GB server where top was showing 2.9GB allocated to squid (this is normal e.g. “the control"). But the mem output shows the allocated total as ~1GB, apparently?
Maybe things will become clearer once I have a “leaky” server’s output to compare with it.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bdc-mem.tsv
Type: text/tab-separated-values
Size: 18774 bytes
Desc: not available
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20160511/3f1ca643/attachment.tsv>
-------------- next part --------------
> On 10 May 2016, at 6:02 PM, Amos Jeffries <squid3 at treenet.co.nz> wrote:
>
> On 10/05/2016 2:35 p.m., Dan Charlesworth wrote:
>> A small percentage of deployments of our squid-based product are using oodles of memory—there doesn’t seem to be a limit to it.
>>
>> I’m wondering what the best way might be to analyse what squid is reserving it all for in the latest 3.5 release?
>>
>> The output of squidclient mgr:cache_mem is completely incomprehensible to me.
>
> Try mgr:mem report. It is TSV (tab-separated values) file format.
>
> squidclient mgr:mem > mem.tsv
>
> ... and load mem.tsv using your favourite spreadsheet program. The
> column titles should then be self-explanatory.
>
> Amos
>
> _______________________________________________
> squid-users mailing list
> squid-users at lists.squid-cache.org
> http://lists.squid-cache.org/listinfo/squid-users
More information about the squid-users
mailing list