100% on both CPUs

Forum for questions and support relating to the 1.29.x releases only.
Post Reply
johnaaronrose
Posts: 28
Joined: Tue Feb 27, 2018 9:27 am

100% on both CPUs

Post by johnaaronrose » Fri May 18, 2018 1:02 pm

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?
John

bbunge
Posts: 2040
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: 100% on both CPUs

Post by bbunge » Fri May 18, 2018 6:54 pm

You are running a desktop version of Ubuntu? How much memory does the PC have? With low RAM you could have issues...

johnaaronrose
Posts: 28
Joined: Tue Feb 27, 2018 9:27 am

Re: 100% on both CPUs

Post by johnaaronrose » Fri May 18, 2018 7:29 pm

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).
John

johnaaronrose
Posts: 28
Joined: Tue Feb 27, 2018 9:27 am

Re: 100% on both CPUs

Post by johnaaronrose » Sat May 19, 2018 5:19 am

BTW I have no filters running in the background.
John

johnaaronrose
Posts: 28
Joined: Tue Feb 27, 2018 9:27 am

Re: 100% on both CPUs

Post by johnaaronrose » Sat May 19, 2018 5:53 am

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?
John

bbunge
Posts: 2040
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: 100% on both CPUs

Post by bbunge » Sun May 20, 2018 12:23 pm

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.

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests