[solved] - Stopping LiveTV / MultiFileWriter: failed to create file

Discussion in 'MediaPortal 1 Talk' started by JackTramiel, June 4, 2014.

  1. JackTramiel
    • Premium Supporter

    JackTramiel MP Donator

    Joined:
    November 22, 2006
    Messages:
    1,400
    Likes Received:
    46
    Location:
    Recklinghausen
    Ratings:
    +67 / 0
    Home Country:
    Germany Germany
    Show System Specs
    Hi. Since some time i have a problem with stopping live tv.

    There are a lot of errors in the tswriter.log.



    [2014-06-04 15:41:13,145] [64289b8] [16d8] - MultiFileWriter: failed to create file \\Server\timeshifttest\live8-0.ts.tsbuffer1.ts
    [2014-06-04 15:47:00,366] [64289b8] [16d8] - MultiFileWriter: failed to create file \\Server\timeshifttest\live8-0.ts.tsbuffer1.ts
    [2014-06-04 15:47:00,366] [64289b8] [16d8] - Failed to reopen old file. It's currently in use. Dropping data!
    [2014-06-04 15:47:00,967] [64289b8] [16d8] - MultiFileWriter: failed to create file \\Server\timeshifttest\live8-0.ts.tsbuffer1.ts
    [2014-06-04 15:47:00,967] [64289b8] [16d8] - Failed to reopen old file. It's currently in use. Dropping data!
    [2014-06-04 15:47:01,568] [64289b8] [16d8] - MultiFileWriter: failed to create file \\Server\timeshifttest\live8-0.ts.tsbuffer1.ts
    [2014-06-04 15:47:01,568] [64289b8] [16d8] - Failed to reopen old file. It's currently in use. Dropping data!
    [2014-06-04 15:47:02,169] [64289b8] [16d8] - MultiFileWriter: failed to create file \\Server\timeshifttest\live8-0.ts.tsbuffer1.ts
    [2014-06-04 15:47:02,169] [64289b8] [16d8] - Failed to reopen old file. It's currently in use. Dropping data!
    [2014-06-04 15:47:02,669] [64289b8] [16d8] - Recorder:pid a6 Continuity error... 0 ( prev d ) - bad signal?

    My timeshift folder was on a RAM drive. Because i saw some "Device (200:40000) Stream 1 dropped data" messages in my event viewer i opened a ticket at digital devices support.
    They suggested to try another drive, so i switched to a hdd. Same issue.

    I am running 1.8pre since 2 days, but the issue was there before.
     
    Last edited: June 4, 2014
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. JackTramiel
    • Premium Supporter

    JackTramiel MP Donator

    Joined:
    November 22, 2006
    Messages:
    1,400
    Likes Received:
    46
    Location:
    Recklinghausen
    Ratings:
    +67 / 0
    Home Country:
    Germany Germany
    Show System Specs
    DD Support advised me to try MS Codecs insted of LAV.

    Just for my understanding, how can a codec on the client side create issues on the timeshift file on the server side?
     
  4. regeszter
    • Premium Supporter

    regeszter Retired Team Member

    Joined:
    October 29, 2005
    Messages:
    5,335
    Likes Received:
    2,863
    Ratings:
    +5,152 / 18
    Home Country:
    Hungary Hungary
    Hi,

    this is not a codec issue. Why do you use unc path for recordings and timeshift inside the tvserver?
     
  5. JackTramiel
    • Premium Supporter

    JackTramiel MP Donator

    Joined:
    November 22, 2006
    Messages:
    1,400
    Likes Received:
    46
    Location:
    Recklinghausen
    Ratings:
    +67 / 0
    Home Country:
    Germany Germany
    Show System Specs
    Just typed the path. Is it recommended to use "drive:\path"?
     
  6. regeszter
    • Premium Supporter

    regeszter Retired Team Member

    Joined:
    October 29, 2005
    Messages:
    5,335
    Likes Received:
    2,863
    Ratings:
    +5,152 / 18
    Home Country:
    Hungary Hungary
  7. JackTramiel
    • Premium Supporter

    JackTramiel MP Donator

    Joined:
    November 22, 2006
    Messages:
    1,400
    Likes Received:
    46
    Location:
    Recklinghausen
    Ratings:
    +67 / 0
    Home Country:
    Germany Germany
    Show System Specs
    Never knew this and thought technicaly there should be no difference. I ll try the absolute path.
     
  8. JackTramiel
    • Premium Supporter

    JackTramiel MP Donator

    Joined:
    November 22, 2006
    Messages:
    1,400
    Likes Received:
    46
    Location:
    Recklinghausen
    Ratings:
    +67 / 0
    Home Country:
    Germany Germany
    Show System Specs
    Did not help. Is there anything else i could try?

    [2014-06-04 22:04:46,630] [66b89b8] [129c] - MultiFileWriter: failed to create file I:\timeshifttest\live8-0.ts.tsbuffer1.ts
    [2014-06-04 22:10:10,576] [66b89b8] [129c] - MultiFileWriter: failed to create file I:\timeshifttest\live8-0.ts.tsbuffer1.ts
    [2014-06-04 22:10:10,576] [66b89b8] [129c] - Failed to reopen old file. It's currently in use. Dropping data!
    [2014-06-04 22:10:11,176] [66b89b8] [129c] - MultiFileWriter: failed to create file I:\timeshifttest\live8-0.ts.tsbuffer1.ts
    [2014-06-04 22:10:11,176] [66b89b8] [129c] - Failed to reopen old file. It's currently in use. Dropping data!
    [2014-06-04 22:10:11,777] [66b89b8] [129c] - MultiFileWriter: failed to create file I:\timeshifttest\live8-0.ts.tsbuffer1.ts
    [2014-06-04 22:10:11,777] [66b89b8] [129c] - Failed to reopen old file. It's currently in use. Dropping data!
    [2014-06-04 22:10:12,378] [66b89b8] [129c] - MultiFileWriter: failed to create file I:\timeshifttest\live8-0.ts.tsbuffer1.ts
    [2014-06-04 22:10:12,378] [66b89b8] [129c] - Failed to reopen old file. It's currently in use. Dropping data!
    [2014-06-04 22:10:12,878] [66b89b8] [129c] - Recorder:pid a3 Continuity error... 0 ( prev d ) - bad signal?
     
  9. regeszter
    • Premium Supporter

    regeszter Retired Team Member

    Joined:
    October 29, 2005
    Messages:
    5,335
    Likes Received:
    2,863
    Ratings:
    +5,152 / 18
    Home Country:
    Hungary Hungary
    Please upload the all and full logs.
     
    • Agree Agree x 2
  10. mm1352000
    • Team MediaPortal

    mm1352000 Development Group

    Joined:
    September 1, 2008
    Messages:
    21,527
    Likes Received:
    4,738
    Ratings:
    +8,205 / 17
    Home Country:
    New Zealand New Zealand
    Agree with regeszter: full logs please. :)
    Also, as the message says: is it possible that some other application (like security software or even MP) could be using/accessing these files and preventing deletion?
    Alternatively, are you sure the user account that the TV service is using has permission to delete files from that location?
     
    • Like Like x 1
  11. JackTramiel
    • Premium Supporter

    JackTramiel MP Donator

    Joined:
    November 22, 2006
    Messages:
    1,400
    Likes Received:
    46
    Location:
    Recklinghausen
    Ratings:
    +67 / 0
    Home Country:
    Germany Germany
    Show System Specs
    Trying to collect full logs right now. Theres a good chance it will take some hours to get the issue, it happens randomly.
    Guess it wouldnt be enough to manually start timeshift to gather logs? Usually no one is watching tv over the day.

    There is no security software running. Only software i installed lately was mpextended and a bunch of windows updates.

    Shouldnt be a permission issue. Everyone has full permissions on media and timeshift folders.
    I am using the same user account for all clients and the Server, set to admin privileges.
     
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!