Page 1 of 1

100% on both CPUs

Posted: Fri May 18, 2018 1:02 pm
by johnaaronrose
I'm getting 100% on both CPUs of an 8GB Intel Barebones box using Ubuntu 16.04. On my other same spec Barebones, there is much less CPU usage: it can go up to 100% on both processors when I run a number of apps including Chrome bit soon settles down to about 30% on each processor. I've tried amending the swappiness to various values (e.g. 20 and 10) which stop the swap file (according to Systems Monitor) being used but it makes no difference to the CPU usages. Systems Monitor shows My Processes as only being a few % though All Processes are much larger including 2 Perl processes of each 20% approx and zmc (presumably art of ZoneMinder at about 40%: I'm running Apache in order to use ZoneMinder but I don't have a tab open in Chrome for ZoneMinder. Is this due to ZoneMinder?

Re: 100% on both CPUs

Posted: Fri May 18, 2018 6:54 pm
by bbunge
You are running a desktop version of Ubuntu? How much memory does the PC have? With low RAM you could have issues...

Re: 100% on both CPUs

Posted: Fri May 18, 2018 7:29 pm
by johnaaronrose
Ubuntu Desktop 64 bit 16.04 (fully up to date software) on both PCs. 8GB on each PC. The swap file is not getting used and the memory usage is 4.1 GB (i.e. 3+ GB spare).

Re: 100% on both CPUs

Posted: Sat May 19, 2018 5:19 am
by johnaaronrose
BTW I have no filters running in the background.

Re: 100% on both CPUs

Posted: Sat May 19, 2018 5:53 am
by johnaaronrose
Why is zmc running even when I do not have ZoneMinder open in a Chrome browser tab? Is it reasonable to prevent zmc loading at PC boot time? If so, how do I do it?

Re: 100% on both CPUs

Posted: Sun May 20, 2018 12:23 pm
by bbunge
Ubuntu saves half of the RAM to use for tmpfs. Depending on the number and resolution of the cameras this memory can be used up quickly. As for Zoneminder it is designed to start when the PC starts. "systemctl enable zoneminder" sets it up to start. "systemctl disable zoneminder" reverses this but defeats the purpose of a security system. The database (MySQL?) can also eat up resources.