varnishstat and memory usage
Lasse Karstensen
lkarsten at varnish-software.com
Mon Aug 26 12:17:44 CEST 2013
On Wed, Aug 07, 2013 at 01:00:52PM +0200, Marco Felettigh wrote:
> can someone explain please what this values mean ?
g means gauge, c means counter.
s0 means that this is the first configured storage backend. (for example one -smalloc,XX argument)
> varnish-3.0.2
> from varnishstat -1 :
> SMA.s0.c_bytes 4421961276 14330.40 Bytes allocated
> Bytes allocated from Varnish for all the things;
> cache , thread etc . Right ?
> SMA.s0.c_freed 3336892882 10813.98 Bytes freed
> freed ? that means that in the uptime of my Varnish instance it freed
> 3,3GB of bytes from the cache ?
Yes. Usually you don't need to care about these.
> So this counter can go beyond Bytes allocated ?
> SMA.s0.g_bytes 1085068394 . Bytes outstanding
> These are the bytes used by cache ?
Yes.
If you want to graph storage use, have a look at the munin plugin for Varnish.
--
With regards,
Lasse Karstensen
Varnish Software AS
More information about the varnish-misc
mailing list