Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnish-cache
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
varnishcache
varnish-cache
Commits
242dcf06
Commit
242dcf06
authored
Oct 20, 2014
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add a counter for "killed from waiting list"
parent
9fbcb4e9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
cache_hash.c
bin/varnishd/cache/cache_hash.c
+2
-0
vsc_f_main.h
include/tbl/vsc_f_main.h
+6
-0
No files found.
bin/varnishd/cache/cache_hash.c
View file @
242dcf06
...
...
@@ -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
;
...
...
include/tbl/vsc_f_main.h
View file @
242dcf06
...
...
@@ -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."
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment