Page 1 of 1
CPU usage 98% !
Posted: Sun May 01, 2016 1:36 pm
by caseyj
Hi,
I install for testing zm on virtualbox (Lubuntu_14.04_with_Zoneminder_1.29.0 pre-configured).

- Region1.png (16.87 KiB) Viewed 4075 times
All fine, then i install webmin and here i see : CPU usage 98% ! ...

- Region.png (29.66 KiB) Viewed 4075 times
Notice that I also try to disable all monitor and CPU still at 98% ....

- Region2.png (13.2 KiB) Viewed 4072 times
Re: CPU usage 98% !
Posted: Sun May 01, 2016 11:19 pm
by bbunge
My first thought was that your database has a problem. Then I saw you were using my Lubuntu setup. Wonder if it has something to do with you using s single core machine? Does the usage go down if you stop Zoneminder?
Re: CPU usage 98% !
Posted: Mon May 02, 2016 9:22 am
by SteveGilvarry
Set monitors function from Monitor to None, I don't think changing a running zmc to disabled actually kills it, just stops it running on startup.
Re: CPU usage 98% !
Posted: Mon May 02, 2016 12:56 pm
by caseyj
Guys,
Today I check and got this : (I didnt do anything...)
CPU usage 1% user, 0% kernel, 0% IO, 99% idle
Maybe it was OS itself checked for something in its routine after fresh install...
I will stay tuned for it. Thanks for reply.
Re: CPU usage 98% !
Posted: Tue May 03, 2016 2:54 am
by Pedulla
I've seen this when the cameras (rtsp) are off line/disconnected/not there/or some problem.
If you don't have a max framerate set for each monitor/camera the system races as fast as it can.
I got mine up to 1236 fps once... cool... not...
Solution, set a max frame rate about 10% higher than you expect from your camera stream. If the camera's won't be online for a while, disable the monitor in function section of the offending monitor/camera.
Hope I didn't use too much ZM jargon.
Re: CPU usage 98% !
Posted: Tue May 03, 2016 3:06 am
by caseyj
If the camera's won't be online for a while, disable the monitor in function section of the offending monitor/camera.
Might be this
