Commit 242dcf06 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Add a counter for "killed from waiting list"

parent 9fbcb4e9
......@@ -539,7 +539,9 @@ hsh_rush(struct worker *wrk, struct objhead *oh)
* In case of overloads, we ditch the entire
* waiting list.
*/
wrk->stats->busy_wakeup--;
while (1) {
wrk->stats->busy_killed++;
AN (req->vcl);
VCL_Rel(&req->vcl);
sp = req->sp;
......
......@@ -293,6 +293,12 @@ VSC_F(busy_wakeup, uint64_t, 1, 'c', info,
" and rescheduled."
)
VSC_F(busy_killed, uint64_t, 1, 'c', info,
"Number of requests killed after sleep on busy objhdr",
"Number of requests killed from the busy object sleep list"
" due to lack of resources."
)
VSC_F(sess_queued, uint64_t, 0, 'c', info,
"Sessions queued for thread",
"Number of times session was queued waiting for a thread."
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment