a couple of questions about -spersistent

Poul-Henning Kamp phk at phk.freebsd.dk
Thu Jun 17 20:22:11 CEST 2010


In message <4C1A26A0.2090001 at gmail.com>, Rob S writes:

>Can someone who knows more about this feature add some comment here?

Sorry about being somewhat offline-ish.

-spersistent is still experimental.

It should work and keep objects *in closed segments* across both
child and parent process restarts.

The first requirement for this to work, is that it actuall finds
the same file on the disk again when you start.

The second is that the segments must be closed, that means that
either the segment is full or a orderly shutdown of the child
process must happen.

If you start varnish, do one requst, kill -9' it, it will not
work, as the segment is not closed.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.



More information about the varnish-misc mailing list