Monitoring cache file usage with varnish 3

Mattias Geniar mattias at
Thu Jul 11 09:06:17 CEST 2013

>any idea what I can use instead of sm_balloc for monitoring cache file?
>if my message is confusing, I can point to more detailed information.

Hi Gabriel,

You should be able to use SMF.s0.g_bytes (bytes allocated) and
SMF.s0.g_space (bytes free). To total amount of possible memory would be
the sum of both.


More information about the varnish-misc mailing list