Persistent storage on varnish 3.0.0
Pierre-Gilles Mialon
pmialon at free.fr
Fri Jul 15 14:29:30 CEST 2011
Le mercredi 13 juillet 2011 16:41:43, Pierre-Gilles Mialon a écrit :
> Hi,
>
>
> We try to use persistent storage with varnish 3.0.0,
> we run:
> varnishd -d -a :80 -f /etc/varnish/default.vcl -s
> persistent,/var/lib/varnish/instance/A.shm,10M
>
> On linux during the startup of varnishd the output mention:
> CHK(0x7f1bbd81d0a0 SILO 0x7f1bbc7e1000 SILO) = 3
>
> And the persistent storage is reset.
I update this email,
We found a workaround for Linux detailed in:
https://www.varnish-cache.org/trac/ticket/962
> We try the same option with varnish 3.0.0 on amd64 arch
> with the package and the latest git sources:
>
> gcc-version | 4.2 | 4.4 | 4.6 |
> ------------------------------------------
> FreeBSD 8.2 | OK | - | KO |
> Debian 6 | - | KO | KO |
> Debian sid | - | KO | KO |
> Fedora 15 | - | - | KO |
> ------------------------------------------
>
> We test using the following procedure:
> . launch varnishd with the command below
> . start child
> . varnishreplay a log file
> . display the number of object (~1000):
> varnishstat -1 | grep '^n_objec'
> . stop child
> . start child
> . display the number of object
> . stop child
> . quit
> . relaunch the daemon
> . start child
> . display the number of object
>
>
> before quit command, varnish persistent storage work, if we quit,
> it only works on FreeBSD with gcc 4.2
>
>
> Is it a known issue ?
>
> Thanks for your help.
--
Pierre-Gilles Mialon
Yakaz
--
Pierre-Gilles Mialon
15 rue du puits de l'Ermite
75005 Paris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20110715/3543b509/attachment-0003.pgp>
More information about the varnish-misc
mailing list