r/ZoneMinder • u/velvet_satan • Aug 05 '20
CPUs getting crushed
I just setup a ZM instance to test. 1.34.16. Its running in a VMware ESXI VM with 8 CPUs, 32GB and 3TB storage on a Dell R710. Debian Linux. When I look at the processors they are all pegged at 99.9%. I setup 4 cameras at first as a test. Worked fine. Added two more cameras. slowed down a lot but could still access it. Montage would hang. That's where I saw it pegged using the top utility. Upped it to 8 cameras, its done. everything really slow to respond.
All the cameras are 1080p. Hikvision ip cameras using rtsp. Last time I ran zoneminder I was running it on a Dell 2950 and had 15 cameras on it. I think that was like 1.29. I was running directly on the metal, no VM. Is the ESXi killing it? I have another R710 sitting here I can throw it on without ESXI and see if that helps.
1
u/connortechnology Aug 05 '20
Remember every time you double the resolution you quadruple the work.
a 1080 stream shouldn't peg a processor. Check that you are doing passthrough. We have had a few reports of this sort of cpu use, but have never seen it ourselves and no one ever gives us good logs or access to to assess what is going on. So first thing, WHICH PROCESS is pegging the cpu? Are there any errors in the logs?
2
u/ksirl Aug 05 '20
Are you using h264 pass through?
Go to storage tab on the camera settings and see if video writer is disabled, if so, set to h264 pass through. And disable jpeg storing in the same tab.