Eisi2005 Posted November 27, 2018 Share Posted November 27, 2018 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? Link to comment
JonathanM Posted November 27, 2018 Share Posted November 27, 2018 What are the mappings for your Emby docker? Link to comment
Eisi2005 Posted November 27, 2018 Author Share Posted November 27, 2018 /mnt/user/appdata/EmbyServer for config /mnt/user/server/ for mnt Link to comment
trurl Posted November 27, 2018 Share Posted November 27, 2018 But those symptoms do sound like a docker mapping problem. Instead of typing your docker mappings, post your docker run command as seen here: https://forums.unraid.net/topic/57181-real-docker-faq/#comment-564345 Also go to Tools - Diagnostics and attach the complete diagnostics zip to your next post. Link to comment
Eisi2005 Posted November 27, 2018 Author Share Posted November 27, 2018 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 Link to comment
trurl Posted November 27, 2018 Share Posted November 27, 2018 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/ Link to comment
Squid Posted November 27, 2018 Share Posted November 27, 2018 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 Link to comment
Eisi2005 Posted November 28, 2018 Author Share Posted November 28, 2018 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 ? Did you have a recommendation what ram this docker need emby duckdns letsencrypt mariadb for nextcloud nextcloud Thanks Link to comment
trurl Posted November 28, 2018 Share Posted November 28, 2018 4 hours ago, Eisi2005 said: @Constructor as i take the diagnosic, the server starts fresh bevor. @Squid No problem @Advanced Member I guess he got Squid right because you have a sentence for your "Rank"😁 Link to comment
Squid Posted November 28, 2018 Share Posted November 28, 2018 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) Link to comment
Squid Posted November 28, 2018 Share Posted November 28, 2018 1 hour ago, trurl said: I guess he got Squid right because you have a sentence for your "Rank"😁 Nah, I'm just special 😎 Link to comment
Eisi2005 Posted November 28, 2018 Author Share Posted November 28, 2018 lol Sorry @trurl Link to comment
Eisi2005 Posted November 28, 2018 Author Share Posted November 28, 2018 @Squid Thanks Link to comment
trurl Posted November 28, 2018 Share Posted November 28, 2018 1 hour ago, Eisi2005 said: lol Sorry @trurl Been happening a lot lately. Probably the new forum skins. Link to comment
Eisi2005 Posted November 28, 2018 Author Share Posted November 28, 2018 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 Link to comment
trurl Posted November 28, 2018 Share Posted November 28, 2018 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? Link to comment
Eisi2005 Posted November 29, 2018 Author Share Posted November 29, 2018 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. Link to comment
JonathanM Posted November 29, 2018 Share Posted November 29, 2018 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. Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.