how to reduce cpu load?
how to reduce cpu load?
Hello.
before:
CPU usage was at 50%.
Added two cameras, restarted zm. CPU became 100%
All cam func - record. Decoding Enabled - checked
how to reduce cpu usage? Need cyclic recording and online
before:
CPU usage was at 50%.
Added two cameras, restarted zm. CPU became 100%
All cam func - record. Decoding Enabled - checked
how to reduce cpu usage? Need cyclic recording and online
Re: how to reduce cpu load?
You need to give more details if you want help....
How are you camera setup
What cameras do you have
How are they connected.
Most HD IP Camera give out H264/5 streams and if you're just recording the main stream you should switch off the decode when doing H264 Pass through
How are you camera setup
What cameras do you have
How are they connected.
Most HD IP Camera give out H264/5 streams and if you're just recording the main stream you should switch off the decode when doing H264 Pass through
Re: how to reduce cpu load?
stood, worked. loading was normal - 50%.
all IP cameras, part x264, part x265
Now I disabled the two added cameras, rebooted the zm, the CPU load did not fall.
All settings are identical.
why an hour ago, before rebooting the zm, the cpu was loaded by 50%, and how it rebooted the zm to 100%
Or some kind of OS update leads to this.
all IP cameras, part x264, part x265
Now I disabled the two added cameras, rebooted the zm, the CPU load did not fall.
All settings are identical.
why an hour ago, before rebooting the zm, the cpu was loaded by 50%, and how it rebooted the zm to 100%
Or some kind of OS update leads to this.
Re: how to reduce cpu load?
How much ram does your server have.... Is the swap full? Show us your buffer settings this can have an effect on cpu/ram usage....
P.S. Sanitize your images your are showing user/password/ip info
P.S. Sanitize your images your are showing user/password/ip info
Re: how to reduce cpu load?
in the first message, the swap is empty, operational 48GB
Re: how to reduce cpu load?
is there a debug mode? what is using the cpu at 100%
-
- Posts: 1336
- Joined: Sat Aug 31, 2019 7:35 am
- Location: San Diego
Re: how to reduce cpu load?
Options->Logging
You probably want to look at top or iotop first.
You probably want to look at top or iotop first.
Re: how to reduce cpu load?
it remains only to remove the memory that installed
Re: how to reduce cpu load?
CPU load before installing additional memory and after
-
- Posts: 1336
- Joined: Sat Aug 31, 2019 7:35 am
- Location: San Diego
Re: how to reduce cpu load?
What are your buffer settings?
Re: how to reduce cpu load?
This ^. If you have very large buffers it will eat up alot of cpu cycles. Are you running this on a mechanical HDD or an SSD just switching to an SSD on my server cut the cpu usages in half over a spinner, RAM usage also went down.
What fps and resolution are your cameras this will also play into cpu usage as every frame is decoded and analyzed by zm
-
- Posts: 1336
- Joined: Sat Aug 31, 2019 7:35 am
- Location: San Diego
Re: how to reduce cpu load?
Yes. I was thinking the same. If it's spinning rust, either an ssd or perhaps adding another drive to split the load might help.
Re: how to reduce cpu load?
ZM is heavy on iotop and is mainly database access with the many writes, it's something that need looking at with future versions of ZM.
You might want to look at mysqltuner to see if that can optimise your database.
Looking at smt-mir1 you have decode enabled if this monitor is just recording and you don't need to view then turn off decode, I only decode the low resolution feeds that I run the analysis on and use those for viewing.
Reading this thread you trouble started when you added more ram?
You might want to look at mysqltuner to see if that can optimise your database.
Looking at smt-mir1 you have decode enabled if this monitor is just recording and you don't need to view then turn off decode, I only decode the low resolution feeds that I run the analysis on and use those for viewing.
Reading this thread you trouble started when you added more ram?
Re: how to reduce cpu load?
all cam repeat again. before rebooting the server, the load was 50%, rebooted and immediately 100% All settings before and after are the same. Already removed the added cameras. nothing changes.
the version of zm was also not updated, all the packages of the system were updated, except for zm. Base on another server.
-
- Posts: 1336
- Joined: Sat Aug 31, 2019 7:35 am
- Location: San Diego
Re: how to reduce cpu load?
hmm
Was that a reset type reboot, or power-off?
If reset, I'd try power-off. Seems something went haywire with the disk(s).
Was that a reset type reboot, or power-off?
If reset, I'd try power-off. Seems something went haywire with the disk(s).