DarWun 360 Posted Sunday at 01:38 AM Posted Sunday at 01:38 AM (edited) Since updating to Beta 4.10.0.15 I've been experiencing server shutdowns due to excessive Emby memory utilization at least once a week. This is something I've experienced intermittently in the past (every couple of months). But the frequency of the occurrence has increased to once a week. I've reviewed other posts in this thread about memory issues on the Synology platform, and none of the advice provided addresses the issue as I am seeing it. Recommendations from the Emby team in the previous posts are to uninstall certain plugins to reduce memory utilization. I have two of those plugins installed...Statistics and Playback Reporting. But the memory issue I'm seeing has nothing to do with those plugins as far as I can tell. The attached log is from the most recent out of memory event. I initiated a library scan from the scheduled tasks after adding a couple of videos to my library. Emby memory usage on the NAS immediately went from 900MB to 1.62GB. That memory was not released after the scan completed. I do not believe the plugins that the Emby team has previously asked to be uninstalled to troubleshoot memory issues had anything to do with the memory usage. Memory usage jumped entirely due to the initiation of the library scan. The server became sluggish and unresponsive. Eventually Emby shutdown. The image below shows the memory usage jump upon initialization of the "Scan media library" task. Memory usage before initiating the library scan was 70%. It increased to 90%+ upon initiating the scan. I'm not sure how to help troubleshoot this issue. I have not had memory issues running Emby on my Synology NAS previous to Beta 4.10.0.15. Since upgrading to that version, my server is shutting down at least once a week due to out of memory issues. embyserver-63918665956.txt Edited Sunday at 02:10 AM by DarWun
DarWun 360 Posted Sunday at 07:01 PM Author Posted Sunday at 07:01 PM (edited) Coincidentally, the NAS was updated to DSM Version 7.4-90075 two days prior to the update to Emby Beta 4.10.0.15. I thought that was worth pointing out. Edited Sunday at 07:33 PM by DarWun
Luke 42686 Posted 23 hours ago Posted 23 hours ago HI, please try removing these plugins: Bulky 1.0.20.0 Chapter API 1.4.0.0 Credits Detector 2.6.2.0 Episode Refresh 1.0.0.1 Intros Backup 1.0.0.6 Playback Reporting 2.1.0.7 Statistics 3.4.2.0 TimeLordMovies 19.8.3.1105 TimeLordTV 19.8.3.1105 Transcoding Tests 4.8.5.0 Xml Metadata 3.5.1.0 Then restart the server and see how things compare.
DarWun 360 Posted 46 minutes ago Author Posted 46 minutes ago (edited) 22 hours ago, Luke said: HI, please try removing these plugins: Bulky 1.0.20.0 Chapter API 1.4.0.0 Credits Detector 2.6.2.0 Episode Refresh 1.0.0.1 Intros Backup 1.0.0.6 Playback Reporting 2.1.0.7 Statistics 3.4.2.0 TimeLordMovies 19.8.3.1105 TimeLordTV 19.8.3.1105 Transcoding Tests 4.8.5.0 Xml Metadata 3.5.1.0 Then restart the server and see how things compare. These plugins have been installed for over a year (or several years in most cases) without an issue. They may be causing the incremental memory increase over time that has been reported by others. I've been rebooting my server every few weeks to address this. I fail to see how they could be responsible for a sudden increase in memory usage by Emby when a library scan is initiated. Jumping from 900Mb of memory usage to 1.62GB after initiating a scan...how could those plugins be causing that? Most of those plugins identified are only run manually on my server. They do not run otherwise. My issue is that when I initiate a library scan, memory usage occasionally (once a week after updating to Beta 4.10.0.15) jumps significantly causing Emby to shutdown. I don't see how that could be a result of the plugins. @sa2000In this post: you stated that "For excessive memory usage investigations, I normally would use a script to record memory usage by Emby Server ... ". Can you provide that script? Edited 46 minutes ago by DarWun
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