shewishewi Posted November 15, 2023 Share Posted November 15, 2023 (edited) Hi All - I am new to unraid and recently setup my server with 64 GB of RAM running 20 dockers. It seems that there may be a memory leak somewhere as I am getting warnings of memory filling up and sometimes the server becomes unresponsive forcing a restart. I'm not able to pin point what it could be, could someone help me with this one? Included is the diagnositic information Thank you! Edited November 16, 2023 by shewishewi Quote Link to comment
JorgeB Posted November 15, 2023 Share Posted November 15, 2023 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/ Quote Link to comment
shewishewi Posted November 15, 2023 Author Share Posted November 15, 2023 1 hour 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/ I've had the server freeze up on me quite a bit recently requiring a restart. I just added RAM limits to most of the unimportant dockers for now and uninstalled unnecessary plugins. What does the swap file do ? is there a drawback in adding this ? Quote Link to comment
JorgeB Posted November 15, 2023 Share Posted November 15, 2023 40 minutes ago, shewishewi said: What does the swap file do ? is there a drawback in adding this ? Mostly makes OOM errors less likely. If the device where the swap is fails the server may crash, depending on if swap was being used for anything critical. Quote Link to comment
Recommended Posts
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.