pmm-agent.service causes Too many open files
crash on MongoDB and memory leaks on MariaDB
#3262
Open
1 task done
Labels
bug
Bug report
Description
MongoDB
pmm-agent.service on MongoDB cluster opened 40,000+ pages, causing MongoDB to crash with
Too many open files
error.This behavior occured on a MongoDB server cluster running version
6.0.18
.MariaDB
The pmm-agent.service on several MariaDB servers caused errors that coincided with the MySQL process grabbing multiple GB of memory and not releasing it until the MySQL process was restarted. After the MySQL process was restarted, the memory grabbing behavior continued on severs that had the pmm-agent.service active and stopped on the ones that had it disabled. (See logs below)
Affected servers were using MariaDB version
10.3.39
.Expected Results
Expected pmm agent to not cause crashing/memory leaks.
Actual Results
PMM agent opened too many pages on MongoDB servers causing the MongoDB process to crash.
Disabling pmm-agent caused the number of open pages to drop from 40,000+ to around 500.
PMM agent caused MariaDB to allocate multiple GBs of memory and not releasing said memory, eventually leading to a crash.
Disabling the pmm-agent service stopped this behavior from occurring.
Version
PMM Server
2.43.1
PMM Agent
2.43.1-6
Steps to reproduce
No response
Relevant logs
Code of Conduct
The text was updated successfully, but these errors were encountered: