November 27, 20232 yr As per title, over the last few days I've started to get some out of memory errors on my machine. I have 32GB RAM and never had any issues previously (this unraid build is just over a year old). Hoping someone with deeper knowledge might be able to shine a bit more light reviewing the diagnostics tower2-diagnostics-20231127-2053.zip
November 28, 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 28, 20232 yr Community Expert 13 hours ago, chrishorton7 said: I have 32GB RAM and never had any issues previously (this unraid build is just over a year old). When is Plex's scheduled tasks set to kick off?
November 28, 20232 yr Author 15 minutes ago, Michael_P said: When is Plex's scheduled tasks set to kick off? They are scheduled to start at 2am and finish at 5am
November 28, 20232 yr Community Expert 2 hours ago, chrishorton7 said: They are scheduled to start at 2am and finish at 5am Weird that there's a login right before the OOM, do you recall doing anything in particular? Nov 25 04:28:48 Tower2 webGUI: Successful login user root from 192.168.1.138 Nov 25 04:28:49 Tower2 kernel: docker invoked oom-killer: gfp_mask=0x140dca(GFP_HIGHUSER_MOVABLE|__GFP_COMP|__GFP_ZERO), order=0, oom_score_adj=0 Nov 26 06:18:07 Tower2 webGUI: Successful login user root from 192.168.1.138 Nov 26 06:18:08 Tower2 kernel: docker invoked oom-killer: gfp_mask=0x140dca(GFP_HIGHUSER_MOVABLE|__GFP_COMP|__GFP_ZERO), order=0, oom_score_adj=0 Nov 27 04:57:56 Tower2 webGUI: Successful login user root from 192.168.1.138 Nov 27 04:57:57 Tower2 kernel: php-fpm invoked oom-killer: gfp_mask=0x140dca(GFP_HIGHUSER_MOVABLE|__GFP_COMP|__GFP_ZERO), order=0, oom_score_adj=0 You can try limiting Plex's container to something reasonable like 8GB or so to see if it stops going OOM
November 28, 20232 yr Author 1 hour ago, Michael_P said: Weird that there's a login right before the OOM, do you recall doing anything in particular? Nov 25 04:28:48 Tower2 webGUI: Successful login user root from 192.168.1.138 Nov 25 04:28:49 Tower2 kernel: docker invoked oom-killer: gfp_mask=0x140dca(GFP_HIGHUSER_MOVABLE|__GFP_COMP|__GFP_ZERO), order=0, oom_score_adj=0 Nov 26 06:18:07 Tower2 webGUI: Successful login user root from 192.168.1.138 Nov 26 06:18:08 Tower2 kernel: docker invoked oom-killer: gfp_mask=0x140dca(GFP_HIGHUSER_MOVABLE|__GFP_COMP|__GFP_ZERO), order=0, oom_score_adj=0 Nov 27 04:57:56 Tower2 webGUI: Successful login user root from 192.168.1.138 Nov 27 04:57:57 Tower2 kernel: php-fpm invoked oom-killer: gfp_mask=0x140dca(GFP_HIGHUSER_MOVABLE|__GFP_COMP|__GFP_ZERO), order=0, oom_score_adj=0 You can try limiting Plex's container to something reasonable like 8GB or so to see if it stops going OOM The logins right before the OOM are a mystery to me as they are at 4am or 6am so I would have been asleep - looking at the IP address on my router it appears to be an Apple device - I'm not sure which device, but unclear why an Apple device is logging in at that time?? stupid question - how do you limit a container to a certain amount of RAM? For reference I am using Hotio docker container
November 28, 20232 yr Community Expert 42 minutes ago, chrishorton7 said: stupid question - how do you limit a container to a certain amount of RAM? For reference I am using Hotio docker container Enable the advanced view in the docker container's settings and in the extra parameters line add this:
November 29, 20232 yr Author after adding the extra paramater to the docker container yesterday I had the same issue this morning with the OOM error (see attached diagnostics and screenshot of the extra parameter settings tower2-diagnostics-20231129-1225.zip
November 29, 20232 yr Community Expert 39 minutes ago, chrishorton7 said: after adding the extra paramater to the docker container Doesn't look like you're putting it in the right spot - undo what you did and do this: Toggle basic view to advanced view Add it to the Extra Parameters line
November 29, 20232 yr Author I do not see the Extra Parameters field in my docker - I notice that you are using binhex - I am using Hotio docker. There is a field titled additional requirements??
November 29, 20232 yr Community Expert 5 minutes ago, chrishorton7 said: I do not see the Extra Parameters field in my docker Did you toggle advanced view?
November 29, 20232 yr Author sorry I completely missed the field, I see it now - have updated, will see if this resolves the issue tomorrow morning
November 30, 20232 yr Author still getting the same issue despite limiting the Plex docker to 8GB RAM (see attached diagnostics) tower2-diagnostics-20231130-1129.zip
November 30, 20232 yr Community Expert 1 hour ago, chrishorton7 said: still getting the same issue despite limiting the Plex docker to 8GB RAM Can you take a screenshot of your plex container with the advanced view enabled?
November 30, 20232 yr Author 1 hour ago, Michael_P said: Can you take a screenshot of your plex container with the advanced view enabled?
November 30, 20232 yr Community Expert Looks right except yours has 8GB instead of 8G not sure it matters Set the plex scheduled task for the next closest hour, then watch the memory usage as it runs thru it (that way at least you won't have to wait overnight)
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.