Open Yuskovich opened 1 year ago
Hello @Yuskovich, we are working on fixing this problem and we released some improvements in PMM 2.40.1 and going to provide more improvements in PMM 2.41.0. Please upgrade to 2.40.1 and provide feedback if it helped you.
Hello @BupycHuk, we have updated server and agent to version 2.40.1. Issue still persists. And now we found way to reproduce:
got it, thank you. Please wait for 2.41.0, it should be fixed in upcoming release.
@Yuskovich what about database number?
Description
pmm-client docker container has limit 32GB RAM and with random period of time,usually half hour, container reaches the RAM usage limit of 32GB and oom kill postgre_exporter inside container. The container is running on the same system, as monitored postgresql.
OS (monitored system): Ubuntu 20.04.4 LTS (Focal Fossa) Linux kernel (monitored system): Linux HOSTNAME_REMOVED 5.4.0-164-generic #181-Ubuntu SMP Fri Sep 1 13:41:22 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux Docker image of pmm-client: percona/pmm-client: 2.39.0 (same problem on 2.33, 2.36, 2.40.1) PMM servers version: 2.39 (same problem on 2.33, 2.36, 2.40.1) Monitored service: postgresql (14.9) Total RAM on monitored postgresql server: 128Gb
Available memory on the monitored host during reaching limit is about 59GB:
Expected Results
pmm-client container does not reach limit 32GB RAM
Actual Results
pmm-client container reaches its memory usage limit of 32GB
Version
PMM Server v2.39, PMM client 2.39
Steps to reproduce
Create new postgres cluster Create many schemas (our case is about 10k) Create many empty tables (our case is about 70k) deploy pmm-client in docker and add a PostgreSQL service
Relevant logs
Code of Conduct