dbrewood 1 Posted April 11, 2020 Share Posted April 11, 2020 Hi guys a bit of advise needed here. I've just set up Emby on my Synology DS918+ NAS. Everything seems to be working fine apart from the memory usage. Emby is taking up between 615 Mb and 1.3Gb of RAM. This seems excessive and is an area of concern. Any tips on how to resolve the problem. A NAS newbie of 14 days so any tips appreciated. Link to comment Share on other sites More sharing options...
Dibbes 431 Posted April 11, 2020 Share Posted April 11, 2020 (edited) Hi guys a bit of advise needed here. I've just set up Emby on my Synology DS918+ NAS. Everything seems to be working fine apart from the memory usage. Emby is taking up between 615 Mb and 1.3Gb of RAM. This seems excessive and is an area of concern. Any tips on how to resolve the problem. A NAS newbie of 14 days so any tips appreciated. is it doing a library scan or anything else at this time? Also, the size of your library and the plugins you have installed, factor in... Edited April 11, 2020 by Dibbes Link to comment Share on other sites More sharing options...
Luke 37060 Posted April 11, 2020 Share Posted April 11, 2020 Hi there, can you please attach the emby server log? thanks. Link to comment Share on other sites More sharing options...
dbrewood 1 Posted April 11, 2020 Author Share Posted April 11, 2020 (edited) Hopefully this is what you need? embyserver.txt Edited April 11, 2020 by dbrewood Link to comment Share on other sites More sharing options...
dbrewood 1 Posted April 11, 2020 Author Share Posted April 11, 2020 is it doing a library scan or anything else at this time? Also, the size of your library and the plugins you have installed, factor in... Hi, nope nothing special at all, all scanning has been completed, plugins are all default. We've taking about 71 movies and 409 TV shows. Plex handles the same with only 97 Mb of memory used. Link to comment Share on other sites More sharing options...
Dibbes 431 Posted April 11, 2020 Share Posted April 11, 2020 (edited) For comparison, my 1513+ uses only 300meg of memory with a lot more items. Check what it uses when you restart the server... @@Luke anything else we can look at? Edited April 11, 2020 by Dibbes Link to comment Share on other sites More sharing options...
dbrewood 1 Posted April 11, 2020 Author Share Posted April 11, 2020 If I restart the server it drops to around 80 Mb. it's been running for 2 hours and it has climbed to 1006Mb.... Link to comment Share on other sites More sharing options...
Tomxu 1 Posted April 12, 2020 Share Posted April 12, 2020 Got the same problem here.I use xpenology and cpu is J1900 with 4GB RAM.Emby server is 4.4.2.0-1.Restart server it takes 140MB and after a watch usage goes up to 600MB.When i close all clients the ram doesn't seem to be released.DSM shows that the mono-sgen activity takes most of the usage.Thanks for all helpful tips. @@Tomxu Link to comment Share on other sites More sharing options...
Tomxu 1 Posted April 12, 2020 Share Posted April 12, 2020 Here are my logs. embyserver.txt embyserver-63722251145.txt Link to comment Share on other sites More sharing options...
dbrewood 1 Posted April 12, 2020 Author Share Posted April 12, 2020 Strangely enough after leaving the server alone overnight when checking this morning the RAM being used has dropped to 58 Mb. I'll continue to monitor. Link to comment Share on other sites More sharing options...
Tomxu 1 Posted April 12, 2020 Share Posted April 12, 2020 (edited) I use xpenology and cpu is J1900 with 4GB RAM.Emby server is 4.4.2.0-1. Restart server it takes 140MB and after a watch usage goes up to 600MB.When i close all clients the ram doesn't seem to be released. DSM shows that the mono-sgen activity takes most of the usage. First photo below shows that Plex takes 100MB while emby takes 600MB.Both doesnts connect to clients and play movie Thanks for all helpful tips. hardware_detection-63722295951.txt embyserver.txt Edited April 12, 2020 by Tomxu Link to comment Share on other sites More sharing options...
Dibbes 431 Posted April 12, 2020 Share Posted April 12, 2020 @@Luke this is the second post I'm reading about this... Link to comment Share on other sites More sharing options...
dbrewood 1 Posted April 12, 2020 Author Share Posted April 12, 2020 (edited) @@Luke this is the second post I'm reading about this... Indeed the other post is mine I think here. I've been uninstalling Plugins and turning off things like: cinema intros, NFO metadata (still no real idea what this does), all aspects of DLNA. So far it's made no difference at all unfortunately. Yesterday: Toay: Edited April 12, 2020 by dbrewood Link to comment Share on other sites More sharing options...
Luke 37060 Posted April 12, 2020 Share Posted April 12, 2020 If you don't use the features you could remove the Dlna and Port mapper plugins, then restart the server and see if that helps. Link to comment Share on other sites More sharing options...
dbrewood 1 Posted April 12, 2020 Author Share Posted April 12, 2020 If you don't use the features you could remove the Dlna and Port mapper plugins, then restart the server and see if that helps. Thanks for that. I've now removed the following plugins: ISO Mounter Dvd Folder Support Open Subtitles TheAudioDb MusicBrainz Fanart.tv Webhooks DLNA Port Mapper Restarting Emby from the web portal didn't make any difference. So I stopped the package from the Package Center within DSM on the NAS and it's still using more memory than anything else on the NAS. As you can see..... Link to comment Share on other sites More sharing options...
dbrewood 1 Posted April 12, 2020 Author Share Posted April 12, 2020 I've just searched the web on this and I'm seeing quite a lot of references to mono-sgen taking up a lot of memory resource and not clearing it down again. @@Luke and @@Dibbes is this a known issue at all? Link to comment Share on other sites More sharing options...
Luke 37060 Posted April 12, 2020 Share Posted April 12, 2020 OK, please keep in mind, this is a temporary problem that we're looking into. The 4.4 release on Synology has gone back to using the mono runtime instead of .NET Core. We're working on getting .NET Core restored and that should take care of this. Link to comment Share on other sites More sharing options...
dbrewood 1 Posted April 12, 2020 Author Share Posted April 12, 2020 @@Luke thanks for that. I'm a newbie to the world of NAS's (14 days) and even newer to Emby (2 days) although I've been an IT admin for 20+ years The position I'm in is that I'm looking to choose Plex (Plex Pass in trial - 25 days left) or Emby for a media server on the NAS. So far I'm preferring Emby but this memory usage is concerning when it really spikes up. Is there a rough ETA as to when you think you'll be going back to using .NET Core to resolve the issue? I'm trying to work out where I will be standing on my testing / trial regimens. Thanks for the reply. Link to comment Share on other sites More sharing options...
Luke 37060 Posted April 12, 2020 Share Posted April 12, 2020 We are working on it. Thanks for the feedback. Link to comment Share on other sites More sharing options...
dbrewood 1 Posted April 12, 2020 Author Share Posted April 12, 2020 @@Luke not a problem and if you need any testers at all...... More than willing to help as long as it does not screw up the NAS Link to comment Share on other sites More sharing options...
FrostByte 5049 Posted April 12, 2020 Share Posted April 12, 2020 .NET core will hopefully be available on the beta track soon if you want to jump over to that now or wait until it's ready. https://emby.media/community/index.php?/topic/84188-getting-44040-over-the-line/page-2&do=findComment&comment=868795 Link to comment Share on other sites More sharing options...
dbrewood 1 Posted April 12, 2020 Author Share Posted April 12, 2020 (edited) That is good news indeed. I've had a brief look at the thread but can't see how to install the beta package (or am I missing the obvious)? [EDIT] Ah I was missing the obvious. PM now set concerning joining the test team. Edited April 12, 2020 by dbrewood Link to comment Share on other sites More sharing options...
FrostByte 5049 Posted April 12, 2020 Share Posted April 12, 2020 Betas are now open as of recently. Just follow this thread if you want. https://github.com/MediaBrowser/Wiki/wiki/Synology-:-Accessing-Beta-and-Development-Releases Once on beta though it isn't recommended to jump back to stable until such time as the stable catches up to beta again. Link to comment Share on other sites More sharing options...
dbrewood 1 Posted April 13, 2020 Author Share Posted April 13, 2020 Thanks for that. I'll think a while as to whether I do want to go beta. Are beta releases reasonably stable or is it a real fly by the seat of your pants experience? Link to comment Share on other sites More sharing options...
FrostByte 5049 Posted April 13, 2020 Share Posted April 13, 2020 Thanks for that. I'll think a while as to whether I do want to go beta. Are beta releases reasonably stable or is it a real fly by the seat of your pants experience? Been running betas for over a year and they seem to be fairly smooth. For Synology they are normally a couple days behind the other platforms so if you monitor the beta sections of the forum you can decide and update manually when ready. The downside of that is if there is a problem then you may be a couple days behind getting the fix too. But so far nothing bad has happened. Anyhow, .NET core isn't ready yet so you don't have to decide anything yet as I don't think anything in the current beta will help your issue now Link to comment Share on other sites More sharing options...
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