High CPU Load
High CPU Load
Hi, i've a problem with my zoneminder. After a while, my cpu go to 100% cause zoneminder. I don't know how, initially all gone ok and after (1/2 month) cpu go to overload. Change max fps or other option cause no solution.
I've Ubuntu 18.04.
Can you help me to resolve this issue ?
I've Ubuntu 18.04.
Can you help me to resolve this issue ?
- Attachments
-
- Schermata a 2019-03-06 22-06-13.png (4.33 KiB) Viewed 9746 times
-
- Schermata a 2019-03-06 22-02-05.png (339.59 KiB) Viewed 9749 times
-
- Schermata a 2019-03-06 22-01-45.png (256.64 KiB) Viewed 9749 times
Re: High CPU Load
hello... so it runs for 10-15 days and then the CPU load goes to 100% ?
Re: High CPU Load
a while ago during the 1.31.+ development there was a bug that caused some processes like zma not to end and new ones would start so they would accumulate and exhaust the memory crashing zoneminder eventually. Though that was fixed long ago. You are running Ubuntu 18.04 32 bit OS?
It is interesting to see on your htop that many instances of zma for each monitor are running. Is there anything unusual in set the Options?
It is interesting to see on your htop that many instances of zma for each monitor are running. Is there anything unusual in set the Options?
Re: High CPU Load
Hi rockedge, i’ve 64 bit ubuntu server.
Not unusual option i have set or i have change.
Not unusual option i have set or i have change.
-
- Posts: 112
- Joined: Tue Jul 27, 2010 6:36 am
Re: High CPU Load
Just adding a bit here. A few days ago I did a full clean install of Ubuntu 18.04 with Zoneminder 1.32. Mine went 100% cpus after adding just a few cameras. I set mocord to record thinking maybe analysis of frames was driving up the cpu. My 8 cameras pump out at 5 frames a second or less. Under prior releases my cpu loads are around 40%. Is there any chance occonor stuff got updated?
Re: High CPU Load
"Is there any chance occonor stuff got updated?"
yes it is continually improving. really the only production release is v 1.30.4 and 1.32 was development but kind of graduated to a sort of release....give 1.33.3 a try from the master snapshot at the iconner PPA
yes it is continually improving. really the only production release is v 1.30.4 and 1.32 was development but kind of graduated to a sort of release....give 1.33.3 a try from the master snapshot at the iconner PPA
Re: High CPU Load
How can i update it to 1.33?
Re: High CPU Load
switch your repo for your package manager to the iconner PPA ..something like
Code: Select all
sudo add-apt-repository ppa:iconnor/zoneminder-master
sudo apt-get update
Re: High CPU Load
Just do it, now i can t access , myip/zm give me white page
Re: High CPU Load
you might need to open a terminal and run
Code: Select all
zmupdate.pl
Re: High CPU Load
Database already at version 1.33.3, update skipped.
After run zmupdate.pl
And anyway cpu is 100% the same
After run zmupdate.pl
And anyway cpu is 100% the same
Re: High CPU Load
@iconnor can you help me to resolve cpu overload issue?
Re: High CPU Load
did you try
do you still have a blank page calling the ZM console?
Code: Select all
zmupdate.pl -f
Re: High CPU Load
shutdown all the cameras and turn just one on to "Monitor" and observe the CPU loads...add a another camera...how does it look?