Slow start / restart of MP2 Server service (1 Viewer)

Meier

Portal Pro
November 1, 2006
242
30
Home Country
Germany Germany
Hello,

if I try to stop or restart the MP2 Server service this takes a Long time - though I checked the Log-Files and found the following entries:
[2014-09-17 20:27:56,408] [167659027] [631 ] [INFO ] - MediaLibrary: Removing all shares of system '6735990a-2250-46f1-b96e-77586c609f01'
[2014-09-17 20:27:56,412] [167659031] [631 ] [INFO ] - ClientManager: Client with system ID '6735990a-2250-46f1-b96e-77586c609f01' detached
[2014-09-17 20:27:56,418] [167659037] [631 ] [INFO ] - UPnPServerController: GENA disabled for IP endpoint 'fe80::8425:1e91:844c:ece7'
[2014-09-17 20:28:03,296] [167665915] [631 ] [DEBUG] - UPnPServerControlPoint: MP2 client 'MediaPortal 2 client' (system ID '6735990a-2250-46f1-b96e-77586c609f01') at host 'hp2540' was removed from the network
[2014-09-17 20:28:07,686] [167670305] [635 ] [INFO ] - ImporterWorker: Shutdown requested...
[2014-09-17 20:28:07,686] [167670305] [784 ] [INFO ] - ImporterWorker: Suspended (0 ImportJobs pending)
[2014-09-17 20:28:07,702] [167670321] [784 ] [INFO ] - ImporterWorker: Shutdown
[2014-09-17 20:28:08,483] [167671102] [635 ] [INFO ] - PluginManager: Shutdown
[2014-09-17 20:28:08,499] [167671118] [635 ] [INFO ] - MediaLibrary: Client 'ecd261c7-d569-4ccb-ac28-8c6f8b87f2dc' is offline
[2014-09-17 20:28:08,499] [167671118] [635 ] [INFO ] - ImporterWorker: Suspension requested...
[2014-09-17 20:28:08,530] [167671149] [635 ] [INFO ] - UPnPServerController: SSDP disabled for IP endpoint '127.0.0.1'
[2014-09-17 20:28:39,096] [167701715] [480 ] [ERROR] - SSDPServerController.OnExpirationTimerElapsed: Cannot acquire synchronization lock. Maybe a deadlock happened.
[2014-09-17 20:28:40,112] [167702731] [710 ] [ERROR] - SSDPServerController.OnExpirationTimerElapsed: Cannot acquire synchronization lock. Maybe a deadlock happened.
[2014-09-17 20:28:41,127] [167703746] [746 ] [ERROR] - SSDPServerController.OnExpirationTimerElapsed: Cannot acquire synchronization lock. Maybe a deadlock happened.
[2014-09-17 20:28:42,143] [167704762] [784 ] [ERROR] - SSDPServerController.OnExpirationTimerElapsed: Cannot acquire synchronization lock. Maybe a deadlock happened.
[2014-09-17 20:28:43,158] [167705777] [413 ] [ERROR] - SSDPServerController.OnExpirationTimerElapsed: Cannot acquire synchronization lock. Maybe a deadlock happened.
[2014-09-17 20:28:44,174] [167706793] [608 ] [ERROR] - SSDPServerController.OnExpirationTimerElapsed: Cannot acquire synchronization lock. Maybe a deadlock happened.
[2014-09-17 20:28:45,190] [167707809] [617 ] [ERROR] - SSDPServerController.OnExpirationTimerElapsed: Cannot acquire synchronization lock. Maybe a deadlock happened.
[2014-09-17 20:28:46,205] [167708824] [630 ] [ERROR] - SSDPServerController.OnExpirationTimerElapsed: Cannot acquire synchronization lock. Maybe a deadlock happened.
[2014-09-17 20:28:47,221] [167709840] [100 ] [ERROR] - SSDPServerController.OnExpirationTimerElapsed: Cannot acquire synchronization lock. Maybe a deadlock happened.
[2014-09-17 20:28:48,237] [167710855] [825 ] [ERROR] - SSDPServerController.OnExpirationTimerElapsed: Cannot acquire synchronization lock. Maybe a deadlock happened.
[2014-09-17 20:28:49,252] [167711871] [832 ] [ERROR] - SSDPServerController.OnExpirationTimerElapsed: Cannot acquire synchronization lock. Maybe a deadlock happened.
[2014-09-17 20:28:50,268] [167712887] [613 ] [ERROR] - SSDPServerController.OnExpirationTimerElapsed: Cannot acquire synchronization lock. Maybe a deadlock happened.
[2014-09-17 20:28:51,268] [167713887] [750 ] [ERROR] - SSDPServerController.OnExpirationTimerElapsed: Cannot acquire synchronization lock. Maybe a deadlock happened.
[2014-09-17 20:28:52,283] [167714902] [168 ] [ERROR] - SSDPServerController.OnExpirationTimerElapsed: Cannot acquire synchronization lock. Maybe a deadlock happened.
[2014-09-17 20:28:53,283] [167715902] [481 ] [ERROR] - SSDPServerController.OnExpirationTimerElapsed: Cannot acquire synchronization lock. Maybe a deadlock happened.
[2014-09-17 20:28:54,299] [167716918] [793 ] [ERROR] - SSDPServerController.OnExpirationTimerElapsed: Cannot acquire synchronization lock. Maybe a deadlock happened.
[2014-09-17 20:28:55,316] [167717935] [785 ] [ERROR] - SSDPServerController.OnExpirationTimerElapsed: Cannot acquire synchronization lock. Maybe a deadlock happened.
[2014-09-17 20:28:56,332] [167718951] [636 ] [ERROR] - SSDPServerController.OnExpirationTimerElapsed: Cannot acquire synchronization lock. Maybe a deadlock happened.
[2014-09-17 20:28:57,347] [167719966] [805 ] [ERROR] - SSDPServerController.OnExpirationTimerElapsed: Cannot acquire synchronization lock. Maybe a deadlock happened.
[2014-09-17 20:28:58,363] [167720982] [156 ] [ERROR] - SSDPServerController.OnExpirationTimerElapsed: Cannot acquire synchronization lock. Maybe a deadlock happened.
[2014-09-17 20:28:59,379] [167721997] [724 ] [ERROR] - SSDPServerController.OnExpirationTimerElapsed: Cannot acquire synchronization lock. Maybe a deadlock happened.
[2014-09-17 20:29:00,394] [167723013] [295 ] [ERROR] - SSDPServerController.OnExpirationTimerElapsed: Cannot acquire synchronization lock. Maybe a deadlock happened.
[2014-09-17 20:29:01,410] [167724029] [643 ] [ERROR] - SSDPServerController.OnExpirationTimerElapsed: Cannot acquire synchronization lock. Maybe a deadlock happened.
[2014-09-17 20:29:02,425] [167725044] [723 ] [ERROR] - SSDPServerController.OnExpirationTimerElapsed: Cannot acquire synchronization lock. Maybe a deadlock happened.
[2014-09-17 20:29:03,442] [167726061] [711 ] [ERROR] - SSDPServerController.OnExpirationTimerElapsed: Cannot acquire synchronization lock. Maybe a deadlock happened.
[2014-09-17 20:29:04,442] [167727061] [852 ] [ERROR] - SSDPServerController.OnExpirationTimerElapsed: Cannot acquire synchronization lock. Maybe a deadlock happened.
[2014-09-17 20:29:05,473] [167728092] [801 ] [ERROR] - SSDPServerController.OnExpirationTimerElapsed: Cannot acquire synchronization lock. Maybe a deadlock happened.
[2014-09-17 20:29:06,473] [167729092] [748 ] [ERROR] - SSDPServerController.OnExpirationTimerElapsed: Cannot acquire synchronization lock. Maybe a deadlock happened.
[2014-09-17 20:29:07,504] [167730123] [861 ] [ERROR] - SSDPServerController.OnExpirationTimerElapsed: Cannot acquire synchronization lock. Maybe a deadlock happened.
[2014-09-17 20:29:08,520] [167731139] [640 ] [ERROR] - SSDPServerController.OnExpirationTimerElapsed: Cannot acquire synchronization lock. Maybe a deadlock happened.
[2014-09-17 20:29:09,520] [167732139] [480 ] [ERROR] - SSDPServerController.OnExpirationTimerElapsed: Cannot acquire synchronization lock. Maybe a deadlock happened.
[2014-09-17 20:29:10,551] [167733170] [710 ] [ERROR] - SSDPServerController.OnExpirationTimerElapsed: Cannot acquire synchronization lock. Maybe a deadlock happened.
[2014-09-17 20:29:11,553] [167734172] [746 ] [ERROR] - SSDPServerController.OnExpirationTimerElapsed: Cannot acquire synchronization lock. Maybe a deadlock happened.
[2014-09-17 20:29:12,569] [167735188] [784 ] [ERROR] - SSDPServerController.OnExpirationTimerElapsed: Cannot acquire synchronization lock. Maybe a deadlock happened.
[2014-09-17 20:29:13,586] [167736205] [413 ] [ERROR] - SSDPServerController.OnExpirationTimerElapsed: Cannot acquire synchronization lock. Maybe a deadlock happened.
[2014-09-17 20:29:14,601] [167737220] [608 ] [ERROR] - SSDPServerController.OnExpirationTimerElapsed: Cannot acquire synchronization lock. Maybe a deadlock happened.
[2014-09-17 20:29:15,617] [167738236] [609 ] [ERROR] - SSDPServerController.OnExpirationTimerElapsed: Cannot acquire synchronization lock. Maybe a deadlock happened.
[2014-09-17 20:29:16,633] [167739251] [617 ] [ERROR] - SSDPServerController.OnExpirationTimerElapsed: Cannot acquire synchronization lock. Maybe a deadlock happened.
[2014-09-17 20:29:17,648] [167740267] [100 ] [ERROR] - SSDPServerController.OnExpirationTimerElapsed: Cannot acquire synchronization lock. Maybe a deadlock happened.
[2014-09-17 20:29:18,664] [167741283] [630 ] [ERROR] - SSDPServerController.OnExpirationTimerElapsed: Cannot acquire synchronization lock. Maybe a deadlock happened.
[2014-09-17 20:29:19,679] [167742298] [832 ] [ERROR] - SSDPServerController.OnExpirationTimerElapsed: Cannot acquire synchronization lock. Maybe a deadlock happened.
[2014-09-17 20:29:20,695] [167743314] [825 ] [ERROR] - SSDPServerController.OnExpirationTimerElapsed: Cannot acquire synchronization lock. Maybe a deadlock happened.

Any idea how I can fix this?
 

breese

Retired Team Member
  • Premium Supporter
  • July 11, 2011
    3,902
    770
    67
    Arlington Heights, Illinois
    Home Country
    United States of America United States of America
    Almost looks like a client was still connected.... maybe it is causing the dead lock... hmmm I think I will test this.

    btw: A complete set of Client and server logs always helps....
    Also, check the systems Event Viewer (Applications and System) for any hard failures related to MP2
     

    Meier

    Portal Pro
    November 1, 2006
    242
    30
    Home Country
    Germany Germany
    Hello.
    I have attached a complete Server-Log. First I started the MP2 Server - waited round about a Minute and stopped the service - the deadlock occured. In the meantime no Client was used / started.
     

    Meier

    Portal Pro
    November 1, 2006
    242
    30
    Home Country
    Germany Germany
    Oh yes I'm using a VPN - and that's sounds like my Problem - IPv6 is autoconfigured - so what can be misconfigured?
     

    MJGraf

    Retired Team Member
  • Premium Supporter
  • January 13, 2006
    2,478
    1,385
    What type of VPN are you guys using? OpenVPN? Windows inbuilt VPN client? Just curious as I'm using an OpenVPN client on my machine without problems so far with MP2...
     

    MJGraf

    Retired Team Member
  • Premium Supporter
  • January 13, 2006
    2,478
    1,385
    Thanks!
    One more question: does this happen on the vpn server machine or also on the client while it is connected via vpn?
     

    Meier

    Portal Pro
    November 1, 2006
    242
    30
    Home Country
    Germany Germany
    No it only happens on the vpn Server machine.
     

    Meier

    Portal Pro
    November 1, 2006
    242
    30
    Home Country
    Germany Germany
    Any hints how I can disable ipv6 for mp2? (in the configuration files)
     

    Users who are viewing this thread

    Similar threads

    I haven't tested it. I use MP1, but sometimes I try to help with MP2 :).
    I haven't tested it. I use MP1, but sometimes I try to help with MP2 :).
    This happened immediately after my Windows 11 x64 monthly update for November. The update included also cumulative update to .NET...
    Replies
    9
    Views
    1K
    Reading through your code, I can see it's more than a couple steps above my paygrade. :cry:
    Reading through your code, I can see it's more than a couple steps above my paygrade. :cry:
    I used to run the TVService under the "NT Service\TVService" account to follow least privileges principal (not exposing my whole...
    Replies
    3
    Views
    1K
    Hello, Name need to be the same as computer name. Also, logs could be useful.
    Hello, Name need to be the same as computer name. Also, logs could be useful.
    It is a bit of a long story! I successfully installed MP2 on my old PC as client/server with client on my laptop to confirm my...
    Replies
    2
    Views
    870
    Nevermind, I think. I found them in the forum. I had only checked the main webiste for MP2 plugins. https://www.team-mediaportal.com/extensions/mp2-plugins I hope these work: Featured Plugins
    Nevermind, I think. I found them in the forum. I had only checked the main webiste for MP2 plugins...
    I've been an MP1 user for a long time. I'm interested in switching to MP2. However, I rely heavily on the features provided by...
    Replies
    1
    Views
    2K
    If you use a VPN connection to your home network, you should be able to use the MP client to connect to your server natively instead of using MPExtended.
    If you use a VPN connection to your home network, you should be able to use the MP client to connect to your server natively...
    I am another (almost) new user with a problem. About 18 months ago I managed to instal client and server of MP2 on my 32bit PC in...
    Replies
    5
    Views
    2K
    Top Bottom