Out of memory error on unRAID server, possibly ramdisk related?


Recommended Posts

Hi, recently I've been getting OOM errors on my server from the Fix Common Problems plugin.

 

I've noticed (but am not 100% sure) that it usually happens when we're streaming something from Plex. Plex has been set up to use the ramdisk (`/dev/shm` to `/transcode`) as a temporarily transcode dumping ground. But my understanding is that this ramdisk will never cause OOM and cause the kernel to randomly kill off processes with the oom-killer.

 

Attached diagnostics. Any suggestions would be appreciated!

dipper-diagnostics-20230320-2355 2.zip

Link to comment

Ramdisk is limited to 50% RAM, but the other 50% might not be enough for the rest, 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 1
Link to comment

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.