cache empties itself?

Sascha Ottolski ottolski at web.de
Fri Apr 4 09:01:57 CEST 2008


Am Freitag 04 April 2008 01:32:28 schrieb DHF:
> Sascha Ottolski wrote:
> > however, my main problem is currently that the varnish childs keep
> > restarting, and that this empties the cache, which effectively
> > renders the whole setup useless for me :-( if the cache has filled
> > up, it works great, if it restarts empty, obviously it doesn't.
> >
> > is there anything I can do to prevent such restarts?
>
> Varnish doesn't just restart on its own.  Check to make sure you
> aren't sending a kill signal if you are running logrotate through a
> cronjob. I'm not sure if a HUP will empty the cache or not.
>
> --Dave

I definetely did nothing like this, I've observed restarts "out of the 
blue". I'm no giving the trunk a try, hopefully there's an improvement 
to that matter.

what I did once in a while is to vcl.load, vcl.use. will this force a 
restart of the child, thus flushing the cache?


Thanks again,

Sascha



More information about the varnish-misc mailing list