Comments (5)
[2024-05-09 11:15:14.963][11636530][debug][http] [source/common/http/conn_manager_impl.cc:1939] [Tags: "ConnectionId":"0","StreamId" :"13380574157739000950"] Disabling upstream stream due to downstream stream watermark.
For a slow downstream, stream buffer's watermark is high and it takes a long time to recover to low. During this time client is downloading slowly but Envoy won't receive from upstream and won't reset its idle timer.
In my case the client is an IoT device with a 4kbps bandwidth. Envoy's per_connection_buffer_limit_bytes
is set to 32 KB. So it takes 32 seconds (32KB / 2 / (4kbps / 8)) to return to low watermark. But if the connection buffer is higher it may take much more time.
from envoy.
The issue can be mitigated by either increasing the stream_idle_timeout
or decreasing the per_connection_buffer_limit_bytes
, if applicable to the use case.
from envoy.
from envoy.
I think we could add a config option for not making progress when backed up. I'm not sure we'd want it on by default but we could also runtime guard and add a knob if folks prefer the old behavior
from envoy.
This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in the next 7 days unless it is tagged "help wanted" or "no stalebot" or other activity occurs. Thank you for your contributions.
from envoy.
Related Issues (20)
- Outlier_detection: config option - always_eject_atleast_one HOT 1
- Why can't Envoy log the Connection in header HOT 1
- Enabling HTTP 2 for upstream server, the response time of concurrent requests is forming a waterfall model adding up the time of other concurrent request HOT 3
- Support METADATA operator in header mutation
- Envoy is not terminating the TLS connection at listeners
- BEP uploads keep failing HOT 7
- mobile fetch client appears to function differently with oghttp2 vs nghttp2 HOT 3
- `failure_mode_allow=true` is not fully supported for the grpc authz server. HOT 2
- High memory usage when upstream service is down HOT 8
- Newer release available `rules_python`: 0.33.0 (current: 0.32.2) HOT 1
- Why “cipher_suites” in this extensions.transport_sockets.tls.v3.TlsParameters just for TLSv1_2, how to set cipher_suites for TLSv1_3 ? HOT 2
- custom dynamic forward proxy injected in istio proxy fail to update dns cache on IP change HOT 2
- HTTP/3 hot restart should be supported with eBPF HOT 1
- UDP should be supported during hot restart
- configdump `include_eds` hides additional_addresses HOT 4
- Newer release available `com_github_bufbuild_buf`: v1.33.0 (current: v1.32.2)
- Newer release available `rules_python`: 0.33.1 (current: 0.32.2)
- honor connection_pool_per_downstream_connection in tcp conn-pool HOT 2
- configure OTEL of access log to export using HTTP HOT 6
- Feature to enable http host as label in metrics HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from envoy.