bfir3 117 Posted May 27, 2017 Posted May 27, 2017 So the last 3 or 4 times I've tried to either Shut Down or Restart the Emby Server instance, it has hung with the same log messages showing. The process hangs in my process explorer indefinitely and becomes completely unresponsive. If I try to start a new Emby instance it will show "Info Main: Found a duplicate process. Giving it time to exit." Here's what I see in the log from the server instance that was being shutdown: 2017-05-27 13:08:35.9528 Info HttpServer: HTTP Response 204 to 192.222.214.144. Time: 4ms. http://server:8896/emby/System/Shutdown 2017-05-27 13:08:36.0888 Info Main: Disposing app host 2017-05-27 13:08:36.0888 Info HttpServer: HTTP GET http://server:8896/web/bower_components/emby-webcomponents/notifications/notificationicon.png. UserAgent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36 2017-05-27 13:08:36.0888 Info HttpServer: HTTP GET http://server:8896/web/bower_components/emby-webcomponents/notifications/badge.png. UserAgent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36 2017-05-27 13:08:36.0888 Info HttpServer: HTTP Response 200 to 192.222.214.144. Time: 0ms. http://server:8896/web/bower_components/emby-webcomponents/notifications/badge.png 2017-05-27 13:08:36.0888 Info HttpServer: HTTP Response 200 to 192.222.214.144. Time: 1ms. http://server:8896/web/bower_components/emby-webcomponents/notifications/notificationicon.png 2017-05-27 13:08:36.0888 Info App: Disposing WindowsAppHost 2017-05-27 13:08:36.0888 Info App: Disposing TaskManager 2017-05-27 13:08:36.1048 Info App: Disposing HttpClientManager 2017-05-27 13:08:36.1048 Info App: Disposing IsoManager 2017-05-27 13:08:36.1048 Info App: Disposing InstallationManager 2017-05-27 13:08:36.1048 Info App: Disposing SqliteUserRepository 2017-05-27 13:08:36.1048 Info App: Disposing SqliteDisplayPreferencesRepository 2017-05-27 13:08:36.1048 Info App: Disposing SqliteItemRepository 2017-05-27 13:08:36.1048 Info App: Disposing SqliteFileOrganizationRepository 2017-05-27 13:08:36.1048 Info App: Disposing AuthenticationRepository 2017-05-27 13:08:36.1048 Info App: Disposing LibraryMonitor 2017-05-27 13:08:36.1048 Info App: Disposing ProviderManager 2017-05-27 13:08:36.1048 Info App: Disposing ServerManager 2017-05-27 13:08:36.1048 Info ServerManager: Disposing web socket connections 2017-05-27 13:08:36.1278 Info ServerManager: Disposing http server 2017-05-27 13:08:36.1278 Info HttpServer: Stopping HttpListener... 2017-05-27 13:08:36.1438 Info HttpServer: HttpListener stopped 2017-05-27 13:08:36.1438 Info App: Disposing ImageProcessor 2017-05-27 13:08:36.1678 Info App: Disposing MediaSourceManager 2017-05-27 13:08:36.1678 Info App: Disposing LiveTvManager 2017-05-27 13:08:36.1678 Info App: Disposing ContentDirectory 2017-05-27 13:08:36.1678 Info App: Disposing MediaReceiverRegistrar 2017-05-27 13:08:36.1678 Info App: Disposing MediaEncoder 2017-05-27 13:08:36.1678 Info App: Disposing SharingRepository 2017-05-27 13:08:36.1678 Info App: Disposing ActivityRepository 2017-05-27 13:08:36.1678 Info App: Disposing SqliteNotificationsRepository 2017-05-27 13:08:36.1678 Info App: Disposing MovieDbProvider 2017-05-27 13:08:36.1678 Info App: Disposing EmbyTV 2017-05-27 13:08:36.1828 Info App: Disposing OpenSubtitleDownloader 2017-05-27 13:08:36.1828 Info App: Disposing ApiEntryPoint 2017-05-27 13:08:36.1988 Debug App: KillTranscodingJob - JobId c6aa7b10ae9947388dad3cc6e9118178 PlaySessionId 309272c89de34329ab443c9b975fbf36. Killing transcoding 2017-05-27 13:08:36.1988 Debug App: KillTranscodingJob - JobId 946f11725c6246abb3198f44d1c223b2 PlaySessionId bcbc28c405e645548fb2436d7a8f4345. Killing transcoding 2017-05-27 13:08:36.1988 Debug App: KillTranscodingJob - JobId c7f8e5bd1a0e4a5ca1ef8e4b176135a3 PlaySessionId 2f887bddb0a64adc81f25850ae57e8cf. Killing transcoding 2017-05-27 13:08:36.1988 Debug App: KillTranscodingJob - JobId 5b61a8783bc444798e7fa15c8aa8b3a3 PlaySessionId aa1baf62fcef47a8ad8eaf3f11af8996. Killing transcoding 2017-05-27 13:08:36.1988 Info App: Deleting partial stream file(s) C:\Users\Administrator\AppData\Roaming\Emby-Server\transcoding-temp\5b414d50dd6440462f1b101d5465a5af.m3u8 2017-05-27 13:08:36.1988 Info App: Deleting partial stream file(s) C:\Users\Administrator\AppData\Roaming\Emby-Server\transcoding-temp\1654d87d4446fd9d1f206777a3d84a9f.m3u8 2017-05-27 13:08:36.1988 Info App: Deleting partial stream file(s) C:\Users\Administrator\AppData\Roaming\Emby-Server\transcoding-temp\9d7da70b0751e8cff59e2d7e4ff0278f.m3u8 2017-05-27 13:08:36.1988 Info App: Deleting partial stream file(s) C:\Users\Administrator\AppData\Roaming\Emby-Server\transcoding-temp\c90c5d6bf48d34acbca0fea3fe53a2d9.m3u8 2017-05-27 13:08:37.2121 Info App: Disposing ServerEntryPoint 2017-05-27 13:08:37.2121 Info App: Disposing CleanMissingEpisodesEntryPoint 2017-05-27 13:08:37.2121 Info App: Disposing Notifications 2017-05-27 13:08:37.2121 Info App: Disposing WebSocketNotifier 2017-05-27 13:08:37.2121 Info App: Disposing NewsEntryPoint 2017-05-27 13:08:37.2121 Info App: Disposing EntryPoint 2017-05-27 13:08:37.2121 Info App: Disposing FileOrganizationNotifier 2017-05-27 13:08:37.2121 Info App: Disposing AutomaticRestartEntryPoint 2017-05-27 13:08:37.2121 Info App: Disposing KeepServerAwake 2017-05-27 13:08:37.2121 Info App: Disposing LibraryChangedNotifier 2017-05-27 13:08:37.2121 Info App: Disposing LoadRegistrations 2017-05-27 13:08:37.2121 Info App: Disposing RecordingNotifier 2017-05-27 13:08:37.2121 Info App: Disposing RefreshUsersMetadata 2017-05-27 13:08:37.2121 Info App: Disposing ServerEventNotifier 2017-05-27 13:08:37.2301 Info App: Disposing StartupWizard 2017-05-27 13:08:37.2301 Info App: Disposing SystemEvents 2017-05-27 13:08:37.2301 Info App: Disposing UdpServerEntryPoint 2017-05-27 13:08:37.2301 Info App: Disposing UsageEntryPoint 2017-05-27 13:08:37.2301 Info App: Disposing UserDataChangeNotifier 2017-05-27 13:08:37.2301 Error App: Error receiving udp message *** Error Report *** Version: 3.2.17.0 Command line: C:\Users\Administrator\AppData\Roaming\Emby-Server\System\MediaBrowser.ServerApplication.exe Operating system: Microsoft Windows NT 6.2.9200.0 64-Bit OS: True 64-Bit Process: True Processor count: 6 Program data path: C:\Users\Administrator\AppData\Roaming\Emby-Server Application directory: C:\Users\Administrator\AppData\Roaming\Emby-Server\System System.Exception: SocketError: OperationAborted at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Emby.Server.Implementations.Udp.UdpServer.<StartListening>d__13.MoveNext() System.Exception at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Emby.Server.Implementations.Udp.UdpServer.<StartListening>d__13.MoveNext() 2017-05-27 13:08:37.2301 Info App: Disposing ActivityLogEntryPoint 2017-05-27 13:08:37.2301 Info App: Disposing LibraryMonitorStartup 2017-05-27 13:08:37.2301 Info App: Disposing ExternalPortForwarding 2017-05-27 13:08:37.2431 Debug PortMapper: Stopping NAT discovery 2017-05-27 13:08:37.2431 Info App: Disposing DlnaProfileEntryPoint 2017-05-27 13:08:37.2431 Info App: Disposing DlnaEntryPoint The only way to get Emby to start again is to restart my actual machine. Any chance to resolve this?
Luke 42086 Posted May 27, 2017 Posted May 27, 2017 Please attach the complete emby server log. thanks !
Luke 42086 Posted May 27, 2017 Posted May 27, 2017 Ok, please try again with the next release of Emby Server, thanks.
Tur0k 148 Posted May 28, 2017 Posted May 28, 2017 (edited) I'm not at my PC to see the logs. do you have any addons running? Sent from my iPhone using Tapatalk Edited May 28, 2017 by Tur0k
bfir3 117 Posted June 4, 2017 Author Posted June 4, 2017 Same problem on latest Stable. It really sucks having to restart my whole server every time I need to restart Emby. New log is attached, I was restarting the server because I was trying to manual refresh a series and it was not scanning or picking up any new changes (even though subtitles were added). Thanks for your help. server-63632131200.zip
bfir3 117 Posted June 4, 2017 Author Posted June 4, 2017 Why do you think that shutdown isn't working? Do you mean to say, why isn't the shutdown working? I don't know, that's why I'm posting here for help with your software. I thought you would have a better idea than me. The MediaBrowser.ServerApplication.exe stops responding completely and stays locked up. Ending the process from task manager or process hacker, or any other task managing software results in an error. Starting a new instance of Emby Server results in the new log saying: 2017-06-04 15:28:11.2852 Info Main: Found a duplicate process. Giving it time to exit. 2017-06-04 15:28:51.2852 Info Main: The duplicate process did not exit. 2017-06-04 15:28:51.2852 Info Main: Shutting down because another instance of Emby Server is already running. The only way to end the process is to restart the entire machine.
Luke 42086 Posted June 4, 2017 Posted June 4, 2017 There is some activity happening after the shutdown there that could be causing it. We'll look into that. thanks.
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