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

Mailing List Archive: Varnish: Bugs

#1130: varnishncsa -d makes it exit(0) after processing old entries

 

 

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


varnish-bugs at varnish-cache

Apr 30, 2012, 5:18 AM

Post #1 of 4 (166 views)
Permalink
#1130: varnishncsa -d makes it exit(0) after processing old entries

#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

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


varnish-bugs at varnish-cache

Oct 29, 2012, 4:36 AM

Post #2 of 4 (90 views)
Permalink
Re: #1130: varnishncsa -d makes it exit(0) after processing old entries [In reply to]

#1130: varnishncsa -d makes it exit(0) after processing old entries
-------------------------+--------------------
Reporter: bz | Owner: daghf
Type: defect | Status: new
Priority: normal | Milestone:
Component: varnishncsa | Version: 3.0.2
Severity: normal | Resolution:
Keywords: |
-------------------------+--------------------
Changes (by daghf):

* owner: => daghf


--
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1130#comment:1>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator

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


varnish-bugs at varnish-cache

Feb 4, 2013, 6:18 AM

Post #3 of 4 (60 views)
Permalink
Re: #1130: varnishncsa -d makes it exit(0) after processing old entries [In reply to]

#1130: varnishncsa -d makes it exit(0) after processing old entries
-------------------------+---------------------
Reporter: bz | Owner: martin
Type: defect | Status: new
Priority: normal | Milestone:
Component: varnishncsa | Version: 3.0.2
Severity: normal | Resolution:
Keywords: |
-------------------------+---------------------
Changes (by martin):

* owner: daghf => martin


--
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1130#comment:2>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator

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


varnish-bugs at varnish-cache

Feb 4, 2013, 6:22 AM

Post #4 of 4 (60 views)
Permalink
Re: #1130: varnishncsa -d makes it exit(0) after processing old entries [In reply to]

#1130: varnishncsa -d makes it exit(0) after processing old entries
-------------------------+---------------------
Reporter: bz | Owner: martin
Type: defect | Status: new
Priority: normal | Milestone:
Component: varnishncsa | Version: 3.0.2
Severity: normal | Resolution:
Keywords: |
-------------------------+---------------------

Comment (by bz):

Private notes to not forget things mentioned:

- split buffers (multiple segments). Could dynamically re-adjust.
- API changes
+ allow "blocking" varnishd if readers can't keep up?
- multiple knobs:
+ for dump and exit, and
+ dump and continue
(after-the-facts debugging vs. startup).

Whatever will go into the new varnish logging API changes etc. for 4 as
discussed at VDD13Q1.

--
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1130#comment:3>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator

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

Varnish bugs 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.