Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

100% CPU + 100% RAM Usage

Featured Replies

I have been running unRaid for a short time and recently done the update too 6.7.0.

Unfortunately almost once a day the system seems to freak out and go to 100% CPU and 100% RAM.

 

Only a reboot seems to sort it out. It will then run find for a few hours before starting again.

 

Specs (From System Profiler):

  • unRAID system:unRAID server Plus, version 6.7.0
  • Model:Custom
  • Motherboard:Gigabyte Technology Co., Ltd. - H67M-D2-B3
  • Processor:Intel® Core™ i3-2100 CPU @ 3.1 GHz
  • HVM:Enabled
  • IOMMU:Disabled
  • Cache:Internal Cache = 64 kB (max. capacity 64 kB)
  • External Cache = 3072 kB (max. capacity 2048 kB)
  • Memory:4 GB (max. installable capacity 32 GB)
  • A0 = 2048 MB, 1333 MT/s
  • A2 = 2048 MB, 1333 MT/s
  • Network:bond0: fault-tolerance (active-backup), mtu 1500
  • eth0: 1000Mb/s, full duplex, mtu 1500
  • Kernel:Linux 4.19.41-Unraid x86_64
  • OpenSSL:1.1.1b
  • P + Q algorithm:8949 MB/s + 13062 MB/s
  • Uptime:0 days, 19 hours, 27 minutes, 53 seconds

 

The dashboard shows 100% CPU across all cores and 100% (99% RAM)

image.thumb.png.adb4b1f1813e1a79f3628dfa00550a7a.png

 

Oddly the Dynamix System Stats plugin only shows 15% CPU Usage

image.thumb.png.841752849614887d6b86665b838979e4.png

 

I ran "top" in the terminal and this is the output

%Cpu(s):  0.3 us, 12.1 sy,  0.0 ni,  0.1 id, 85.1 wa,  0.0 hi,  2.4 si,  0.0 st
MiB Mem :   3866.2 total,    202.4 free,   3007.4 used,    656.4 buff/cache
MiB Swap:      0.0 total,      0.0 free,      0.0 used.     25.7 avail Mem 

  PID USER      PR  NI    VIRT    RES    SHR S  %CPU  %MEM     TIME+ COMMAND                                                                 
 3614 root      20   0       0      0      0 R  16.9   0.0  24:46.13 unraidd                                                                 
 3894 root       0 -20       0      0      0 D  10.3   0.0   3:29.14 loop2                                                                   
  586 root      20   0       0      0      0 S   5.6   0.0   6:37.58 kswapd0                                                                 
 2732 root      20   0       0      0      0 I   5.0   0.0   0:17.00 kworker/u16:0-btrfs-endio                                               
13752 root      20   0       0      0      0 I   2.3   0.0   0:37.84 kworker/u16:7-btrfs-endio                                               
 5321 nobody    20   0 2527920 427988      4 S   2.0  10.8   7:40.29 Plex Media Serv                                                         
 4410 root      20   0       0      0      0 I   1.7   0.0   0:25.73 kworker/u16:11-btrfs-endio                                              
17537 root      20   0       0      0      0 I   1.7   0.0   0:32.31 kworker/u16:1-btrfs-endio                                               
23464 root      20   0       0      0      0 I   1.7   0.0   0:32.55 kworker/u16:3-btrfs-endio                                               
 5469 nobody    20   0 1884424 121616      4 S   1.0   3.1   2:30.94 mono                                                                    
 5990 nobody    20   0 2370020 192732      4 S   1.0   4.9   2:34.85 mono                                                                    
 6119 nobody    20   0 4049524   1.8g      0 S   0.7  48.5  10:53.89 Plex DLNA Serve                                                         
29387 root      20   0       0      0      0 I   0.7   0.0   0:39.92 kworker/u16:10-btrfs-endio                                              
 1206 root       0 -20       0      0      0 I   0.3   0.0   0:02.14 kworker/3:1H-kblockd                                                    
 3447 root      20   0  281516   3580   2892 S   0.3   0.1   3:12.59 emhttpd                                                                 
 3798 root      20   0 1024204  22248    812 S   0.3   0.6  31:27.85 shfs                                                                    
 5775 nobody    20   0 1760460  46560      0 S   0.3   1.2   1:54.39 sabnzbdplus                                                             
 6021 nobody    35  15 1710952  43756      0 S   0.3   1.1   1:21.96 Plex Script Hos                                                         
 6610 nobody    20   0  301592  63836      0 D   0.3   1.6   0:11.73 Plex Media Scan                                                         
10845 root      20   0    8784   3240   2348 R   0.3   0.1   0:00.03 top                                                                     
    1 root      20   0    2460   1600   1500 S   0.0   0.0   0:10.33 init                                                                    
    2 root      20   0       0      0      0 S   0.0   0.0   0:00.01 kthreadd                                                                
    3 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 rcu_gp                                                                  
    4 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 rcu_par_gp                                                              
    6 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 kworker/0:0H-kblockd                                                    
    8 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 mm_percpu_wq                                                            
    9 root      20   0       0      0      0 S   0.0   0.0   0:01.44 ksoftirqd/0                                                             
   10 root      20   0       0      0      0 I   0.0   0.0   0:24.20 rcu_sched                                                               
   11 root      20   0       0      0      0 I   0.0   0.0   0:00.00 rcu_bh                                                                  
   12 root      rt   0       0      0      0 S   0.0   0.0   0:00.04 migration/0                                                             
   13 root      20   0       0      0      0 S   0.0   0.0   0:00.00 cpuhp/0                                                                 
   14 root      20   0       0      0      0 S   0.0   0.0   0:00.00 cpuhp/1                                                                 
   15 root      rt   0       0      0      0 S   0.0   0.0   0:00.03 migration/1                                                             
   16 root      20   0       0      0      0 S   0.0   0.0   0:01.78 ksoftirqd/1                                                             

 

 

I use the server for files and Sonarr, SABnzbd, Radarr and Plex. I know RAM @ 4GB is on the low side but I ran this setup on Windows 10 before and it was fine, I can't imagine unRaid needing more RAM then that although I plan on upping to 8GB.

I've uploaded a diagnostics dumpy of when this happened.

 

 

oliver-server-diagnostics-20190519-1207.zip

 

Edited by OliverRC

 85.1 wa,

85% cpu waiting for I/O.  The dashboard takes this into consideration.  With whatever is happening at the time this goes on, it's because you're running into bottlenecks 

  • Author

Thanks for the response, during this time I was watching something on Plex (1080p).

I am quite new to unraid, what do you think the bottleneck/root cause is?

If it is waiting for I/O I assume this could be a case of the array being to slow to serve the video?

 

That would be odd as I've had this hardware on a Windows setup and been able to run Ultra HD playback with no issue.

It shouldn't be that demanding on disc reads to playback a 1080p movie.

  • 2 weeks later...
  • Author

I upgraded to 8GB of RAM and no dice.

It looks like DLNA Server in Plex is eating up a huge amount of RAM. Then at some point the system freaks out and goes into page swapping madness and kills the CPU and RAM maxing them out to 100%.

 

I understand what is going on here.

 

top command
image.png.f1761fc29dd7fc81752de548e20178cb.png

  • 4 months later...

I have the same issue and it drivers me mad, as in the morning the ram is around 25mb and then during the day / evening the ram raises to 100% and the next thing i know i, plex has hanged.

 

I also like to know of there is a way to provent the ram raising to 100%

  • Author

@chris_netsmart I have been running now for a while since this post after disabling the DLNA server, with no issues.
It looks like there might have been an issue with it. I've not needed to re-enable it so cannot confirm if updates have resolved it.

Edited by OliverRC

@oliverRC.  Thanks for the info about DLNA services. The funny things is that i turned this off myself last night.

 

I will also update the call in a few days, if all is ok.

 

Update.

I can also confirm that after turning off the DLNA services, my plex now only use 25% of my RAM and has not craahed one this week.

Edited by chris_netsmart
Progress on DLNA issue

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.