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
34725484
Commit
34725484
authored
Oct 10, 2018
by
Dag Haavi Finstad
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add ws_backend_overflow counter
parent
ff31e8af
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
0 deletions
+12
-0
VSC_main.vsc
bin/varnishd/VSC_main.vsc
+7
-0
cache_busyobj.c
bin/varnishd/cache/cache_busyobj.c
+3
-0
r01739.vtc
bin/varnishtest/tests/r01739.vtc
+1
-0
r01990.vtc
bin/varnishtest/tests/r01990.vtc
+1
-0
No files found.
bin/varnishd/VSC_main.vsc
View file @
34725484
...
...
@@ -594,6 +594,13 @@
Number of times we failed a response due to running out of
workspace memory during delivery.
.. varnish_vsc:: ws_backend_overflow
:level: diag
:group: wrk
:oneliner: workspace_backend overflows
Number of times we ran out of space in workspace_backend.
.. varnish_vsc:: shm_records
:level: diag
:oneliner: SHM records
...
...
bin/varnishd/cache/cache_busyobj.c
View file @
34725484
...
...
@@ -167,6 +167,9 @@ VBO_ReleaseBusyObj(struct worker *wrk, struct busyobj **pbo)
AZ
(
bo
->
htc
);
if
(
WS_Overflowed
(
bo
->
ws
))
wrk
->
stats
->
ws_backend_overflow
++
;
if
(
bo
->
fetch_objcore
!=
NULL
)
{
AN
(
wrk
);
(
void
)
HSH_DerefObjCore
(
wrk
,
&
bo
->
fetch_objcore
,
...
...
bin/varnishtest/tests/r01739.vtc
View file @
34725484
...
...
@@ -27,3 +27,4 @@ client c1 {
} -run
logexpect l1 -wait
varnish v1 -expect ws_backend_overflow == 1
bin/varnishtest/tests/r01990.vtc
View file @
34725484
...
...
@@ -40,3 +40,4 @@ client c1 {
} -run
logexpect l1 -wait
varnish v1 -expect ws_backend_overflow == 1
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