Run Multiple Varnish Daemons

Jaap van Arragon j.vanarragon at lukkien.com
Thu Jul 15 16:58:36 CEST 2010


Hello,

I know it is possible to run multiple Varnish daemons on one server with the
­n option but why is it that I only see one daemon In my process list?

When I start a second daemon with the command described below I am getting
no real error.

jvanarragon at VARNISH:/var/log/varnish$ sudo /usr/sbin/varnishd -P
/var/run/testjaap.pid -a <external IP>:80 -T localhost:6082 -f
/etc/varnish/testjaap.vcl -s
file,/export/varnish/cache/varnish_storage_testlukkien.bin,1G -w 75,2500,120
-n TESTJAAP

WARNING: (-sfile) file size reduced to 22238003200 (80% of available disk
space)
NB: Storage size limited to 2GB on 32 bit architecture,
NB: otherwise we could run out of address space.
storage_file: filename: /export/varnish/cache/varnish_storage_testjaap.bin
size 2047 MB.
Using old SHMFILE

I already have a daemon started but it seems that I can¹t start a second
one.

WORKING DAEMON:

/usr/sbin/varnishd -P /var/run/jaap.pid -a <external IP>:80 -T
localhost:6082 -f /etc/varnish/jaap.vcl -s
file,/export/varnish/cache/varnish_storage.bin,2G -w 75,2500,120 -n JAAP

Thank you in advance.
Jaap

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20100715/b5194ac1/attachment-0003.html>


More information about the varnish-misc mailing list