TV Server service crashes when stopping live TV or changing a channel, but why?

Discussion in 'Television (MyTV frontend and TV-Server)' started by GuiltyNL, December 26, 2017.

  1. GuiltyNL
    • Premium Supporter

    GuiltyNL MP Donator

    Joined:
    January 26, 2013
    Messages:
    101
    Likes Received:
    7
    Gender:
    Male
    Ratings:
    +11 / 2
    Home Country:
    Netherlands Netherlands
    Show System Specs
    Hi guys,

    The last few months our TV Server service became unstable. When stopping a TV stream of changing to another channel, the TV Server service sometimes crashes.

    I can be very inconvenient when a recording is busy on another card, causing interruption of the recording and so on.

    Some facts:

    Mediaportal 1.18
    Windows 10 - Automatic Updates
    Intel NUC as PC
    Octopus.Net Dual Network tuner (hasn't been changed in the last year, so I doubt issues on that part)
    Last crash 25 December at 11.59

    I've included full logs.

    Thanks!


     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. mm1352000
    • Team MediaPortal

    mm1352000 Development Group

    Joined:
    September 1, 2008
    Messages:
    21,526
    Likes Received:
    4,734
    Ratings:
    +8,200 / 17
    Home Country:
    New Zealand New Zealand
    Hello

    The IPTV source log file which is normally included with Watchdog log files is not present in your log file set.
    Did you intentionally remove it?
    If yes... well, it makes it a bit difficult to help you, so I'd ask you to please reconsider.
    If no, please have a look for it in c:\ProgramData\Team MediaPortal.
     
  4. GuiltyNL
    • Premium Supporter

    GuiltyNL MP Donator

    Joined:
    January 26, 2013
    Messages:
    101
    Likes Received:
    7
    Gender:
    Male
    Ratings:
    +11 / 2
    Home Country:
    Netherlands Netherlands
    Show System Specs
    Hmm no I did not remove it, but now you mention it, I can remember that I disabled logging for this IPTV source part. Because the logging part of IPTV slowed down the starting and stopping of the streams.

    I triple checked if there was anti-virus scanning causing this delay, but I ended up disabling the Windows Defender in the registry without effect.

    I will enable the logging, but it will cause the delays (wife won't be happy haha).

    Still don't know what is causing the logging issues on the IPTV part. I even did a reinstall a time ago, without results.
     
  5. GuiltyNL
    • Premium Supporter

    GuiltyNL MP Donator

    Joined:
    January 26, 2013
    Messages:
    101
    Likes Received:
    7
    Gender:
    Male
    Ratings:
    +11 / 2
    Home Country:
    Netherlands Netherlands
    Show System Specs
    @mm1352000 Hmm I've enabled logging a few days ago. The performance is horrible again (slow start and slow stop of channels), but the TV Service does not crash anymore.

    I suspect when I disable the logging again, everything will be fast again, but the crashes will start again.
     
  6. mm1352000
    • Team MediaPortal

    mm1352000 Development Group

    Joined:
    September 1, 2008
    Messages:
    21,526
    Likes Received:
    4,734
    Ratings:
    +8,200 / 17
    Home Country:
    New Zealand New Zealand
    What log level did you choose?
    Performance should be okay if you choose 1, 2, 3 or even 4. Expect performance limitations with 5 - it's only provided for debugging.
     
  7. GuiltyNL
    • Premium Supporter

    GuiltyNL MP Donator

    Joined:
    January 26, 2013
    Messages:
    101
    Likes Received:
    7
    Gender:
    Male
    Ratings:
    +11 / 2
    Home Country:
    Netherlands Netherlands
    Show System Specs
    Logging 4 in this case, but it will become slow with setting 1 to. Only disabling will speed things up.

    100% sure there are no virus scanners active / present.
     
  8. mm1352000
    • Team MediaPortal

    mm1352000 Development Group

    Joined:
    September 1, 2008
    Messages:
    21,526
    Likes Received:
    4,734
    Ratings:
    +8,200 / 17
    Home Country:
    New Zealand New Zealand
  9. GuiltyNL
    • Premium Supporter

    GuiltyNL MP Donator

    Joined:
    January 26, 2013
    Messages:
    101
    Likes Received:
    7
    Gender:
    Male
    Ratings:
    +11 / 2
    Home Country:
    Netherlands Netherlands
    Show System Specs
    Good one, will do this ASAP!
     
  10. GuiltyNL
    • Premium Supporter

    GuiltyNL MP Donator

    Joined:
    January 26, 2013
    Messages:
    101
    Likes Received:
    7
    Gender:
    Male
    Ratings:
    +11 / 2
    Home Country:
    Netherlands Netherlands
    Show System Specs
    Ok @mm1352000 I finally managed to do it.

    Most of the time the file is not open / visible in the selection. I refreshed several time during starting and stopping a channel.

    After dozens of tries and refreshes I managed to get TVService.exe as the process that was using MPIPTVSource.log. So it was using the file for a very short time, a few seconds. But when I stop the channel the channel freezes and during that freeze, the log file is in use. When the freeze stops and it goes back to the MP interface, the log file is released.

    When refreshing again, it was gone.

    I also tested if I was able to remove MPIPTVSource.log while the channel was playing and I was able to do so, so the file is not in use all the time.
     
  11. Sameritan

    Sameritan Portal Member

    Joined:
    November 29, 2017
    Messages:
    30
    Likes Received:
    0
    Gender:
    Male
    Location:
    Gothenburg
    Ratings:
    +2 / 0
    Home Country:
    Sweden Sweden
    Hello Guys i am having same issues with delay during channel change. (IPTV )
    How exactly did you fix yours?
    Thanks in advance.
     
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!