[Varnish] #54: varnishstat gives improbable numbers

Varnish varnish-bugs at projects.linpro.no
Fri Jun 20 16:55:46 CEST 2008


#54: varnishstat gives improbable numbers
-------------------------+--------------------------------------------------
 Reporter:  bjorn        |        Owner:  phk    
     Type:  defect       |       Status:  closed 
 Priority:  normal       |    Milestone:         
Component:  varnishstat  |      Version:         
 Severity:  normal       |   Resolution:  wontfix
 Keywords:               |  
-------------------------+--------------------------------------------------
Changes (by phk):

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

Comment:

 This is a known issue, which have no general solution.

 The problem is that multiple threads may try to update the counters at the
 same time and if they race, updates may get lost.

 We try to minimize cases where this happens by updating counters under
 appropriate locks, but this is not always feasible.

 In the few remaining cases, the overhead and contention on a dedicated
 lock for the counters would be significant.

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


More information about the varnish-bugs mailing list