Open ciantfv456 opened 1 month ago
Hey, it happend to me too. It seems like icinga2 doesn't free the memory allocated when querying the API for objects. When it queries a lot of objects periodically the memory usage keeps increasing until the vm gets oom kill
Describe the bug
We have a script that queries all of the services on icinga2 from the API. The memory usage keeps increasing every time we access the /v1/objects route on the API.
To Reproduce
Provide a link to a live example, or an unambiguous set of steps to reproduce this bug. Include configuration, logs, etc. to reproduce, if relevant.
Expected behavior
The memory that was allocated to the query should be set free after sending back the request
Your Environment
Include as many relevant details about the environment you experienced the problem in
icinga2 --version
): 2.14.0icinga2 feature list
): icingadb api checker