Best Practices - Suggestions Request

Dag-Erling Smørgrav des at linpro.no
Thu Jun 28 14:51:24 CEST 2007


Trond Michelsen <mike at crusaders.no> writes:
> We're running Varnish 1.0.3, so this might not be related, but we've
> also run into a bug that causes varnish to die.

1.0.3 has numerous known bugs...

> In our setup, varnish is prone to crash if /tmp is cleaned up (we had
> a process that removed all files that hadn't been accessed in 7 days
> from /tmp). What happened in our case was that something (we couldn't
> figure out what) would make varnish reload the vcl-files. I'm not sure
> why it would read these files from /tmp, but I'm guessing this is
> where varnish places the compiled versions. Anyway - if these files
> were missing, all varnish processes would simply die.

If  the child process dies (due to a bug or running out of space), it
will not be able to restart without the compiled VCL file, and the
parent will probably bail out...

DES
-- 
Dag-Erling Smørgrav
Senior Software Developer
Linpro AS - www.linpro.no



More information about the varnish-misc mailing list