Antw: Re: varnish cache gets randomly cleared

Anton Kornexl Anton.Kornexl at Uni-Passau.De
Wed Apr 23 09:56:14 CEST 2014


>>> James Pearson <james at ifixit.com> schrieb am Mittwoch, 23. April 2014
um 01:01
in Nachricht <1398207610-sup-1311 at geror.local>:
> Excerpts from Anton Kornexl's message of 2014-04-22 07:30:23 -0700:
>> > On Thu, Apr 17, 2014 at 04:38:58PM +0200, Anton Kornexl wrote:
>> >> Hello,
>> >> 
>> >> how do i find out why  varnish cache gets cleared randomly.
>> 
>> no nuked objects 
>> n_expired              1461928          .   N expired objects
>> n_lru_nuked                  0          .   N LRU nuked objects
>> n_lru_moved            4774281          .   N LRU moved objects
>> 
>> no panic:
>> varnish> panic.show
>> 300
>> Child has not panicked or panic has been cleared
>> 
>> varnishstat shows:
>> 
>> 14+07:39:55 in the first line 
>> 
>> but twice a cleared cache in this period (14 days)
> 
> How did you determine the cache is cleared?
>  - P

Hello,

i'm monitoring the number of storage objects / the nuked objects
(n_object/n_lru_nuked) and the free / busy storage
(SMF.s0.g_space/SMF.s0.g_bytes) with mrtg (values from varnishstat)

Both graphs indicate a cleared cache at the same time 
the number of objects drop from about 20 000 to nearly zero 
the busy storage drops from one GB to about zero bytes (the free
stroage goes up from some intermediate value to 100%)

-- 
Kind regards

Anton Kornexl

Rechenzentrum Universität Passau
Innstr. 33
D-94032 Passau
Tel.: 0851/509-1812
Fax:  0851/509-1802

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Kornexl, Anton.vcf
Type: application/octet-stream
Size: 244 bytes
Desc: not available
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20140423/c299e6af/attachment.obj>


More information about the varnish-misc mailing list