server RAM is full after playing 1-2 movies


Eisi2005

Recommended Posts

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

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

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
Link to comment

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
Link to comment

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

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.