100% on both CPUs
-
- Posts: 54
- Joined: Tue Feb 27, 2018 9:27 am
100% on both CPUs
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
Re: 100% on both CPUs
You are running a desktop version of Ubuntu? How much memory does the PC have? With low RAM you could have issues...
-
- Posts: 54
- Joined: Tue Feb 27, 2018 9:27 am
Re: 100% on both CPUs
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
-
- Posts: 54
- Joined: Tue Feb 27, 2018 9:27 am
-
- Posts: 54
- Joined: Tue Feb 27, 2018 9:27 am
Re: 100% on both CPUs
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
Re: 100% on both CPUs
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.