varnishstat and memory usage

Marco Felettigh marco at
Wed Aug 7 13:00:52 CEST 2013

Hi to all,
can someone explain please what this values mean ?


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 ?
So this counter can go beyond Bytes allocated ?

SMA.s0.g_bytes   1085068394          .   Bytes outstanding
These are the bytes used by cache ?

SMA.s0.g_space   2136157078          .   Bytes available
Ok this is self explained. I hope :)

Thanks and have a nice day

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <>

More information about the varnish-misc mailing list