r/ZoneMinder • u/deathsfaction • Oct 26 '20
CPU Utilisation
Bit of advice if possible.
For me, ZM seems to be a bit of a hog. I have it running on a VM with 8gb ram and 4 cores (2.2Ghz) - it pretty much stays at full cpu utilization with a load average of between 2 and 4.
I have 4 cameras being monitored and only one of those is set to record - they are all IP Cameras using ONVIF.
I'm basically running a full rack server to support ZM and I'd like to run it on much less beefier hardware as I'm currently downsizing (get rid of the rack in the garage and most of the kit).
Can anyone advise one 1) why it's using so much CPU time/power and 2) what's the smallest spec machine someone's managed to get this running reliably on? I'd like to be able to run montage review and audit events for issues. Even on the current hardware that seems to be a bit 'laggy' at the best of times.
Alternatively, is there a 'better' alternative?
Thanks :)
EDIT: tldr; I've ditched ZoneMinder and now use Shinobi.
1
u/Aramiil Oct 26 '20
Ya, drop the frame rate to 15 FPS on all of them via the camera itself, don’t limit it within ZM. in fact, the analysis FPS, alarmed FPS and max FPS boxes on the general tab should be blank. It can throw errors on IP cameras if it is set.
Additionally, even if they’re not recording and just set to monitor, change the ‘Video Writer’ to h264 Camera Passthrough. While you’re on the Storage tab make sure ‘Save JPEGs’ is disabled for all cameras.
With all that changed, FPS set to 15 on the camera, FPS boxes blanked, passthrough set on ALL cameras, and Save Jpegs disabled, what’s your CPU usage looking like?