Skip to content

Distributor memory usage is high  #4746

@jakirpatel

Description

@jakirpatel

Describe the bug
We have on-premise cortex cluster. Currently we have 15 distributors and 15 ingesters. Currently 1 distributor is behaving weird with memory consumption reaching 100% of its limit memory.

Version
Cortex 1.11.0

Expected behavior
Distributor should run without OOM.

Environment:

  • Infrastructure: Kubernetes on bare metal managed through Rancher.
  • Deployment tool: Custom created with kustomize.

Storage Engine

  • Blocks - Google Block Storage.

Additional Context

  1. GOGC : We have setup GOGC values for both distributor and the ingester. The ingester does have the GOGC=30 and distributor does have the GOGC=80.

I think somehow the when the ingester GC happens we are seeing this impact. Is there any way to improve the situation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions