Details
-
Bug
-
Resolution: Duplicate
-
Major
-
None
-
1.4.0, 1.5 Pre-Release
-
None
Description
<p><span style="background-color: rgb(250, 250, 250); color: rgb(0, 0, 0); font-family: Tahoma, 'Trebuchet MS', Helvetica, Arial, sans-serif; line-height: 19px;">It seems that after applying MP1-3172 a couple of users (team members included) reported a longer shutdown time.</span></p><p><font color="#000000" face="Tahoma, Trebuchet MS, Helvetica, Arial, sans-serif"><span style="line-height: 19px;">Explanation by Michael:</span></font></p><p><span style="color: rgb(0, 0, 0); font-family: Tahoma, 'Trebuchet MS', Helvetica, Arial, sans-serif; line-height: 19px; background-color: rgb(250, 250, 250);">This is correct. The MP1-3172 fix makes TVService react on the Windows pre-shutdown event and let it stop the TVController and all TVServer plugins cleanly. Before they were killed by the Serveice manager which led to exceptions and error messages in the logs. But: Though the TVService shuts down cleanly now (seen from MP's view), Windows does not notice that the TVService has stopped and therefore now waits for 10 seconds to get a stop notification (gives an error in the System event log) and only then continues its shutdown progress. I have found no way so far how to signal Windows that the TVService has been stopped out of .NET managed code. So the options are:</span><br style="color: rgb(0, 0, 0); font-family: Tahoma, 'Trebuchet MS', Helvetica, Arial, sans-serif; line-height: 19px; background-color: rgb(250, 250, 250);" /><span style="color: rgb(0, 0, 0); font-family: Tahoma, 'Trebuchet MS', Helvetica, Arial, sans-serif; line-height: 19px; background-color: rgb(250, 250, 250);">- Revert the MP1-3172 fix and ignore the pre-shutdown event (will bring back exceptions and error logs but shuts down 10 sec faster)</span><br style="color: rgb(0, 0, 0); font-family: Tahoma, 'Trebuchet MS', Helvetica, Arial, sans-serif; line-height: 19px; background-color: rgb(250, 250, 250);" /><span style="color: rgb(0, 0, 0); font-family: Tahoma, 'Trebuchet MS', Helvetica, Arial, sans-serif; line-height: 19px; background-color: rgb(250, 250, 250);">- Keep everything as it is now (slower shutdown and error in System event log)</span><br style="color: rgb(0, 0, 0); font-family: Tahoma, 'Trebuchet MS', Helvetica, Arial, sans-serif; line-height: 19px; background-color: rgb(250, 250, 250);" /><span style="color: rgb(0, 0, 0); font-family: Tahoma, 'Trebuchet MS', Helvetica, Arial, sans-serif; line-height: 19px; background-color: rgb(250, 250, 250);">- Find a way to stop TVService cleanly and under control of the Windows Service manager</span><br style="color: rgb(0, 0, 0); font-family: Tahoma, 'Trebuchet MS', Helvetica, Arial, sans-serif; line-height: 19px; background-color: rgb(250, 250, 250);" /><span style="color: rgb(0, 0, 0); font-family: Tahoma, 'Trebuchet MS', Helvetica, Arial, sans-serif; line-height: 19px; background-color: rgb(250, 250, 250);">The latter should be achieved, so Developers w</span><span style="color: rgb(0, 0, 0); font-family: Tahoma, 'Trebuchet MS', Helvetica, Arial, sans-serif; line-height: 19px; background-color: rgb(250, 250, 250);">ho can help?</span></p><p><a data-cke-saved-href="http://forum.team-mediaportal.com/threads/tv-service-taking-long-while-to-shutdown-delaying-windows-shutdown-reboot.120453/page-3#post-1027674" href="http://forum.team-mediaportal.com/threads/tv-service-taking-long-while-to-shutdown-delaying-windows-shutdown-reboot.120453/page-3#post-1027674">http://forum.team-mediaportal.com/threads/tv-service-taking-long-while-to-shutdown-delaying-windows-shutdown-reboot.120453/page-3#post-1027674</a></p>
Attachments
Issue Links
- relates to
-
MP1-3172 TVService ignores shutdown
-
- Closed
-
- links to