Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Varnish: Misc

Multiple DAEMON_OPTS -p paramter

 

 

Varnish misc RSS feed   Index | Next | Previous | View Threaded


jon.hauge at relationhouse

May 13, 2012, 11:30 AM

Post #1 of 3 (420 views)
Permalink
Multiple DAEMON_OPTS -p paramter

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.


javier at casares

May 13, 2012, 11:34 AM

Post #2 of 3 (398 views)
Permalink
Re: Multiple DAEMON_OPTS -p paramter [In reply to]

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>:
> 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
> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc

_______________________________________________
varnish-misc mailing list
varnish-misc [at] varnish-cache
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc


cosimo at streppone

May 13, 2012, 11:34 AM

Post #3 of 3 (403 views)
Permalink
Re: Multiple DAEMON_OPTS -p paramter [In reply to]

On Sun, 13 May 2012 20:30:11 +0200, Jon Hauge
<jon.hauge [at] relationhouse> wrote:

> 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"

Try this:

DAEMON_OPTS="-a :80 \
-f /etc/varnish/viasat_default.vcl \
-S /etc/varnish/secret \
-s malloc,4G \
-p send_timeout=600 \
-p max_restarts=9"

--
Cosimo

_______________________________________________
varnish-misc mailing list
varnish-misc [at] varnish-cache
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc

Varnish misc RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.