[master] b201fc7 rename nuke_limited -> n_lru_limited
Shohei Tanaka (@xcir)
kokoniimasu+git at gmail.com
Mon Feb 19 08:44:08 UTC 2018
commit b201fc70d736e45051b481c7bf8000c9c0cf80d8
Author: Shohei Tanaka(@xcir) <kokoniimasu+git at gmail.com>
Date: Fri Feb 16 20:19:40 2018 +0900
rename nuke_limited -> n_lru_limited
diff --git a/bin/varnishd/VSC_main.vsc b/bin/varnishd/VSC_main.vsc
index 601cef7..fd9a4e6 100644
--- a/bin/varnishd/VSC_main.vsc
+++ b/bin/varnishd/VSC_main.vsc
@@ -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
diff --git a/bin/varnishd/storage/storage_lru.c b/bin/varnishd/storage/storage_lru.c
index e58ccf6..d5dcf6a 100644
--- a/bin/varnishd/storage/storage_lru.c
+++ b/bin/varnishd/storage/storage_lru.c
@@ -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->nuke_limited++;
+ VSC_C_main->n_lru_limited++;
return (0);
}
diff --git a/bin/varnishtest/tests/r01764.vtc b/bin/varnishtest/tests/r01764.vtc
index 0dc1cb3..4255063 100644
--- a/bin/varnishtest/tests/r01764.vtc
+++ b/bin/varnishtest/tests/r01764.vtc
@@ -53,4 +53,4 @@ client c1 {
expect resp.status == 503
} -run
-varnish v1 -expect nuke_limited == 1
+varnish v1 -expect n_lru_limited == 1
More information about the varnish-commit
mailing list