Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Varnish: Misc

Monitoring cache file usage with varnish 3

 

 

Varnish misc RSS feed   Index | Next | Previous | View Threaded


gabster at lelutin

Jul 3, 2013, 6:55 PM

Post #1 of 4 (83 views)
Permalink
Monitoring cache file usage with varnish 3

Hi there,

I've recently upgraded a cluster's caching nodes to varnish 3, and saw
that our graphs for the cache file usage were now giving no info anymore.

from what I could see, that's because the value "sm_balloc" is just not
there anymore in the output of varnishstat -1. unfortunately, I couldn't
find a replacement for it for disk-based cache files.

Is there a way to monitor usage and free space of the cache file with
varnish 3?

--
Gabriel Filion
Attachments: signature.asc (0.28 KB)


gabster at lelutin

Jul 10, 2013, 3:01 PM

Post #2 of 4 (64 views)
Permalink
Re: Monitoring cache file usage with varnish 3 [In reply to]

Hello,

bumping this to see if anyone can help.

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.

On 03/07/13 09:55 PM, Gabriel Filion wrote:
> I've recently upgraded a cluster's caching nodes to varnish 3, and saw
> that our graphs for the cache file usage were now giving no info anymore.
>
> from what I could see, that's because the value "sm_balloc" is just not
> there anymore in the output of varnishstat -1. unfortunately, I couldn't
> find a replacement for it for disk-based cache files.
>
> Is there a way to monitor usage and free space of the cache file with
> varnish 3?


--
Gabriel Filion
Attachments: signature.asc (0.28 KB)


mattias at nucleus

Jul 11, 2013, 12:06 AM

Post #3 of 4 (63 views)
Permalink
Re: Monitoring cache file usage with varnish 3 [In reply to]

>
>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.

Regards,
Mattias


_______________________________________________
varnish-misc mailing list
varnish-misc [at] varnish-cache
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc


gabster at lelutin

Jul 11, 2013, 5:27 AM

Post #4 of 4 (59 views)
Permalink
Re: Monitoring cache file usage with varnish 3 [In reply to]

On 11/07/13 03:06 AM, Mattias Geniar wrote:
>>
>> 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.

> 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.

ah, well this would make more sense.


thanks to both of you.

--
Gabriel Filion
Attachments: signature.asc (0.28 KB)

Varnish misc RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.