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.

High CPU Usage By Docker Service

Featured Replies

I'm getting huge CPU usage from the docker service causing my system/webgui to lock up.

 

It started right in the middle of normal operation (was renaming some files in Sonarr I think). I cannot attribute it to any specific container as the problem persists even with all containers off. I've tried turning them on/off one at a time but no obvious culprit. If I disable the Docker service entirely though, it seems to go away. The only other change I have made recently is increasing the size of the docker image from 64gb to 96gb.

 

Top is showing Dockerd using around 600%.

 

A couple of orphaned docker images were created around this time but not exactly sure when. I am also noticing irregularly high reads in my cache pool (the one with my appdata and docker img). Is this corruption?

 

Thanks in advance.

Screen Shot 2023-05-11 at 7.01.24 am.png

Screen Shot 2023-05-11 at 6.59.47 am.png

Screen Shot 2023-05-11 at 6.58.45 am.png

unraidserver-diagnostics-20230511-0654.zip

Solved by Irithor

  • Community Expert
13 hours ago, Irithor said:

The only other change I have made recently is increasing the size of the docker image from 64gb to 96gb.

I think it is unlikely that you need a docker image file this large unless you have a container mis-configured so that is writing data internally to the image.   Have you had problems with it filling up in the past?   If properly configured then any location within a container where anything other than a trivial amount of data is being written should be mapped to a location on the host external to the image.

 

Whether this is related to your current issue I have no idea but thought it was worth mentioning just in case.

  • Author

Thanks for taking a look!

I thought 96gb for the Docker Image was very large also. I have since decided to just go ahead and recreate the image and re-download my containers. This has allowed me to at least have the service up and running with no containers and a clean image, so that's progress. I am now in the process of turning them back on one by one. It having one or some of them auto-start with the array causes this issue and doesn't resolve until a full reboot.

 

I know the Docker Image can fill up when paths are incorrectly configured but I feel I have pretty meticulously checked and re-checked they are all correct.

 

I've attached a report of the Container Sizes. I'm not sure if they will mean anything to you as you might not be familiar with them but appreciate letting me know if anything looks off to you.

Container Sizes.txt

I have the same or at least a similar problem. I am on 6.12.0-rc5. I am using a directory instead of a docker image, which is placed on the cache pool (2 nvme drives, raid 1, btrfs). The cache pool is not full and not corrupt. Any suggestions? Tried restarting and stopping individual containers, no change. Please find screenshots and diagnostics attached.

 

Best

 

Daniel

 

1334126076_Screenshot2023-05-16at14_22_41.thumb.png.927ebc9148dd6f3369a6f91f753c6b4c.png1246762609_Screenshot2023-05-16at14_22_25.thumb.png.8ecd3f16199852d45691912abd091957.png1640966265_Screenshot2023-05-16at14_19_49.thumb.png.b3f446fdb8740cc2388783afabca6287.png

server-diagnostics-20230516-1420.zip

  • Author
  • Solution

A scrub won't return anything specifically in regards to Docker Image corruption. Just overall corruption I believe.

 

I just ended up re-creating the Docker Image and downloading all the images from scratch. I also believe the culprit may be that the Plex Meta Manager container was creating a memory leak due to trying to restart itself in extremely quick succession without just stopping because of a bad update that was pushed that needed to disable part of it's start up process but didn't account for this looping issue.

 

Between those two things the issue seems to have resolved itself for now.

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.