[Varnish] #1183: n_wrk_max has a random initial value

Varnish varnish-bugs at varnish-cache.org
Wed Aug 15 13:51:08 CEST 2012

#1183: n_wrk_max has a random initial value
 Reporter:  dlec      |       Owner:  martin
     Type:  defect    |      Status:  new
 Priority:  low       |   Milestone:
Component:  varnishd  |     Version:  3.0.2
 Severity:  minor     |  Resolution:
 Keywords:            |

Comment (by martin):

 Verified this on 3.0 Varnish, so not specific to streaming branch. Caused
 by a race on startup on the global nthr_max variable between
 wrk_herdtimer_thread and wrk_herder_thread.

 It happens if the wrk_herder_thread wins the race and tries to create
 threads before wrk_herdtimer_thread has updated the nthr_max variable from
 the current parameters.

 Not applicable to current trunk.

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

More information about the varnish-bugs mailing list