Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Out of memory errors detected on your server

Featured Replies

Hi all

 

I've been suffering occasional Out of Memory Errors for a while and haven't been able to get to the bottom of them myself. Can anyone help me resolve them?

 

I haven't noted any issues with this until recently, then the last few days my MyMedia for Alexa Docker keeps stopping and won't auto-restart so I'm wondering if that is related.

 

My diagnostics are attached.

 

TIA

 

tower-diagnostics-20230619-1126.zip

Edited by be4con

  • 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/

  • Author

Thanks, it happens periodically, maybe once per month on average. How do I go about limiting the RAM for VMs and/or docker containers?

 

Do you think this could be the reason that the MyMedia docker keeps stopping, or should I look for specific help with that docker community? 

  • Community Expert

4GB is the minimum for NAS only, you may just need more RAM (or use swap plugin).

  • Author

From what I had read, I thought 4Gb should be plenty, but I've managed to find an upgrade kit for my ancient server, so I'll boost the memory to the 16G max and see if that resolves everything. Thanks.

  • 2 weeks later...
  • Author

Still having issues. 

 

I upgraded my RAM to 16Gb, and I also limited the memory use to 4Gb per docker as advised. I have yet to institute a swap file, but before I do that I thought we should explore further why this might be happening. I'm not running anything especially RAM heavy - I only have 2 active dockers, Delugevpn and MyMedia for Alexa - and there should be plenty of available RAM for what I am trying to achieve without adding a swap file surely?

 

Any further advice before I explore swap files? 

  • Community Expert

I believe tht the issue is often memory fragmentation rather than total memory, and I think the swap file option helps with this.

  • Author

I've added the swapfile plugin and started it with 8MB file.

 

The error has gone for the moment but as soon as I did this I got 2 new errors reported, not sure if correlation or causation:

 

image.png.9a78fa31b221bdc70a767d8aa827074a.png

  • Community Expert
3 hours ago, be4con said:

I've added the swapfile plugin and started it with 8MB file.

 

The error has gone for the moment but as soon as I did this I got 2 new errors reported, not sure if correlation or causation:

 

image.png.9a78fa31b221bdc70a767d8aa827074a.png

The second one is the worrying one - it implies you have something writing to a location that is RAM.

  • Author

Both errors disappeared when I uninstalled the swap file plugin, but the Out of Memory error recurred. Any suggestions on what I do?

  • Community Expert

Did you reboot? Might be seeing an old warning, or post new diags.

  • Author

Yeah I rebooted both after the install of the swapfile plugin and after uninstall of it, so the warnings were new at each stage. Just run FCP again and got a new error:

image.png.96669524172548c1245ede790433b96f.png

 

Fresh diags attached
 

tower-diagnostics-20230704-1808.zip

 

 

Edited by be4con

  • Community Expert

Diags are not available, please try again.

  • Community Expert
Memory cgroup out of memory: Killed process 20657 (MyMediaForAlexa)

 

Yeah, still happening, may be a badly behaving container, or one with a memory leak, if you stop that container do the OOMs stop?

  • Author

Thanks

 

Oh, it's definitely misbehaving. I've got another support chat running about that container, although the support thread for the docker is pretty much dead. I've been having problems with it constantly stopping and refusing to autostart. So, I can't really check whether stopping that resolves anything because more often than not it's in the stopped state.

 

I went through the process of uninstalling that container, deleting the image and the container's appdata folder and performing a fresh install but the issue with it continually stopping just returned as soon as I reinstalled it, and it's not really behaving normally since I reinstalled it either (it won't index the files on the server). I raised a ticket with the MMfA devs and they have failed to respond to that too. Getting a bit frustrating to be honest.

  • 2 weeks later...
  • Author

Any suggestions please? This is driving me nuts

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...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.