Solved CPU usage

Currently reading
Solved CPU usage

249
25
NAS
DS1019+
Mobile operating system
  1. Android
any ideas why the resource monitor widget says CPU usage is 31%, yet the task manager has it under 10% ?

Capture2.JPG
 

Rusty

Moderator
NAS Support
2,361
702
www.blackvoid.club
NAS
DS412+, DS718+, DS918+, 2x RS3614RPxs+ with expansions
Router
  1. RT1900ac
  2. RT2600ac
  3. MR2200ac
Operating system
  1. macOS
Mobile operating system
  1. iOS
Is this constantly or?
 
249
25
NAS
DS1019+
Mobile operating system
  1. Android
yep, pretty much sits constant at that (or around that).
the NAS is essentially sitting idle at the moment (other than me using quickconnect to log on and check the CPU) and the CPU is sitting at 25%
 

Rusty

Moderator
NAS Support
2,361
702
www.blackvoid.club
NAS
DS412+, DS718+, DS918+, 2x RS3614RPxs+ with expansions
Router
  1. RT1900ac
  2. RT2600ac
  3. MR2200ac
Operating system
  1. macOS
Mobile operating system
  1. iOS
check Storage Manager. Is the pool doing some scrubbing? How does the Resource manager look like (the default 1st page overview)?
 
249
25
NAS
DS1019+
Mobile operating system
  1. Android
scrubbing says "never performed yet"

the default page on the resource monitor shows the same CPU usage as the widget. currently 31% with the NAS doing nothing other than me being connected to DSM. (RAM is 18% usage)

going to task manager and sorting the tasks by CPU usages, it doesn't come close to 25%.
 

Rusty

Moderator
NAS Support
2,361
702
www.blackvoid.club
NAS
DS412+, DS718+, DS918+, 2x RS3614RPxs+ with expansions
Router
  1. RT1900ac
  2. RT2600ac
  3. MR2200ac
Operating system
  1. macOS
Mobile operating system
  1. iOS
I see you are running a plex server on it. Anything else? Something is doing some background tasks. What other services are you running? How the disk/volume stat in Resource manager overview?
 
249
25
NAS
DS1019+
Mobile operating system
  1. Android
plex server is currently installed, but not configured yet (so not being used).
sabnzbd & transmission installed from community package centre (both sitting idle)
vpn server installed (enabled but nothing connected)
VMM installed - 2 VMs configured - both powered off
Docker with 2 images running (unifi controller & mkvtoolnix)
Web station installed - no sites currently configured yet

is there no way to see what background tasks are running?

Capture1.JPG


Capture2.JPG


Capture3.JPG

Capture4.JPG
 

Rusty

Moderator
NAS Support
2,361
702
www.blackvoid.club
NAS
DS412+, DS718+, DS918+, 2x RS3614RPxs+ with expansions
Router
  1. RT1900ac
  2. RT2600ac
  3. MR2200ac
Operating system
  1. macOS
Mobile operating system
  1. iOS
SSH into your nas and run htop command. Sort it by CPU and see if there is a better view to to detect the problem then using the Resource monitor.
 
249
25
NAS
DS1019+
Mobile operating system
  1. Android
hmm... looks like something to do with Mono or Radarr?
those were installed previously but both since un-installed.

i will be putting Radarr back on at some point, but via Docker (previous installation was via a community package).

Capture1.JPG
 

Rusty

Moderator
NAS Support
2,361
702
www.blackvoid.club
NAS
DS412+, DS718+, DS918+, 2x RS3614RPxs+ with expansions
Router
  1. RT1900ac
  2. RT2600ac
  3. MR2200ac
Operating system
  1. macOS
Mobile operating system
  1. iOS
Radarr and Sonarr are both depending on Mono framework. It's known to "leak". Remove them and migrate them to Docker. Better control and def more up to date then from the community.
 
249
25
NAS
DS1019+
Mobile operating system
  1. Android
radarr and sonarr aren't currently installed, (mono isn't either).
but it seems there is a rogue task still running in the background?
 

Rusty

Moderator
NAS Support
2,361
702
www.blackvoid.club
NAS
DS412+, DS718+, DS918+, 2x RS3614RPxs+ with expansions
Router
  1. RT1900ac
  2. RT2600ac
  3. MR2200ac
Operating system
  1. macOS
Mobile operating system
  1. iOS
yep by the looks of it.

via ssh elevate your credential to root via sudo -i command. Then use kill number_of_PID to kill that process
 
249
25
NAS
DS1019+
Mobile operating system
  1. Android
yeah that seems to have fixed it
CPU back down to negligable when idling
RAM still at 16% but i would say that's about normal-ish.
 

Rusty

Moderator
NAS Support
2,361
702
www.blackvoid.club
NAS
DS412+, DS718+, DS918+, 2x RS3614RPxs+ with expansions
Router
  1. RT1900ac
  2. RT2600ac
  3. MR2200ac
Operating system
  1. macOS
Mobile operating system
  1. iOS
That's great news. RAM is just fine, don't worry about it.
 
249
25
NAS
DS1019+
Mobile operating system
  1. Android
i might stick an extra 8GB in it at some point to take it up to 16GB (it's a DS1019+), but not a priority.

Docker it is then for Radarr and Sonarr (and Jackett).
 

Rusty

Moderator
NAS Support
2,361
702
www.blackvoid.club
NAS
DS412+, DS718+, DS918+, 2x RS3614RPxs+ with expansions
Router
  1. RT1900ac
  2. RT2600ac
  3. MR2200ac
Operating system
  1. macOS
Mobile operating system
  1. iOS
Docker is a way for everything. Try and not to use any 3rd party (non Syno) app via Package center. Docker is way better.
 
249
25
NAS
DS1019+
Mobile operating system
  1. Android
the only non syno packages i have installed just now are Sabnzbd and Transmission
 

Rusty

Moderator
NAS Support
2,361
702
www.blackvoid.club
NAS
DS412+, DS718+, DS918+, 2x RS3614RPxs+ with expansions
Router
  1. RT1900ac
  2. RT2600ac
  3. MR2200ac
Operating system
  1. macOS
Mobile operating system
  1. iOS
Also available in Docker...
 

Create an account or login to comment

You must be a member in order to leave a comment

Create account

Create an account on our community. It's easy!

Log in

Already have an account? Log in here.

Welcome to SynoForum.com!

SynoForum.com is an unofficial Synology forum for NAS owners and enthusiasts.

Registration is free, easy and fast!

Similar threads

Similar threads

Top