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

Mailing List Archive: Varnish: Misc

Re: [225-19709AAD-074D] Re: Monitoring cache file usage with varnish 3

 

 

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


gabster at lelutin

Jul 10, 2013, 7:40 PM

Post #1 of 1 (57 views)
Permalink
Re: [225-19709AAD-074D] Re: Monitoring cache file usage with varnish 3

Hi there, [.bringing this back to the list since it doesn't seem like
your message was purposefully aimed at just me]

On 10/07/13 06:33 PM, Suporte Cloud - RedeHost wrote:
> Found in research on the internet the following link, I believe it has
> enough information about Varnish and its tools.
>
> http://www.devin.com.br/varnish-logs/

ah, thanks. I think I was able to make out enough parts of the
portuguese to understand :)

> Hope this helps, if you have more questions or have understood your
> question earlier bad, ask you to return your difficulty explaining in
> more detail.

hmm so according to this page, the values:

SMF.s0.g_bytes and SMF.s0.g_space should represent the cache usage /
total, have I read this out correctly?

If I calculate with what I have:

SMF.s0.g_bytes 256258048 . Bytes outstanding
SMF.s0.g_space 817483776 . Bytes available

it gives roughly 245Mb used over roughly 780Mb total for the cache.

but in /etc/default/varnish I have the following as an argument to the
daemon:

INSTANCE=$(uname -n)
DAEMON_OPTS="#[...irrelevant] \
-s file,/var/lib/varnish/$INSTANCE/varnish_storage.bin,1G"

# ls -l /var/lib/varnish/cache01/varnish_storage.bin
-rw------- 1 root root 1073741824 Jul 10 22:35
/var/lib/varnish/cache01/varnish_storage.bin

so I'm wondering whether the cache file is not used entirely or else the
values don't correspond to the cache file's usage and total size..

> ------------------------------------------------------------------------
> *De*: Gabriel Filion <gabster [at] lelutin>
> *Enviado*: qua, 10 jul 2013 19:20:30 -0300
> *Para*: "varnish-misc [at] varnish-cache" <varnish-misc [at] varnish-cache>
> *Assunto*: Re: Monitoring cache file usage with varnish 3
>
> 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
>


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