<HTML>
<HEAD>
<TITLE>Run Multiple Varnish Daemons</TITLE>
</HEAD>
<BODY>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Hello,<BR>
<BR>
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?<BR>
<BR>
When I start a second daemon with the command described below I am getting no real error.<BR>
<BR>
jvanarragon@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<BR>
<BR>
WARNING: (-sfile) file size reduced to 22238003200 (80% of available disk space)<BR>
NB: Storage size limited to 2GB on 32 bit architecture,<BR>
NB: otherwise we could run out of address space.<BR>
storage_file: filename: /export/varnish/cache/varnish_storage_testjaap.bin size 2047 MB.<BR>
Using old SHMFILE<BR>
<BR>
I already have a daemon started but it seems that I can’t start a second one.<BR>
<BR>
WORKING DAEMON:<BR>
<BR>
/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<BR>
<BR>
Thank you in advance.<BR>
Jaap<BR>
</SPAN></FONT>
</BODY>
</HTML>