Jump to content

Out Of Memory errors detected on your server


Go to solution Solved by JorgeB,

Recommended Posts

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?

 

 

Link to comment

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
Link to comment
  • 2 weeks later...
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
Link to comment
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

Link to comment

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.

Link to comment
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

Link to comment
  • 9 months later...

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...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...