[Varnish] #632: Varnish fails to accept connections in deamon mode.

Varnish varnish-bugs at projects.linpro.no
Tue Mar 9 20:29:14 CET 2010


#632: Varnish fails to accept connections in deamon mode.
---------------------+------------------------------------------------------
 Reporter:  victori  |        Owner:       
     Type:  defect   |       Status:  new  
 Priority:  high     |    Milestone:       
Component:  build    |      Version:  trunk
 Severity:  normal   |   Resolution:       
 Keywords:           |  
---------------------+------------------------------------------------------
Comment (by jan):

 I can confirm this. did a little bit of debugging and it looks like a race
 condition:

  1. parent compiles vcl file
  2. forks child process
  3. tells child to load compiled file
  4. exits
  5. unlinks compiled vcl in mgt_vcc_atexit
  6. child tries to load compiled vcl => not found

 If 5. happens before 6. the child process won't find the file. Removing
 unlink() fixes the problem (but is obviously not a solution)

-- 
Ticket URL: <http://varnish-cache.org/ticket/632#comment:1>
Varnish <http://varnish.projects.linpro.no/>
The Varnish HTTP Accelerator


More information about the varnish-bugs mailing list