Comments (2)
We enabled DEBUG logs on the client proxy:
https://gist.github.com/andrewdinunzio/e60cd0c6d4cbc9b5c0c1c28a33ad3b6c
(some info redacted)
I captured 1000 lines before any mention of svc-d93b402b4545fe597edf8ba9e49be61ae01973c4
(the problematic server in this case) to 1000 lines after the last mention of it.
These seem suspect:
[ 2483.392885s] DEBUG ThreadId(01) outbound:accept{client.addr=10.244.27.147:45346 server.addr=10.0.89.172:80}:proxy{addr=10.0.89.172:80}:http: linkerd_stack::loadshed: Service has become unavailable
[ 2483.392892s] DEBUG ThreadId(01) outbound:accept{client.addr=10.244.27.147:45346 server.addr=10.0.89.172:80}:proxy{addr=10.0.89.172:80}:http: linkerd_stack::loadshed: Service shedding load
But it's only one of the client replicas having this issue. Others are sending requests just fine.
Is it just assuming it's due to load if the service is "unavailable"? Or is it the other way around and marking the service unavailable if it's under load. It's strange because I definitely don't expect the server to have many simultaneous requests; I'd expect 5-10 max.
Also, these logs seem like they would be good to have in INFO; it's difficult for us to toggle DEBUG logs on because they log user tokens, etc.
from linkerd2.
I'm afraid I can't give you a lot of guidance here without having a reproducible scenario. We have some docs about failfast and 503 and 504 errors that might help. What's special about the client that is causing these issues? Is it generating too many requests that the resources allocated to the proxy aren't enough? You could also look at the proxy metrics for the problematic pod and see how they compare to the healthy ones.
from linkerd2.
Related Issues (20)
- Improve `linkerd viz check` to have skip prom clusterrole checks when prom controller is disabled HOT 3
- Increase startup and liveness probe timeout for linkerd-destination HOT 4
- linkerd/client image cannot be found on cr.l5d.io (ghcr.io) HOT 1
- linkerd-proxy does not evict idle metrics eventually leading to OOMKILL HOT 5
- Linkerd-proxy routing traffic to wrong pod HOT 6
- Allow setting LINKERD2_PROXY_SHUTDOWN_ENDPOINT_ENABLED in helm chart HOT 5
- linkerd-proxy: allow to add custom headers to outgoing requests
- Outbound HTTP endpoints seems to miscount "ready" endpoints with circuit breaking HOT 3
- Linkerd closing connections of long-running gRPC requests HOT 2
- edge-24.8.2 CVE-2024-41110 CRITICAL github.com/docker/docker HOT 2
- LinkerD-proxy does not upgrade HTTP reuquest to HTTPS, randomly HOT 4
- Add support for configuring externalTrafficPolicy on the linkerd-gateway service created by linkerd-multicluster chart
- linkerd-destination: failed to read TLS key: could not load private key HOT 4
- Linkerd secret extra string gets generated HOT 1
- Implement TCP_USER_TIMEOUT to detect half-opened TCP connections leading to 15min of dangling connections HOT 2
- helm chart to allow for configuration of updateStrategy HOT 2
- [Gateway API] Support for GRPCRoute v1 (stable channel) HOT 4
- Error bringing up pods with proxy.nativeSidecar: true HOT 3
- Support awsxray trace propagation format
- Linkerd is blocking traffic from pod to external server when proxy injection is enabled HOT 7
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 linkerd2.