Mailing List archive

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

[vdr] Watchdog expires while removing of recordings ?



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 ?
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. 
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 ?
Just some ideas ...

Maybe someone can comment on this

Martin.




Home | Main Index | Thread Index