Karbowiak 27 Posted July 31, 2015 Share Posted July 31, 2015 Hi there!From time to time Emby has an issue and crashes, and doesn't automatically come back up.Is there any possibility of a watchdog being made, that launches emby, and then keeps it launched if it crashes? Would be nice for my (and others) sanity! 1 Link to comment Share on other sites More sharing options...
Karbowiak 27 Posted July 31, 2015 Author Share Posted July 31, 2015 I sort of did it myself. I removed the /etc/init.d/emby-server file and implemented it in supervisor [program:emby] command=/usr/bin/mono-sgen /opt/emby-server/MediaBrowser.Server.Mono.exe -programdata /var/lib/mediabrowser -ffmpeg /usr/bin/ffmpeg -ffprobe /usr/bin/ffprobe directory=/opt/emby-server autostart=true autorestart=true stdout_logfile=/var/log/supervisor/emby-server.log redirect_stderr=true user=emby group=emby That starts it and keeps it up when it dies.Could have done the same using systemd i guess, but i'm a supervisor whore Would still be nice if Emby came with it by default tho! Link to comment Share on other sites More sharing options...
trusselo 220 Posted August 2, 2015 Share Posted August 2, 2015 I know why emby sometimes vanishes... (on my system at least, win server 2012) Emby goes to restart itself after an update, but doest shut-down fully, the program has shut down and disappears from taskbar, but is still stuck in task manager for 3-5 minutes (cant end task). emby attempts to restart itself and fails due to the other task being stuck. I've noticed it gets stuck often when up over 300mb memory usage. Emby randomly "dying" is one of the reasons I love having Remote Desktop Connection setup. and i gotta hand it to Microsoft, their android RDP client is really good. Link to comment Share on other sites More sharing options...
ebr 14904 Posted August 2, 2015 Share Posted August 2, 2015 I know why emby sometimes vanishes... (on my system at least, win server 2012) Emby goes to restart itself after an update, but doest shut-down fully, the program has shut down and disappears from taskbar, but is still stuck in task manager for 3-5 minutes (cant end task). emby attempts to restart itself and fails due to the other task being stuck. I've noticed it gets stuck often when up over 300mb memory usage. Emby randomly "dying" is one of the reasons I love having Remote Desktop Connection setup. and i gotta hand it to Microsoft, their android RDP client is really good. If that is what is happening, I think we'll have a solution for it soon. Otherwise, I'd much rather find the problem. 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