[7.4] 76eb2d46b vsc: New MAIN.sc_bankrupt counter
Simon Stridsberg
simon.stridsberg at varnish-software.com
Mon Mar 18 18:25:08 UTC 2024
commit 76eb2d46bc188031875e0807846a8b790bb588d5
Author: Dridi Boukelmoune <dridi.boukelmoune at gmail.com>
Date: Thu Nov 16 16:58:55 2023 +0100
vsc: New MAIN.sc_bankrupt counter
diff --git a/include/tbl/sess_close.h b/include/tbl/sess_close.h
index f15d34a64..1fc5b648e 100644
--- a/include/tbl/sess_close.h
+++ b/include/tbl/sess_close.h
@@ -51,6 +51,7 @@ SESS_CLOSE(RANGE_SHORT, range_short, 1, "Insufficient data for range")
SESS_CLOSE(REQ_HTTP20, req_http20, 1, "HTTP2 not accepted")
SESS_CLOSE(VCL_FAILURE, vcl_failure, 1, "VCL failure")
SESS_CLOSE(RAPID_RESET, rapid_reset, 1, "HTTP2 rapid reset")
+SESS_CLOSE(BANKRUPT, bankrupt, 1, "HTTP2 credit bankruptcy")
#undef SESS_CLOSE
/*lint -restore */
diff --git a/lib/libvsc/VSC_main.vsc b/lib/libvsc/VSC_main.vsc
index 14f3e266f..4a4a527a5 100644
--- a/lib/libvsc/VSC_main.vsc
+++ b/lib/libvsc/VSC_main.vsc
@@ -651,6 +651,14 @@
configured limits for the number of permitted rapid stream
resets.
+.. varnish_vsc:: sc_bankrupt
+ :level: diag
+ :oneliner: Session Err BANKRUPT
+
+ Number of times we failed an http/2 session because all the streams
+ were waiting for their windows to be credited when h2_window_timeout
+ triggered.
+
.. varnish_vsc:: client_resp_500
:level: diag
:group: wrk
More information about the varnish-commit
mailing list