Skip to content

memory usage: use of 100% of available RAM #1189

@francescor

Description

@francescor

What did you do?

We have a postgres-exporter as a service in a Docker Swarm stack

What did you expect to see?

We do not expect container to always reach 100% of RAM in few days

What did you see instead? Under which circumstances?

With prometheus query

(container_memory_working_set_bytes{image!="", container_label_com_docker_swarm_service_name="opencity-aspsr_postgres-exporter"} / (container_spec_memory_limit_bytes{image!=""} > 0) * 100)

we see a steady upwards slope in memory usage: postgres-exporter is gradually consuming all memory over time.

Image

Environment

We have a Docker Swarm service with image:
quay.io/prometheuscommunity/postgres-exporter:v0.17.1

  • postgres_exporter version:

    v0.17.1

  • postgres_exporter flags:

none
  • PostgreSQL version:

    image: 'postgres:14.17-alpine'

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