[fixed] the runaway recordings just keep coming (1 Viewer)

gibman

Retired Team Member
  • Premium Supporter
  • October 4, 2006
    2,998
    1,372
    Aarhus
    Home Country
    Denmark Denmark
    I'd rather see a complete set of tv.log and error.log from server.

    in Method StopRecord:

    try this:
    Code:
               try
              {
                recording.Recording.Refresh();
                recording.Recording.EndTime = DateTime.Now;
                recording.Recording.IsRecording = false;
                recording.Recording.Persist();  
              }
              catch(Exception ex)
              {
                Log.Error("StopRecord - updating record id={0} failed {1}", recording.Recording.IdRecording, ex.StackTrace);
              }

    instead of :

    Code:
                recording.Recording.Refresh();
                recording.Recording.EndTime = DateTime.Now;
                recording.Recording.IsRecording = false;
                recording.Recording.Persist();

    /gibman
     

    disaster123

    MP Donator
  • Premium Supporter
  • May 14, 2008
    3,558
    434
    Home Country
    Germany Germany
    AW: the runaway recordings just keep coming

    gibman
    if you give me space for about 300MB :) i can post the whole logs. But i've posted the relevant parts - nothing before it and after it it is only running in a loop. I'll patch the file this evening and hopefully we'll have again a not ending recording :)
     

    pocketpal

    Portal Member
    January 9, 2005
    49
    0
    Indiana, USA
    Home Country
    United States of America United States of America
    A bunch of shows were recorded yesterday and last night, and not one was a runaway. I am continuing to be optimistic that mine is fixed!
     

    disaster123

    MP Donator
  • Premium Supporter
  • May 14, 2008
    3,558
    434
    Home Country
    Germany Germany
    AW: the runaway recordings just keep coming

    gibman

    here is the output of the error.log after changing the code (tv.log is attached):
    Code:
    2010-03-10 22:15:06.804000 [Scheduler timer(4)]: StopRecord - updating record id=818 failed    bei Gentle.Common.Check.FailWith(Severity severity, Error error, Exception e, String msg)
       bei Gentle.Common.Check.Fail(Exception e, Error error, Object[] args)
       bei Gentle.Common.Check.Verify(Boolean condition, Error error, Object[] args)
       bei Gentle.Framework.PersistenceBroker.Retrieve(Type type, Key key, IDbConnection conn, IDbTransaction tr)
       bei Gentle.Framework.PersistenceBroker.Retrieve(Object obj, Key key, IDbConnection conn, IDbTransaction tr)
       bei Gentle.Framework.Persistent.Refresh()
       bei TvService.Scheduler.StopRecord(RecordingDetail recording)
    2010-03-10 22:20:11.955600 [Scheduler timer(10)]: StopRecord - updating record id=817 failed    bei Gentle.Common.Check.FailWith(Severity severity, Error error, Exception e, String msg)
       bei Gentle.Common.Check.Fail(Exception e, Error error, Object[] args)
       bei Gentle.Common.Check.Verify(Boolean condition, Error error, Object[] args)
       bei Gentle.Framework.PersistenceBroker.Retrieve(Type type, Key key, IDbConnection conn, IDbTransaction tr)
       bei Gentle.Framework.PersistenceBroker.Retrieve(Object obj, Key key, IDbConnection conn, IDbTransaction tr)
       bei Gentle.Framework.Persistent.Refresh()
       bei TvService.Scheduler.StopRecord(RecordingDetail recording)
     

    Attachments

    • tv.zip
      30.6 KB

    gibman

    Retired Team Member
  • Premium Supporter
  • October 4, 2006
    2,998
    1,372
    Aarhus
    Home Country
    Denmark Denmark
    hi disaster123.

    yeah, I know I logged the exception to error.log. on purpose.
    but how does thing behave now ?

    /gibman
     

    disaster123

    MP Donator
  • Premium Supporter
  • May 14, 2008
    3,558
    434
    Home Country
    Germany Germany
    AW: the runaway recordings just keep coming

    After that tvserver wasn't reachable anymore. An MP client simply hangs and the tvservr setup hangs too - both completely freeze.
     

    pocketpal

    Portal Member
    January 9, 2005
    49
    0
    Indiana, USA
    Home Country
    United States of America United States of America
    Another day's worth of recordings, and not one a runaway! I'm considering the problem fixed with my RC1 installation unless something crops up.
    :D
     

    tompa

    MP Donator
  • Premium Supporter
  • October 3, 2005
    665
    34
    Stockholm
    Home Country
    Sweden Sweden
    gibman
    have not seen any problems here either since a couple of days, ill keep it running!

    thx!
    /tompa
     

    disaster123

    MP Donator
  • Premium Supporter
  • May 14, 2008
    3,558
    434
    Home Country
    Germany Germany
    AW: the runaway recordings just keep coming

    hey gibman,

    one question - is your refactored_schedule2.patch exactly what you've checked in SVN?
     

    Users who are viewing this thread

    Top Bottom