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.

Out Of Memory issues

Featured Replies

Been running my Unraid server for a few years without issue. In the last couple of weeks I've had a few occurances of it grinding to a halt - some apps still run, but the Unraid UI is inaccessible, and even SSH is inconsistent. Apps are typically not accessible.

 

A reboot clears it for a while but then I can't grab the diags. Today it happened again, but I was able to use the GUI. Fix Common Problems indicated "Out Of Memory errors detected on your server". I was also able to grab a diag download.

 

I assume one of my containers if probably to blaim, but the system is so unresponsive that I'm struggling to troubleshoot it at the time.

server-diagnostics-20241130-1548.zip

Solved by JorgeB

  • Community Expert

I have not seen a out of memory error in unraid. you may have a phtom mount not wrting to the disk and wirting to the rot fs in ram.

do you have vms are you over provisoned with mutiple running?

 

  • Community Expert
  • Solution

Problem appears to be postgres, so likely the container that uses that needs to be limited or reconfigured.

  • Community Expert
19 hours ago, Nuuki said:

I assume one of my containers if probably to blaim, but the system is so unresponsive that I'm struggling to troubleshoot it at the time.

Probably Immich

 

You also have a container flapping, check the docker page in advanced view which container has the lowest uptime or using a port that's already in use

 

Nov 30 01:26:52 Server kernel: docker0: port 13(veth2b88528) entered blocking state
Nov 30 01:26:52 Server kernel: docker0: port 13(veth2b88528) entered disabled state
Nov 30 01:26:55 Server kernel: docker0: port 13(veth2b88528) entered blocking state
Nov 30 01:26:55 Server kernel: docker0: port 13(veth2b88528) entered forwarding state

 

  • Author
23 hours ago, Michael_P said:
Quote

Probably Immich

 

It looks like the postgres container was to blame. I use that for about a dozen application - the one exception being Immich, which I have moved to its own postgres instance. I've bounced back and forth on whether to have a dbms per app stack or one shared one - up to now I've gone the shared route as I'm not using compose and it seemed more elegant, but maybe its time to split postgres out, to make troubleshooting and resource management easier.

 

23 hours ago, Michael_P said:
Quote

 

You also have a container flapping, check the docker page in advanced view which container has the lowest uptime or using a port that's already in use

 

Nov 30 01:26:52 Server kernel: docker0: port 13(veth2b88528) entered blocking state
Nov 30 01:26:52 Server kernel: docker0: port 13(veth2b88528) entered disabled state
Nov 30 01:26:55 Server kernel: docker0: port 13(veth2b88528) entered blocking state
Nov 30 01:26:55 Server kernel: docker0: port 13(veth2b88528) entered forwarding state


 

Good to know. I've rebooted since then so I can't check which container that was I don't think, but I'll keep an eye on the logs to see if it crops up again.

 

  • Author
On 12/1/2024 at 10:32 AM, JorgeB said:

Problem appears to be postgres, so likely the container that uses that needs to be limited or reconfigured.

Thanks! I've added a memory limit for now, but I guess I'll need to do more digging if it starts running out of control again. As noted above its a shared postgres container, so maybe its time to run 1 per application...

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.