Multiple DAEMON_OPTS -p paramter

Javier Casares javier at casares.org
Sun May 13 20:34:46 CEST 2012


My sysconfig file lately is like this:


NFILES=102400
MEMLOCK=131072
DAEMON_COREFILE_LIMIT="unlimited"
DAEMON_OPTS="-a 000.000.000.000:80 \
-T 000.000.000.000:6082 \
-f /etc/varnish/default.vcl \
-S /etc/varnish/secret \
-u varnish -g varnish \
-t 300 \
-w 100,4000,60 \
-p between_bytes_timeout=60 \
-p connect_timeout=5 \
-p default_grace=1800 \
-p first_byte_timeout=30 \
-p session_max=10240 \
-s malloc,1G \
-s file,/var/lib/varnish/varnish_storage.bin,20G"

Javier Casares
http://javiercasares.com/


2012/5/13 Jon Hauge <jon.hauge at relationhouse.com>:
> Can somebody help me debug this –p parameter:
>
>
>
> DAEMON_OPTS="-a :80  \
>
>              -f /etc/varnish/viasat_default.vcl \
>
>              -S /etc/varnish/secret \
>
>              -s malloc,4G \
>
> -p send_timeout=600, max_restarts=9"
>
>
>
> I am not sure if it’s the comma that causes varnish not to start.
>
>
> _______________________________________________
> varnish-misc mailing list
> varnish-misc at varnish-cache.org
> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc



More information about the varnish-misc mailing list