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 errors detected on your server

Featured Replies

Hi,

I have to admit, I am not checking my unraid server on a daily basis. Today I saw a red error from the "FIX COMMON PROBLEMS" Plugins:

 

Out Of Memory errors detected on your server

 

I have not noticed any malfunction from the server and do not know what to do except the recommended reboot of the server from this post: 

 Should I check or do somthing else before rebooting?

 

 

Solved by JorgeB

  • Author

... and I forgot to include the diagnostics

 

  • Community Expert
  • Solution

If it's a one time thing you can ignore, if it keeps happening try limiting more the RAM for VMs and/or docker containers, the problem is usually not just about not enough RAM but more about fragmented RAM, alternatively a small swap file on disk might help, you can use the swapfile plugin:

 

https://forums.unraid.net/topic/109342-plugin-swapfile-for-691/

  • Author

Thanks for your answer. I will reboot the server and monitor if this is happening again

  • Community Expert

Note that if a particular container is set to have a max memory allocation precisely to avoid affecting the rest of the server if it misbehaves and exceeds it it'll also be logged as such even if the server itself never got close to running out of RAM.

Edited by Kilrah

  • 2 weeks later...
  • Author
On 6/12/2023 at 9:13 AM, Kilrah said:

Note that if a particular container is set to have a max memory allocation precisely to avoid affecting the rest of the server if it misbehaves and exceeds it it'll also be logged as such even if the server itself never got close to running out of RAM.

 Is there anyway to see wich container causes the problem? Yesterday I got the same error again "Out Of Memory errors detected on your server".

 

The docker tab suggest, that there is no max memory allocation set:

image.thumb.png.db5d9b49805087abeafbbde7d2dcd855.png

Every docker seems to have the whole 32gb available

Edited by bubiman

  • Author

I found the docker that is causing the problem:

image.thumb.png.6095b70c58da6c7017edbe278b42280e.png

 

but right now I don´t know why this problem occurs. There seems to be pleanty RAM available 

image.png.3e48613e5500ba67ca3fde4dcb2c9866.png

  • Community Expert
1 hour ago, bubiman said:

but right now I don´t know why this problem occurs. There seems to be pleanty RAM available 

 

Go edit the template for that container, enable advanced mode, and see if a max ram amount is defined in the extra parameters.

  • Author
On 6/22/2023 at 8:36 AM, Kilrah said:

 

Go edit the template for that container, enable advanced mode, and see if a max ram amount is defined in the extra parameters.

There is no parameter set to limit the RAM amount:

image.thumb.png.ac0f18182605a06dc677884f8da79e71.png

 

This also suggests that RAM is not limited:

image.thumb.png.e334b8a88e6637f1806dfa9572413639.png

  • Community Expert

Then iobroker is probably occasionally crashing and filling up the entire RAM and getting killed. You could add "--restart=unless-stopped" to its extra parameters, and install netdata. After it happens again watch netdata and see if there was a spike in RAM usage in this or another container.

  • Author
On 6/23/2023 at 12:34 PM, Kilrah said:

Then iobroker is probably occasionally crashing and filling up the entire RAM and getting killed. You could add "--restart=unless-stopped" to its extra parameters, and install netdata. After it happens again watch netdata and see if there was a spike in RAM usage in this or another container.

Thanks, I have installed netdata and will look into it once it crashed again

  • 9 months later...

I'm having a similar situation after my 6.12.10 upgrade.  Were you able to find the root cause and resolve it @bubiman

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.