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.

CPU running at 100%

Featured Replies

Good morning all,

       I keep having issues with my CPU and my RAM maxing out randomly to the point where I need to restart the server. It happens almost everyday. I have attached logs. Thank you. 

defiant-diagnostics-20230110-1037.zip

  • Community Expert

Server load is extremely high, and shfs is one of the main culprits, if possible try to use disk shares instead of user shares for at least some of the dockers and see if that helps.

  • Community Expert

Follow the links.

  • Community Expert
26 minutes ago, Reddog1400 said:

Can you elaborate further? What is a disk share vs a user share

Click the links in your post.

 

Might be more correct to say use disks instead of user shares for some of your dockers, since it has nothing to do with actually sharing disks.

 

Instead of a path in /mnt/user/appdata, for example, you might specify a path in /mnt/cache/appdata. Or maybe /mnt/plex_cache/appdata since I see you also have a pool named plex_cache

 

Not exactly related, but I notice your prefer:cache appdata share has some files on the array. To get these moved to cache you have to disable Docker in Settings and run mover. Mover won't replace files though, so if there are duplicates you will have to clean those up yourself with Dynamix File Manager

  • Author

ok, thanks, I will give it a try. 

  • Author
On 1/10/2023 at 11:23 AM, trurl said:

Click the links in your post.

 

Might be more correct to say use disks instead of user shares for some of your dockers, since it has nothing to do with actually sharing disks.

 

Instead of a path in /mnt/user/appdata, for example, you might specify a path in /mnt/cache/appdata. Or maybe /mnt/plex_cache/appdata since I see you also have a pool named plex_cache

 

Not exactly related, but I notice your prefer:cache appdata share has some files on the array. To get these moved to cache you have to disable Docker in Settings and run mover. Mover won't replace files though, so if there are duplicates you will have to clean those up yourself with Dynamix File Manager

I did this with a few and it seemed to work a little. Then it happened again. Did you notice certain dockers being the culprits? Also, is this why the RAM is maxing out too?

  • Community Expert

Post new diags.

  • Community Expert

Plex appears to be the main culprit, does it get better if you shut it down?

  • Author

I haven't tried that by itself. If I stop and restart the array it fixes it. Do you see what I can do to fix the Plex issue. This is all new to me. I mean I have been running a server for a couple of years, but I have just be self teaching myself stuff. 

  • Community Expert

First confirm if it is Plex by stopping it.

  • Author

ok, my server ground to a halt so I restarted the array. I will do that the next time this happens. Then I will send new Diags. 

  • Community Expert
25 minutes ago, Reddog1400 said:

After I shutdown Plex, the CPUs came down

That suggests a Plex problem then, what Plez release are you using?

  • Author

linuxserver/plex

 

This is the repository I am using. This is with the GPU. 

  • Community Expert

I've never used Plex so can't really help with that, suggest visiting the Linuxserver's discord, or maybe someone else can help here.

  • Author

docker run
  -d
  --name='plex-gpu'
  --net='defiant1'
  --cpuset-cpus='4,5,6,7,12,13,14,15'
  -e TZ="America/Indiana/Indianapolis"
  -e HOST_OS="Unraid"
  -e HOST_HOSTNAME="Defiant"
  -e HOST_CONTAINERNAME="plex-gpu"
  -e 'VERSION'='docker'
  -e 'NVIDIA_VISIBLE_DEVICES'='GPU-22894283-12c9-ee8d-0da8-55e6693131b0'
  -e 'NVIDIA_DRIVER_CAPABILITIES'='all'
  -e 'PUID'='99'
  -e 'PGID'='100'
  -l net.unraid.docker.managed=dockerman
  -l net.unraid.docker.webui='http://[IP]:[PORT:32400]/web'
  -l net.unraid.docker.icon='https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/plex-icon.png'
  -p '32400:32400/tcp'
  -p '3005:3005/tcp'
  -p '8324:8324/tcp'
  -p '32469:32469/tcp'
  -p '1901:1900/udp'
  -p '32410:32410/udp'
  -p '32412:32412/udp'
  -p '32413:32413/udp'
  -p '32414:32414/udp'
  -v '/mnt/cache/Movies/':'/movies':'rw'
  -v '/mnt/cache/Television/':'/tv':'rw'
  -v '/mnt/cache/Music/':'/music':'rw'
  -v '/mnt/plex_cache/transcode':'/transcode':'rw'
  -v '/mnt':'/mnt':'rw'
  -v '/mnt/cache/appdata/dizquetv/':'/dizquetv':'rw'
  -v '/mnt/plex_cache/plex_appdata/':'/config':'rw'
  --runtime=nvidia 'linuxserver/plex'

48163179643e14218fa33e7afa3ca232d6d34585639184190ab4e9d6c1131996

The command finished successfully!

  • 2 weeks later...
  • Author

@trurl is this what you needed to see?

  • Community Expert
2 minutes ago, Reddog1400 said:

@trurl is this what you needed to see?

A blast from the past!

 

I notice you are mapping directly to cache or other pool instead of user shares.  I wonder if you didn't take the advice of using disks instead of user shares too far.

 

Post new diagnostics

  • Author

So, I shouldn't do that? So, what is your advice? 

  • Community Expert
2 minutes ago, Reddog1400 said:

what is your advice?

55 minutes ago, trurl said:

Post new diagnostics

 

  • Community Expert

Your appdata has files on the array. That is the main one that you probably should be directly mapping to cache. You need to get that all on cache for that to work across the board.

 

Your other mappings, for example, 

On 1/20/2023 at 6:21 PM, Reddog1400 said:

 -v '/mnt/cache/Movies/':'/movies':'rw'

means that when plex accesses /movies, all it will see are those that are on cache. I assume that isn't what you want, since it looks like your Movies share has files on lots of other disks.

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

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.