[master] 145d6e5 Make the error message for nuke_limit reached more helpful

Nils Goroll nils.goroll at uplex.de
Sun Nov 5 09:56:06 UTC 2017


commit 145d6e554e36fb794c3805712d6f753048d47a75
Author: Nils Goroll <nils.goroll at uplex.de>
Date:   Sun Nov 5 10:54:47 2017 +0100

    Make the error message for nuke_limit reached more helpful
    
    Relates to #2480

diff --git a/bin/varnishd/storage/storage_lru.c b/bin/varnishd/storage/storage_lru.c
index 32d142e..6ebff17 100644
--- a/bin/varnishd/storage/storage_lru.c
+++ b/bin/varnishd/storage/storage_lru.c
@@ -171,7 +171,7 @@ LRU_NukeOne(struct worker *wrk, struct lru *lru)
 	CHECK_OBJ_NOTNULL(lru, LRU_MAGIC);
 
 	if (wrk->strangelove-- <= 0) {
-		VSLb(wrk->vsl, SLT_ExpKill, "LRU_Exhausted");
+		VSLb(wrk->vsl, SLT_ExpKill, "LRU reached nuke_limit");
 		return (0);
 	}
 


More information about the varnish-commit mailing list