How execute Varnish 3 on debug mode.

When I started with Varnish 3, one of things that help me to research is discover how execute Varnish 3 on debug mode.

I don’t know if the before version has got this option but this mode is great for research.

The command it is:

View Code SHELL
1
# /usr/sbin/varnishd -F -f /etc/varnish/default.vcl -u varnish -g varnish -a :81 -n test_instance -s file,/tmp/varnish_storage.bin,10M

Next, a little explain that what is this parameters:

F
Start the Varnish daemon on foreground.
f
Location on where is the configuration that execute the Varnish debug
u and g
User and group that execute the daemon
a
Port that Varnish is listening on this new instance
n
Name that called this instance of Varnish
s
Format, location and max size that have the Varnish cache

Leave a Reply

Your email address will not be published. Required fields are marked *