Skip to content

Commit

Permalink
vsc: New MAIN.sc_bankrupt counter
Browse files Browse the repository at this point in the history
  • Loading branch information
Dridi authored and simonvik committed Mar 18, 2024
1 parent 727a5f8 commit 42a10e9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions include/tbl/sess_close.h
Expand Up @@ -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 */
8 changes: 8 additions & 0 deletions lib/libvsc/VSC_main.vsc
Expand Up @@ -657,6 +657,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
Expand Down

0 comments on commit 42a10e9

Please sign in to comment.