[Varnish] #1130: varnishncsa -d makes it exit(0) after processing old entries
Varnish
varnish-bugs at varnish-cache.org
Mon Apr 30 14:18:51 CEST 2012
#1130: varnishncsa -d makes it exit(0) after processing old entries
-------------------+--------------------------------------------------------
Reporter: bz | Type: defect
Status: new | Priority: normal
Milestone: | Component: varnishncsa
Version: 3.0.2 | Severity: normal
Keywords: |
-------------------+--------------------------------------------------------
When starting varnishncsa with -d to handle old log entries as well it
will quickly terminate without error.
The problem is:
-d will set F_NON_BLOCKING,
which will make vsl_nextlog return -1 eventually,
making VSL_NextLog return -1,
making VSL_Dispatch - you guessed it - return -1,
which means the loop at the end of varnishncsa will terminate and
varnishncsa will exit(0);
--
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1130>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator
More information about the varnish-bugs
mailing list