Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Re: Exit state handling in runvdr



Am Donnerstag, 28. August 2003 13:50 schrieben Sie:
> On Thu, 28 Aug 2003, Klaus Schmidinger wrote:
> >Jan Ekholm wrote:
> >> Well, I must agree. In the past I've missed a lot of recordings just
> >> because VDR died with buffer overflows sometimes during the day. So when
> >> the recording was supposed to start it was dead. I used to always check
> >> the machine before each recording to see that it was alive and well, but
> >> that defeated the whole idea of unattended recordings. I've also never
> >>
> >> Actually, a ring buffer overflow doesn't exit VDR here, it just sits
> >> there. Shouldn't the watchdog restart VDR when it's died or shouldn't
> >> VDR itself exit when it has reached a situation (buffer overflow) from
> >> which it can't recover without a restart?
> >
> >When VDR dies because of a segfault or similar events, runvdr should
> > already do a restart (at least it does here).
> >
> >The watchdog makes VDR exit with a restart condition as soon as the main
> >program loop is no longer processed, maybe because the program is stuck
> >somewhere.
>
> Isn't the ring buffer overflow a restart condition? Or a reason to exit
> and unload/reload the DVB drivers? As far as I can see there is nothing
> that can be done after the overflows. VDR may react to input, but it's
> never displayed anything anymore. Once the overflow comes it's like
> instant lobotomy, VDR is alive but not anyway alive. :)
>
> >If you want additional "emergency exists" when buffer overflows or things
> >like that happen, you can just implement the necessary call at the right
> > place. But be prepared for lots of complaints from people who are already
> > complaining about the "emergency exists" VDR does as it is now ;-).
>
> Well, I think I personally rather have one exit too much than not. A
> restart isn't so bad, an internal "half crash" where VDR can't really
> proceed is worse.

May be this is useful for you:
http://www.linuxtv.org/mailinglists/vdr/2003/06-2003/msg01502.html

>
> --
>
>               Many an ancient lord's last words had been:
>          "You can't kill me because I've got magic aaargh...."
>                                       -- Terry Pratchett, Interesting Times



-- 
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe vdr" as subject.



Home | Main Index | Thread Index