November 25, 20232 yr Started getting out of memory errors on my Unraid box. Per , I have not restarted yet, and am providing diagnostics here to figure out why suddenly getting Out of Memory errors. System is an R510 that has been running Unraid for ~3 years now(?) without issue. media-1-diagnostics-20231124-2027.zip
November 27, 20232 yr Community Expert 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/
November 27, 20232 yr Author 2 hours ago, JorgeB said: 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/ thanks. Is there a way to tell if it's docker related? (I don't run any VMs). I just rebooted the Unraid server after 5 days straight of getting this warning (latest diagnostics before rebooting attached). Does the warning that Fix Common Problems displays mean that it's been Out of Memory for 5 days straight, or is it just seeing a single entry in the log file of an Out of Memory error, and because I didn't reboot for 5 days, just keeps seeing that same single entry, but displays a warning each day? media-1-diagnostics-20231127-0742.zip Edited November 27, 20232 yr by Zxurian attaching diagnostics
November 27, 20232 yr Community Expert There are two OOM events in the initial log, but one would be enough to keep getting the warning until a reboot is done.
November 29, 20232 yr Author On 11/27/2023 at 10:57 AM, JorgeB said: There are two OOM events in the initial log, but one would be enough to keep getting the warning until a reboot is done. understood. I rebooted two days ago , but got a new warning this morning of Out of Memory again. Based on what you said, it sounds like a reboot should flush the log that was reporting the out of Memory errors, so _after_ a reboot, it shouldn't appear unless another Out of Memory event occurred? Latest diagnostics attached to try and isolate what is causing these all of a sudden. media-1-diagnostics-20231129-1245.zip
November 29, 20232 yr Community Expert 27 minutes ago, Zxurian said: it shouldn't appear unless another Out of Memory event occurred? It did: Nov 28 23:23:46 media-1 kernel: shfs invoked oom-killer: gfp_mask=0x140dca(GFP_HIGHUSER_MOVABLE|__GFP_COMP|__GFP_ZERO), order=0, oom_score_adj=0
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.