Repository navigation
Closed
Labels
Description
I am realizing that I depend on an undocumented behavior. The overload manager triggers when memory usage reaches 80% and stops accepting requests:
| return uint64(float64(memLimitBytes) * 0.8) |
gateway/internal/xds/bootstrap/bootstrap.yaml.tpl
Lines 322 to 345 in 8e813bd
| overload_manager: | |
| refresh_interval: 0.25s | |
| resource_monitors: | |
| - name: "envoy.resource_monitors.global_downstream_max_connections" | |
| typed_config: | |
| "@type": type.googleapis.com/envoy.extensions.resource_monitors.downstream_connections.v3.DownstreamConnectionsConfig | |
| max_active_downstream_connections: 50000 | |
| {{- with .OverloadManager.MaxHeapSizeBytes }} | |
| - name: "envoy.resource_monitors.fixed_heap" | |
| typed_config: | |
| "@type": type.googleapis.com/envoy.extensions.resource_monitors.fixed_heap.v3.FixedHeapConfig | |
| max_heap_size_bytes: {{ . }} | |
| actions: | |
| - name: "envoy.overload_actions.shrink_heap" | |
| triggers: | |
| - name: "envoy.resource_monitors.fixed_heap" | |
| threshold: | |
| value: 0.95 | |
| - name: "envoy.overload_actions.stop_accepting_requests" | |
| triggers: | |
| - name: "envoy.resource_monitors.fixed_heap" | |
| threshold: | |
| value: 0.98 | |
| {{- end }} |
I have configured the HorizontalPodAutoscaler threshold to a lower value, so I would consider any change that lower the overload manager threshold below it, a breaking change.
Maybe a new "Overload Manager" page under Traffic? Although it is not really a "task" since it is not configurable at the moment (#3604)
Activity
arkodg commentedon Apr 19, 2026
sure, +1 https://gateway.envoyproxy.io/docs/tasks/operations/ feels like a nice home to outline these
MateSousa commentedon Sep 27, 2026
@arkodg Can I work on this?