Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[vdr] Re: Watchdog expires while removing of recordings ?
Martin Hoffmann wrote:
>
> Hi,
>
> i'm using VDR0.97 and since i have a an encoding process running in the background (with nice -n 10 - so it should NOT take too much CPU time on an Athlon XP 1800) VDR often quits with "watchdog expired" while removing of recorded files.
> Now i have set the watchdog to 100 seconds and it seems to be better ...
>
> I think i don't quite understand this: Is VDR triggering a rm *.vdr command and waits until it returns ? And if this doesn't happen until the amount of seconds the watchdog is set to it quits ? Right ?
That's correct.
> Couldn't VDR rm 001.vdr and 002.vdr and so on separately? Sometimes deleting recordings with several 00*.vdr files can take a long time to be deleted. On ext2 fs at least.
The removing could be done in a separate thread, but that has yet to be implemented...
> On the other hand i don't want to set the watchdog timer on 5 minutes or so, because then the reloading will take too long in case of a crash !?
> What about a dynamic system of watchdogs ? So in case VDR wants to delete something he would signal RUNVDR (e.g. creating a dummy file) that he needs more time and a second watchdog value (e.g. 5 minutes) would be used ?
Let's not make things more complicated than necessary.
Removing files in a separate thread IMHO is the way to go.
Klaus
--
_______________________________________________________________
Klaus Schmidinger Phone: +49-8635-6989-10
CadSoft Computer GmbH Fax: +49-8635-6989-40
Hofmark 2 Email: kls@cadsoft.de
D-84568 Pleiskirchen, Germany URL: www.cadsoft.de
_______________________________________________________________
Home |
Main Index |
Thread Index