[Varnish] #501: Stats variable to monitor how many threads are actually doing something (n_wrk_busy): busy threads monitoring

Varnish varnish-bugs at projects.linpro.no
Wed Apr 29 19:42:41 CEST 2009


#501: Stats variable to monitor how many threads are actually doing something
(n_wrk_busy): busy threads monitoring
-------------------------------------+--------------------------------------
 Reporter:  stockrt                  |        Owner:  phk
     Type:  enhancement              |       Status:  new
 Priority:  normal                   |    Milestone:     
Component:  varnishd                 |      Version:  2.0
 Severity:  normal                   |   Resolution:     
 Keywords:  busy threads monitoring  |  
-------------------------------------+--------------------------------------
Comment (by stockrt):

 Replying to [comment:2 phk]:
 > The reason we do not have that variable presently, is that it will quite
 soon become useless if it is not properly locked.
 >
 > Properly locking it is not trivial.
 ----
 Yep, I just saw it with more load.

 Anyway, I am attaching another version, that, I believe, should be less
 error prone, but yet should suffer for concurrency problems.

 If this is not good yet (need more testing) we can forget it for a while.

 Thanks,

 Rogério Schneider

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


More information about the varnish-bugs mailing list