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.

server RAM is full after playing 1-2 movies

Featured Replies

I am using unraid 6.5.3 with the emby docker and a raspi as a player. The Unraid server has 12 GB of RAM. In addition, I use the cache dir plugin. In cache dir I have fixed 2 GB. After a server restart are about 2.5 GB occupied by the System.After cache dir read all of my files are almost 3 GB occupied. If I now play several movies or jump in a movie back and forth, the memory requirements increase more and more until the entire memory is full. If I stop the movie, no memory will be released. I've also restarted emby, but that does not release any memory. When the memory runs full, then my cached files by cache are away so my disks are awakened again.

Does the problem know someone and can help?

  • Author

/mnt/user/appdata/EmbyServer for config

/mnt/user/server/ for mnt

  • Author

run -d --name='EmbyServer' --net='bridge' --privileged=true -e TZ="Europe/Berlin" -e HOST_OS="unRAID" -e 'APP_UID'='99' -e 'APP_GID'='100' -p '8096:8096/tcp' -v '/mnt/user/server/':'/mnt':'rw' -v '/mnt/user/appdata/EmbyServer':'/config':'rw' 'emby/embyserver'

 

 

server-diagnostics-20181127-1743.zip

  • Community Expert

The docker run looks OK and diagnostics don't show RAM full.

 

Are you looking at System Stats to judge RAM usage? See this: https://www.linuxatemyram.com/

 

 

If a process (eg: emby) requires RAM, then the entries cached by cache_dirs, will get dropped.  This is expected, and realistically is what you want to have happen.  You do not want a process to run out of memory when there is perfectly usable ram that is simply being used to cache directory entries.

 

You can however limit any docker container to only utilize a certain amount of maximum memory https://forums.unraid.net/topic/57181-real-docker-faq/?page=2#comment-566088

 

  • Author

Thanks for all your answers,

 

@Constructor as i take the diagnosic, the server starts fresh bevor.

 

@Squid

i will try to give every docker a RAM limit. But where i must set the --memory=4G ?

0O0yOev.jpg

 

Did you have a recommendation what ram this docker need

 

emby

duckdns

letsencrypt

mariadb for nextcloud

nextcloud

 

Thanks

 

 

Edited by Eisi2005

  • Community Expert
4 hours ago, Eisi2005 said:

@Constructor as i take the diagnosic, the server starts fresh bevor.

 

@Squid

No problem @Advanced Member:P

 

I guess he got Squid right because you have a sentence for your "Rank"😁

6 hours ago, Eisi2005 said:

i will try to give every docker a RAM limit. But where i must set the --memory=4G ?

 

In the extra parameters (advanced view)

1 hour ago, trurl said:

I guess he got Squid right because you have a sentence for your "Rank"😁

Nah,  I'm just special 😎

  • Author

lol :) Sorry @trurl

 

 

  • Author

@Squid

 

Thanks

 

  • Community Expert
1 hour ago, Eisi2005 said:

lol :) Sorry @trurl

Been happening a lot lately. Probably the new forum skins.

  • Author

Hi,

 

the whole day all was fine, but at 7:50 pm from one moment to an other the ram was full, from 7:40 pm to 7:50 pm the free ram goes from 8 GB free to 600 MB free. Here is a new diagnostic file. Could that help to find the problem ?

 

I set the following RAM for my dockers

 

emby 3GB

duckdns 1GB

letsencrypt 1GB

mariadb for nextcloud 1GB

nextcloud 1GB

cache dir 2GB

 

 

server-diagnostics-20181128-2147.zip

Edited by Eisi2005

  • Community Expert
1 hour ago, Eisi2005 said:

at 7:50 pm from one moment to an other the ram was full, from 7:40 pm to 7:50 pm the free ram goes from 8 GB free to 600 MB free.

Where are you seeing this information?

  • Author

from stats/system-stats

 

As i look at 8 pm then i only see that all free ram was gone. Now over night i see that there ist more and more free ram again.

 

Ee43MAL.jpg

Edited by Eisi2005

On 11/27/2018 at 2:11 PM, trurl said:

Are you looking at System Stats to judge RAM usage? See this: https://www.linuxatemyram.com/

 

4 hours ago, Eisi2005 said:

from stats/system-stats

trurl already answered your question. Did you read the link? It explains what is going on, why it is normal, and nothing to be concerned about.

  • Author

Ups, sorry

 

 

Archived

This topic is now archived and is closed to further replies.

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.