Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

High CPU Usage causing reboot with 126 IPCs #3972

Open
zzyyzz1992 opened this issue Apr 22, 2024 · 2 comments
Open

High CPU Usage causing reboot with 126 IPCs #3972

zzyyzz1992 opened this issue Apr 22, 2024 · 2 comments

Comments

@zzyyzz1992
Copy link

zzyyzz1992 commented Apr 22, 2024

Describe Your Environment

  • Version of ZoneMinder [release version]
  • How you installed ZoneMinder [PPA]
  • Full name and version of OS Ubuntu 2204(Freshly installed)

Describe the bug
I have 126 H264 onvif ip cameras previesly handled by a hardware NVR, now I'm trying to migrate all the cameras to zoneminder, when using record mode (Video Writer set to Camera Passthrough) without 'Decoding Enabled', CPU workload is below 10, Mem usage is around 12GB, networking(RX) is about 24MiB.
Everything was fine.

But when using record mode with 'Decoding Enabled', the zoneminder quickly consumes all my CPU and Mem, then the Swap(2GB) , all happens in just dozens of sencond, after that it seems the zoneminder got restarted, and again consuming, restarting ....
Cuz my zm is in a vm, so I enlarged the Mem to 256GB(My physical machine has dual amd 7601 32cores and 512GB Mem), but the zm just quickly consumes all resouces and couldn't avoid timelessly restarting.

I just wondering that the cause is my configure wrong, or something else?
Dose a discrete GPU help(I got a dust-eating GTX1060)?
The reason why I want turn 'Decoding Enabled' On is that I want to browse my IPCs livestreamly(not all at same time, maybe 2 or 5 at the same time), even without audio, which I can bear.

Excuse my bluntness question and poor English:)

I'd appreciate your help!

Copy link

welcome bot commented Apr 22, 2024

Thanks for opening your first issue here! Just a reminder, this forum is for Bug Reports only. Be sure to follow the issue template!

@connortechnology
Copy link
Member

126 cams is a lot. You don't mention resolution, but at 720p we generally assume 4 cams per core if doing motion detection.

Do you need decoding support? You can install rtsp2web or janus and use direct from camera viewing, removing the need for decoding. Also there is the keyframes only or ondemand decoding.

You might want to consider purchasing a few hours of support from us to help get this tuned in.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants