March 3, 20251 yr Hello all, I have a server that seems to keep getting out of memory errors. I did think it was related to a container I was using but im not confident. I wanted to see what could be done to help pin down this issue and get rid of it all together. diag log attached. happy to pull data. havent rebooted just yet. bulgae-diagnostics-20250303-1459.zip
March 4, 20251 yr Community Expert Solution If your hitting out of memory. You need to buy more ram and increase the ram in the machine. Otherwise, to help alienate: Swap file so when your out of ram it writes the ram contents to disk... CA install a swap file to assist with low memory issues requires a btfs formatted disk. Install the CA swap plugin. General. as unraid sits in ram. clear logs.... Limit memory that a resource is able to have, example the docker in question: docker extra parm limit ram it gets. Setting Memory Limit in Unraid Docker: -Open the Unraid Web UI. -Navigate to Docker > Click on the container you want to modify. -Click on Edit. -Scroll down to the Extra Parameters field (you may need to enable advanced view by clicking the toggle at the top-right). -Add the following parameter to set a memory limit: example: --memory=1g -m 1g - Click Apply and Restart the container. Explanation of the Flag: --memory=1g (or -m 1g): Limits the container's memory usage to 1GB. You can also specify other values like: 512m for 512MB 2g for 2GB
March 6, 20251 yr Author Thank you for this. I am starting by adding the memory limit function to many containers. Follow up question, I see a Swap plugin in the CA, but it shows only or 6.9, not 7.0. is the swap function possible on 7.0? one of my machines is hosted off-site, so adding ram is not a quick change.
March 6, 20251 yr Community Expert it came out during 6.9 it works on v7 and above. when I say swap plugin I mean this in the ca: note the "Min OS" you need to be running v6.9 or above. that why it has 6.9 inthe tile as well.
March 7, 20251 yr Community Expert On 3/4/2025 at 3:23 PM, bmartino1 said: If your hitting out of memory. You need to buy more ram and increase the ram in the machine On 3/3/2025 at 4:02 PM, Aerodb said: Hello all, I have a server that seems to keep getting out of memory errors. I did think it was related to a container I was using but im not confident. I wanted to see what could be done to help pin down this issue and get rid of it all together. diag log attached. happy to pull data. havent rebooted just yet. bulgae-diagnostics-20250303-1459.zip 226.74 kB · 1 download You don't need more RAM, unmanic is transcoding to RAM so re-configure it to transcode to disk.
March 9, 20251 yr Author I don't see where that's configured to use ram. Do you see it the in docker edit?
March 10, 20251 yr Community Expert 11 hours ago, Aerodb said: I don't see where that's configured to use ram. Do you see it the in docker edit? It will be in the config for unmanic - I don't use it so I can't point you right to it, but look for the directory it's using for working cache and map that in the docker container's settings to a disk If you want to keep using RAM as cache, you can try doing less transcodes at once Edited March 10, 20251 yr by Michael_P
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.