[master] 98340a5 Clarified the documentation on vsm_overflow[ed]

Martin Blix Grydeland martin at varnish-software.com
Thu Mar 10 12:01:08 CET 2016


commit 98340a5fb010d29bdbd47c479f964c25a1cdd714
Author: Pål Hermunn Johansen <hermunn at varnish-software.com>
Date:   Wed Mar 9 16:38:29 2016 +0100

    Clarified the documentation on vsm_overflow[ed]
    
    In most circumstances the counters vsm_overflow and vsm_overflowed
    should be zero. This patch tells the user what he should probably do
    when they are not.

diff --git a/include/tbl/vsc_f_main.h b/include/tbl/vsc_f_main.h
index 1a01341..4fdd691 100644
--- a/include/tbl/vsc_f_main.h
+++ b/include/tbl/vsc_f_main.h
@@ -625,6 +625,8 @@ VSC_F(vsm_overflow,		uint64_t, 0, 'g', 'B', diag,
 	"Number of bytes which does not fit"
 	" in the shared memory used to communicate"
 	" with tools like varnishstat, varnishlog etc."
+	" If this counter is not zero, consider"
+	" increasing the runtime variable vsm_space."
 )
 
 VSC_F(vsm_overflowed,		uint64_t, 0, 'c', 'B', diag,
@@ -632,4 +634,6 @@ VSC_F(vsm_overflowed,		uint64_t, 0, 'c', 'B', diag,
 	"Total number of bytes which did not fit"
 	" in the shared memory used to communicate"
 	" with tools like varnishstat, varnishlog etc."
+	" If this counter is not zero, consider"
+	" increasing the runtime variable vsm_space."
 )



More information about the varnish-commit mailing list