November 27, 20187 yr 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?
November 27, 20187 yr Community Expert 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.
November 27, 20187 yr 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
November 27, 20187 yr 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/
November 27, 20187 yr 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
November 28, 20187 yr 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 ? Did you have a recommendation what ram this docker need emby duckdns letsencrypt mariadb for nextcloud nextcloud Thanks Edited November 28, 20187 yr by Eisi2005
November 28, 20187 yr Community Expert 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"😁
November 28, 20187 yr 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)
November 28, 20187 yr 1 hour ago, trurl said: I guess he got Squid right because you have a sentence for your "Rank"😁 Nah, I'm just special 😎
November 28, 20187 yr Community Expert 1 hour ago, Eisi2005 said: lol Sorry @trurl Been happening a lot lately. Probably the new forum skins.
November 28, 20187 yr 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 November 28, 20187 yr by Eisi2005
November 28, 20187 yr 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?
November 29, 20187 yr 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. Edited November 29, 20187 yr by Eisi2005
November 29, 20187 yr 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.
Archived
This topic is now archived and is closed to further replies.