dlandon / zoneminder.machine.learning

Zoneminder Docker
GNU General Public License v2.0
318 stars 143 forks source link

Memory leak in latest version #167

Closed TheOneOgre closed 3 years ago

TheOneOgre commented 3 years ago

I recently have updated the docker container to the latest one. I know I am well behind on updating but for me, if something is working and is stable, I like to leave it, especially home security.

Anyways, the server is slowly leaking ram via the zmc processes and this was not happening with the last release. Everything works fine as it should, but over time (roughly 20 hours), the server will begin consuming more and more RAM, from 1gb to over 14gb (all that is free to it) and then start swapping. This drags everything else on the system down and prevents zoneminder from functioning properly.

As this RAM usage climbs, a simple state change in the webUI to restart the monitors, releases all the used RAM, and the cycle starts over again.

Nothing is shown in the debug logs, and not sure this is an issue directly related to this docker container, but it should be noted I now have no way to downgrade to the previous version as the dockerHub does not have previous version tags.

Any help would be greatly appreciated.

dlandon commented 3 years ago

I find this hard to believe since this docker is not Public. Go to the Zoneminder forums for help with this issue.

TheOneOgre commented 3 years ago

I'm not sure what you mean it isn't public? The docker is listed publicly in the Community Applications for UNRAID no? I simply wanted a way to downgrade to the previous version just to get going until the zoneminder forums could pull something together.

dlandon commented 3 years ago

This docker is not available to the public. This is the Unraid docker: Unraid

You should really be posting these kinds of issues on the Unraid forum.

TheOneOgre commented 3 years ago

Weird. The UNRAID template links to dockerHub which links to this docker which is how I got here. I'm not sure if that was intentional but anyway, I'll try posting to the UNRAID forums then.