Gracefully stopping varnish

Hugues Alary hugues at
Wed Oct 18 00:27:33 UTC 2017

Hi there,

I've been looking around and I can't find a documented way of gracefully
shutting down varnishd, and by gracefully I mean tell varnish "stop
accepting connections, but finish what you were doing, then shutdown".

I did find something in the "first varnish design notes" ( which seemed to
indicate that sending SIGKILL/SIGTERM would mean "suspend/stop" but KILL
doesn't seem to work, and TERM, well... terminates but not gracefully.

I also tried using "varnishadm stop", which also doesn't gracefully stops

Is there anyway to achieve this?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the varnish-misc mailing list