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
b201fc70
Commit
b201fc70
authored
Feb 16, 2018
by
Shohei Tanaka(@xcir)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rename nuke_limited -> n_lru_limited
parent
3a1f45d0
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
8 deletions
+8
-8
VSC_main.vsc
bin/varnishd/VSC_main.vsc
+6
-6
storage_lru.c
bin/varnishd/storage/storage_lru.c
+1
-1
r01764.vtc
bin/varnishtest/tests/r01764.vtc
+1
-1
No files found.
bin/varnishd/VSC_main.vsc
View file @
b201fc70
...
...
@@ -253,12 +253,6 @@
Number of times an HTTP/2 stream was refused because the queue was
too long already. See also parameter thread_queue_limit.
.. varnish_vsc:: nuke_limited
:oneliner: Reached nuke_limit
Number of times more storage space were needed, but limit was reached in
a nuke_limit. See also parameter nuke_limit.
.. varnish_vsc:: n_object
:type: gauge
:oneliner: object structs made
...
...
@@ -313,6 +307,12 @@
Number of move operations done on the LRU list.
.. varnish_vsc:: n_lru_limited
:oneliner: Reached nuke_limit
Number of times more storage space were needed, but limit was reached in
a nuke_limit. See also parameter nuke_limit.
.. varnish_vsc:: losthdr
:oneliner: HTTP header overflows
...
...
bin/varnishd/storage/storage_lru.c
View file @
b201fc70
...
...
@@ -172,7 +172,7 @@ LRU_NukeOne(struct worker *wrk, struct lru *lru)
if
(
wrk
->
strangelove
--
<=
0
)
{
VSLb
(
wrk
->
vsl
,
SLT_ExpKill
,
"LRU reached nuke_limit"
);
VSC_C_main
->
n
uke
_limited
++
;
VSC_C_main
->
n
_lru
_limited
++
;
return
(
0
);
}
...
...
bin/varnishtest/tests/r01764.vtc
View file @
b201fc70
...
...
@@ -53,4 +53,4 @@ client c1 {
expect resp.status == 503
} -run
varnish v1 -expect n
uke
_limited == 1
varnish v1 -expect n
_lru
_limited == 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