Skip to content

Memory consumption - OOM #764

@MichaelZhasil

Description

@MichaelZhasil

Describe the bug
With any amount of assigned memory there is always OOM and restart after a while.
We have pgwatch running on several environments number of monitored databases vary from 10 to 100.
Currently we are running pgwatch on dedicated node with 54Gi of RAM assigned.
pgwatch start's working on about 1% of assigned capacity but within 10 minutes it hops up several times each hop consuming around 20% more of RAM until it fails on OOM and is restarted by K8S.
We switched to latest version 3.3.0 but the problem prevails

To Reproduce
Steps to reproduce the behavior:

  1. Have pgwatch running
  2. Monitor tens of databases
  3. Wait for a while - depends on assigned memory
  4. OOM Killed
  5. No visible error in pgwatch logs

Expected behavior
Memory consumption stops somewhere. / Some memory is freed

Desktop (please complete the following information):

  • Image version 3.3.0

Additional context
We are running full metrics preset, with only database sink.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions