envoyproxy/envoy

Connection Limit filter reporting 18 quintillion active connections

Open

#22,127 opened on Jul 12, 2022

View on GitHub
 (7 comments) (1 reaction) (0 assignees)C++ (5,373 forks)batch import
area/ratelimitbughelp wanted

Repository metrics

Stars
 (27,997 stars)
PR merge metrics
 (Avg merge 8d) (378 merged PRs in 30d)

Description

We have observed that Envoy with the Connection Limit Filter configured, at some point will report 2**64 active connections for the metric envoy.connection_limit.<listener>.active_connections.

This seems suspicious and could be indicative of some integer overflow.

This did not result in a crash, but did result in some connections being limited when it was not intended.

We configured the filter with a max_connections of 56000 and delay of 500ms

Contributor guide