November 15, 20232 yr 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, 20232 yr by shewishewi
November 15, 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 15, 20232 yr Author 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 ?
November 15, 20232 yr Community Expert 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.
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.