Skip to content

The queue-proxy's memory slowly and constantly increases even if there is no request. #11729

Closed
@cheimu

Description

@cheimu

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.
5261627439879_ pic_hd

Steps to Reproduce the Problem

  1. In config-observability, set metrics.backend-destination: prometheus and metrics.request-metrics-backend-destination: prometheus
  2. Set annotations of prometheus.io for ksvc you want at ksvc.spec.template.metadata.annotation where port is 9091 and path is /metrics
  3. Create ksvc and watch the pod.

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugCategorizes issue or PR as related to a bug.triage/acceptedIssues which should be fixed (post-triage)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions