serving: The queue-proxy's memory slowly and constantly increases even if there is no request.
What version of Knative?
0.23.0
Expected Behavior
When there is no request sent to the pod, the memory usage of queue-proxy should be a constant or at least a stable value.
Actual Behavior
When there is no request sent to the pod, the memory usage slowly increases. Specifically, the queue-proxy’s memory is increasing. Don’t know if it is a memory leak.

Steps to Reproduce the Problem
- In
config-observability, setmetrics.backend-destination: prometheusandmetrics.request-metrics-backend-destination: prometheus - Set annotations of
prometheus.iofor ksvc you want atksvc.spec.template.metadata.annotationwhere port is 9091 and path is /metrics - Create ksvc and watch the pod.
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 19 (8 by maintainers)
no problem
I recompiled
This happened to all of my test pods.
I will continuously run my tests for another 12 hours.
queue-proxyonly using golang 1.16 and here is a monitoring statistics for 2 hours. It seems like a little bit better. Don’t know if they are related…@skonto No problem
FWIW: I totally expect the leak to be in the prometheus realm. I should’ve spelled that out clearly I guess 😂 .
I can take a look.