Memory leak somewhere?
Posted: Thu Jan 06, 2022 4:48 pm
Howdy do!
I'm currently running 1.37.6~20220105164932-focal, but have noticed this behavior for prior releases in the dev branch over the last couple months, but it feels like there's a memory leak somewhere and I'm not sure how to troubleshoot it.
The longer (a couple days at a time) I run zoneminder without restarting it, the more ram get's allocated and chewed up (128 Gigs) for a dedicated ZM box. When it starts off, it's happily using about 18Gigs for at least a day, and then after a day more and more gets used up.
Any thoughts or suggestions as to what I can do to try and collect some data to find out where the leak may be? Currently, debug doesn't show any dying process, and it doesn't seem like anything is "flapping."
Fairly soon, just to be able to log into the box, I may have to have a nightly cron restart the process.
I'm currently running 1.37.6~20220105164932-focal, but have noticed this behavior for prior releases in the dev branch over the last couple months, but it feels like there's a memory leak somewhere and I'm not sure how to troubleshoot it.
The longer (a couple days at a time) I run zoneminder without restarting it, the more ram get's allocated and chewed up (128 Gigs) for a dedicated ZM box. When it starts off, it's happily using about 18Gigs for at least a day, and then after a day more and more gets used up.
Any thoughts or suggestions as to what I can do to try and collect some data to find out where the leak may be? Currently, debug doesn't show any dying process, and it doesn't seem like anything is "flapping."
Fairly soon, just to be able to log into the box, I may have to have a nightly cron restart the process.