meta data for this page
This is an old revision of the document!
100% CPU and MEM used
After some while of working, ZM eats all system memory causing CPU to goes to 100%.
https://github.com/ZoneMinder/zoneminder/issues/3772
https://github.com/ZoneMinder/zoneminder/issues/3170
Workaround:
Limit resurces in systemd service:
sudo systemctl edit zoneminder.service
[Service] MemorySwapMax=0 MemoryHigh=5G MemoryMax=6G TimeoutStopSec=30
systemctl daemon-reload systemctl stop zoneminder.service systemctl start zoneminder.service
systemctl status zoneminder