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

Varnish varnish-bugs at projects.linpro.no
Wed Feb 10 10:22:18 CET 2010

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

  * status:  new => closed
  * resolution:  => fixed


 The main cause of shmlog trashing we have seen, have been multiple worker-
 processes running at the same time.  Last week I added a pid-check, so
 that the shmlog is blown away, pretty much like you suggest, if we
 perceive a risk that there is a running worker process writing to it

 I won't rule out other causes of shmlog corruption, but in general our
 policy is to not paper over problems, for instance by needlessly blowing
 the vsl file away, we much prefer to find the cause and fix it.

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

More information about the varnish-bugs mailing list