mirror of
http://git.haproxy.org/git/haproxy.git
synced 2026-02-26 21:18:04 +02:00
MINOR: quic: add counter for interrupted reception
Add a new counter "quic_rxbuf_full". It is incremented each time quic_sock_fd_iocb() is interrupted on full buffer. This should help to debug github issue #1903. It is suspected that QUIC receiver buffers are full which in turn cause quic_sock_fd_iocb() to be called repeatedly resulting in a high CPU consumption.
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
extern struct stats_module quic_stats_module;
|
||||
|
||||
enum {
|
||||
QUIC_ST_RXBUF_FULL,
|
||||
QUIC_ST_DROPPED_PACKET,
|
||||
QUIC_ST_DROPPED_PACKET_BUFOVERRUN,
|
||||
QUIC_ST_DROPPED_PARSING,
|
||||
@@ -52,6 +53,7 @@ enum {
|
||||
};
|
||||
|
||||
struct quic_counters {
|
||||
long long rxbuf_full; /* receive operation cancelled due to full buffer */
|
||||
long long dropped_pkt; /* total number of dropped packets */
|
||||
long long dropped_pkt_bufoverrun;/* total number of dropped packets because of buffer overrun */
|
||||
long long dropped_parsing; /* total number of dropped packets upon parsing errors */
|
||||
|
||||
Reference in New Issue
Block a user