nagetech 69 Posted February 24, 2023 Posted February 24, 2023 Howdy! I could have sworn there use to be a way to do this, but I can't seem to find the option. Is there anyway to setup Emby to restart every night, let's say around 3am, automatically. I can't seem to find a way to enable scheduling this. Any help would be super appreciated!~
Solution Eigeplackter 91 Posted February 24, 2023 Solution Posted February 24, 2023 (edited) There‘s a plugin for that somewhere in the forum. Just cant find the topic right now. found it: Edited February 24, 2023 by Eigeplackter 1
GrimReaper 4749 Posted February 24, 2023 Posted February 24, 2023 There was back in the day, had been discontinued AFAIK. If running Emby as a service, you could create scheduled task to restart.
Eigeplackter 91 Posted February 24, 2023 Posted February 24, 2023 @chef recreated it. Running on my syno since monday. 1
nagetech 69 Posted February 24, 2023 Author Posted February 24, 2023 Thanks for the link! Downloaded it and it is now on my to do list for this weekend Enjoy your weekend everyone!
Luke 42083 Posted February 24, 2023 Posted February 24, 2023 Why do you think you need to restart the server every night?
Eigeplackter 91 Posted February 24, 2023 Posted February 24, 2023 @LukeI once reported and extremly high memory usage, you might remember. General solution was removing plugins, in this case it was the "SmartPlaylist" plugin. Even though I see an incline in memory usage by emby I cannot fathom in any way. It's not as enormous as in the linked topic anymore. When I restart the emby app it's memory usage is about 0.3GB on my Synology. Daily restart is set to 2:45am. This was the only user activity on my emby server today, playtime of 5 episodes- Additionally I added another tvshow season plus 3 other episodes to my emby library. And right now my memory usage by emby ist at 1.26GB (while my db is around 0.15GB of size). As my DS920+ officially only supports 8GB of memory and I run several docker containers (i.e tinymediamanager, paperlessngx) memory is a rare good. I upgraded to, not officially supported, 20GB memory in my NAS this week, nontheless I like to keep general memory consumption low. So I ended up restarting emby server every night.
nagetech 69 Posted February 26, 2023 Author Posted February 26, 2023 I also like to reboot it as it 100% clears the transcode folder, cleans up memory usage, and guarantees come the next day, I along with ALL my users wake up to a snappier happier emby. I've even had compliments from my users that since I started doing a daily restart of the software (not that they know that is what I am doing) that everything is always snappy. Well that, and all the caching strategies I setup in general around the system. This whole month has been the month of fine tuning my server I'll let you guys know if I have any problems with the plugin.
Happy2Play 9783 Posted February 26, 2023 Posted February 26, 2023 @nagetechHave you set your database cache size and vacuumed your database? Performance Tweaks - Tutorials and Guides - Emby Community
nagetech 69 Posted February 26, 2023 Author Posted February 26, 2023 Yes I have! I loved the fact you guys finally added that to the GUI instead of having to do it with the XML file.
nagetech 69 Posted February 27, 2023 Author Posted February 27, 2023 Just had time to install the plugin and set it up. Thank you for making that easy @Chef Server now reboots on the daily and I have one less thing on my list to worry about. Happy Monday everyone! 1
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