[Varnish] #642: log buffer (VSL) can get corrupted

Varnish varnish-bugs at projects.linpro.no
Thu Feb 4 09:17:28 CET 2010


#642: log buffer (VSL) can get corrupted
------------------------+---------------------------------------------------
 Reporter:  Tv          |        Owner:  phk  
     Type:  defect      |       Status:  new  
 Priority:  normal      |    Milestone:       
Component:  varnishlog  |      Version:  trunk
 Severity:  normal      |   Resolution:       
 Keywords:              |  
------------------------+---------------------------------------------------
Comment (by phk):

 Well, the corruption would have to come from varnishd, since varnishlog
 opens the shared memory segment read-only.

 We've seen things like it, if two varnishd processes were started with the
 same (or no) -n argument.

 A recent commit added some pid-checks to try to prevent that.

 Is there any chance that two concurrent varnishd processes could explain
 your observation ?

 Typically it would be something like killing varnishd (the master process)
 and restarting it, before the worker process of the first varnishd had
 terminated.

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


More information about the varnish-bugs mailing list