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
dda7185c
Commit
dda7185c
authored
Oct 11, 2018
by
Dag Haavi Finstad
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add ws_thread_overflow counter
See details in r02275.vtc for why there isn't a test case for this.
parent
16df092f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
0 deletions
+9
-0
VSC_main.vsc
bin/varnishd/VSC_main.vsc
+7
-0
cache_wrk.c
bin/varnishd/cache/cache_wrk.c
+2
-0
No files found.
bin/varnishd/VSC_main.vsc
View file @
dda7185c
...
@@ -608,6 +608,13 @@
...
@@ -608,6 +608,13 @@
Number of times we ran out of space in workspace_client.
Number of times we ran out of space in workspace_client.
.. varnish_vsc:: ws_thread_overflow
:level: diag
:group: wrk
:oneliner: workspace_thread overflows
Number of times we ran out of space in workspace_thread.
.. varnish_vsc:: shm_records
.. varnish_vsc:: shm_records
:level: diag
:level: diag
:oneliner: SHM records
:oneliner: SHM records
...
...
bin/varnishd/cache/cache_wrk.c
View file @
dda7185c
...
@@ -394,6 +394,8 @@ Pool_Work_Thread(struct pool *pp, struct worker *wrk)
...
@@ -394,6 +394,8 @@ Pool_Work_Thread(struct pool *pp, struct worker *wrk)
tp
=
&
tpx
;
tp
=
&
tpx
;
}
while
(
tp
->
func
!=
NULL
);
}
while
(
tp
->
func
!=
NULL
);
if
(
WS_Overflowed
(
wrk
->
aws
))
wrk
->
stats
->
ws_thread_overflow
++
;
/* cleanup for next task */
/* cleanup for next task */
wrk
->
seen_methods
=
0
;
wrk
->
seen_methods
=
0
;
}
}
...
...
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