check vcl file for errors, kill's varnishd

Mark Felder feld at feld.me
Fri Dec 11 22:12:22 CET 2015



On Fri, Dec 11, 2015, at 13:16, Johan Hendriks wrote:
> Hello all.
> 
> I use varnish 4.1 on a FreeBSD 10.2 machine. All is running fine but when
> I
> want to make a change to the config and test the changes with the
> command  varnishd -C - f /usr/local/etc/varnish/default.vcl, then I need
> to restart varnish because it does not respond anymore.
> I thought maybe this can not be done with the running config so I used a
> different file but it shows the same behavior.
> 
> Is it something I am doing wrong, has things changed with 4.1 or is it
> something else.
> 
> Thanks for your time.
> 

How did you install Varnish on FreeBSD? The lastest port
(varnish4-4.1.0_2) has some nice features such as "service varnishd
configtest" that will do the config test for you.

In my testing I have not seen this cause varnish to stop responding.

-- 
  Mark Felder
  feld at feld.me



More information about the varnish-misc mailing list