Open MisterMountain opened 1 year ago
I have created another Icinga Instance on a Virtual Machine with 32GB RAM and disabled any PHP Timeouts and Memory Limits, now i see the Memory Percentage of the php-fpm Process increasing by 0.1 to 0.2 percent every second. So it seems to be actually a memory leak for me.
if you let the director import the same template inside a template you create a loop. You get an error that this is a problem. I don't know why it is possible to save the malformed object, but you should not create such a scenario anyway. I think of it in a different way like, if you buy a knife. In a logical sense it is used to cut something, but in europe there is not warning about cutting yourself. However if you want to fix your malformed template you can use the Activity Log restore action.
Its also possible to remove the loopcreating property by selecting multiple templates and then remove them:
However, i know its a bad practive and you should not do it. But if someone does it, the loop should definitely not happen.
Expected Behavior
No Memory Leak
Current Behavior
Modify Service Template leads throws the following Error:
Steps to Reproduce (for bugs)
Your Environment