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

Started getting this issue raised in Fix Common Problems, and my server keeps becoming unreachable. If I IPMI in, it shows the normal login on the command line while its unresponsive but cant get to the web ui or anything running on it.

hulk-diagnostics-20231003-1458.zip

Solved by Michael_P

  • 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

Seems to be happening pretty much daily now. Ill try adjusting the Ram as suggested

  • Author

I ended up doubling the amount of RAM in the server as it was cheap, but I'm still getting the error and it's causing the server to become unavailable every night now around 4AM. I have removed some dockers and turned off everything I don't see as mission critical. I think this might have started happening around when I updated to 6.12.4. 

  • Community Expert
24 minutes ago, zedzim said:

every night now around 4AM

 

What time is Plex's scheduled maintenance set to kick off?

  • Community Expert

You need to try and find out what is causing the memory leak, you create the small script below with the user scripts plugin and schedule it to run hourly, it will output the memory stats to the syslog, disable all services, confirm memory usage is not increasing, if yes start enabling things one by one and re-check after 1H.


 

#!/bin/bash
free -h |& logger &

 

  • Author
10 hours ago, Michael_P said:

 

What time is Plex's scheduled maintenance set to kick off?

2AM

hi,

I keep getting that error message too now all of a sudden.

Does your RAM stat also look like this?

 

grafik.png.f61793a0da0d3fad6ac0c293b517b11c.png

  • Community Expert
  • Solution
15 hours ago, zedzim said:

2AM

 

Oct  3 02:19:42 Hulk kernel: php-fpm invoked oom-killer: gfp_mask=0x140cca(GFP_HIGHUSER_MOVABLE|__GFP_COMP), order=0, oom_score_adj=0
...
Oct  3 02:19:42 Hulk kernel: Out of memory: Killed process 13547 (Plex Transcoder) total-vm:23641336kB, anon-rss:23579300kB, file-rss:0kB, shmem-rss:0kB, UID:99 pgtables:46284kB oom_score_adj:0

 

That tracks with when it ran OOM at 0219, so try limiting the Plex container (advanced view)

 

image.png.12bdad1ea5b9d96c4e25fd1ccdbce412.png

  • Author

I have downgraded to 11.5 and everything is now fine.

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.