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.

Plex Media Server causing memory leak, docker container force reboots every 10 seconds

Featured Replies

Hey all, really scratching my head with this one. My Plex docker container has worked perfectly for the last 12 months, however out of the blue it's started crashing. Took a while to figure out why it was crashing, and I've discovered partially whats responsible - and thats a significant memory leak, which in turn is causing the CPU to spike.

I've included a video of what I'm seeing with "docker stats" and the Plex Media Server container logs. You'll see a common error "Critical: libusb_init failed", Googling this error suggests it's related to USB devices, however I do not use any so I'm a bit confused with this one.

Steps taken to no avail:

  • Rebooting the container
  • Limiting the memory to 8gb from 16gb (max available)
  • Restarting docker service
  • Allocating more storage for docker file
  • Performed a "btrfs scrub" - no errors
  • Rebooted server
  • Forced update of container
  • Plenty of Google searching but no luck (or not looked hard enough)


I'm curious, has anybody experienced this issue before? And if so, what's the best way of identifying exactly what's causing the memory leak?

Thank you in advance 🙂

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.