Dear visitor, welcome to VDR Portal. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.
Wahrscheinlich löst das Skript auch ohne Änderung deine Probleme.
Quoted
Habe das noad Shellscript von diesem Posting abgeädert und probier es damit.
|
|
Source code |
1 2 3 4 5 6 7 |
Noad beendet sich nicht, wenn während des Scans die Aufnahme gelöscht wird Wenn eine Aufnahme gelöscht wird, während Noad läuft, bleibt der Prozess hängen und Noad beendet sich nie. Das kann dazu führen, dass sich der VDR nicht herunterfährt. Abhilfe schaffen folgende Patches: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/noad/files/patches-0.6.0/delete-while-scanning.diff http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/noad/files/patches-0.6.0/hangcheck.diff |
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 |
if ! screen -ls | egrep -q noadwatch ; then
screen -dmS noadwatch sh -c "while pidof noad ; do \
for i in \$(pidof noad) ; do \
sleep 5s ; ARGS=\$(ps --no-heading -p \$i -o %a) ; \
if [ ! -d \"\${ARGS##* }\" -a -n \"\${ARGS##* }\" ] ; then \
if ps -p \$i ; then \
kill -9 \$i ; \
fi ; \
fi ; \
done ; \
done"
fi
|



^ alles dürfte, mit ulimit obsolete sein.This post has been edited 1 times, last edit by "ronnykornexl" (Oct 20th 2007, 3:54pm)
Ist mir auch schon bei fehlerhaften Aufnahmen (Gewitter oder so) passiert.
Quoted
Original von ronnykornexl
Also das hatte ich ehrlich gesagt noch nie, das noad sich nicht von alleine beendet hat.
Außer, wenn man die Aufnahme, mit welcher noad gerade beschäftigt ist, gelöscht hat.
Den gab es damals, als mich NoAD peinigte, leider noch nicht.
Quoted
Im Wiki gab es dafür wohl nen Flicken: