vaise 344 Posted 57 minutes ago Posted 57 minutes ago I have been battling a few out of memory crashes on Emby that are quite new to me. These have only appeared since the new release. I am using an Unraid server, and docker container. This used to be set to 8GB ram, but I increased it to 12gb after another OOM issue, now its sitting on 16GB. I have added a 5 minute check on the memory - It emails me and writes to a log file once it gets to an amount. I set that monitor to start alerting at 4GB, then increased to 5GB, then increased to 6GB and so on.... It is slowly rising, after 24 hours, it is now sitting at 6.5GB after growing slowly (and never reducing) from the 1.3 it started with at 5PM yesterday. I have now set it to 8GB, which prior to this release, it never got to before (I never have a need to check what it was, it has just never OOM's before). The things I have done - Removed any third party app access, minimised any transcoding (it did that to disk anyway) - the vast majority is direct play, but I have now set some users to not be allowed to transcode (they have old emby clients), turned off subtitles on the fly etc. I don't have periodic library scans or anything like that. So now I am just in 'close monitoring' mode, collecting the memory usage, seeing what happens, one screen on the logs, to see if anything jumps out. It seemed to crash at 7pm-8pm so I would say at higher usage time. I also put in an automated restart of the embyserver if the admin page times out for any reason - It scans for that every 5 minutes also - That will stop be being harassed by friends and family members like I was the other night, while I was sick in bed. These are the log messages for the last crash - root@Tower:~# grep -i -E "oom-kill|killed process" /var/log/syslog.1 Sep 27 19:37:49 Tower kernel: .NET TP Worker invoked oom-killer: gfp_mask=0xcc0(GFP_KERNEL), order=0, oom_score_adj=0 Sep 27 19:37:49 Tower kernel: oom-kill:constraint=CONSTRAINT_MEMCG,nodemask=(null),cpuset=b97da7bac43b338bf1d841bf5354fc45938e51688c1bf1adb84d74d1cd71ca3e,mems_allowed=0,oom_memcg=/docker/b97da7bac43b338bf1d841bf5354fc45938e51688c1bf1adb84d74d1cd71ca3e,task_memcg=/docker/b97da7bac43b338bf1d841bf5354fc45938e51688c1bf1adb84d74d1cd71ca3e,task=EmbyServer,pid=350997,uid=99 Sep 27 19:37:49 Tower kernel: Memory cgroup out of memory: Killed process 350997 (EmbyServer) total-vm:37996784kB, anon-rss:8054944kB, file-rss:81484kB, shmem-rss:89096kB, UID:99 pgtables:16952kB oom_score_adj:0 root@Tower:~#
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now