(gelöst) System-Platte voll, VDR hängt

  • Hallo, ich habe ein Riesen-Problem mit meinem VDR:


    Seit einiger Zeit wird er langsamer und reagiert immer zögerlicher auf Befehle. Inzwischen hängt er sich komplett auf, ich habe so weit ich konnte nachgeforscht und rausgefunden dass es an der vollen hda1 liegt:


    server:~# df -h
    Dateisystem Größe Benut Verf Ben% Eingehängt auf
    /dev/hda1 1,4G 1,3G 0 100% /
    tmpfs 126M 0 126M 0% /dev/shm
    /dev/hda3 109G 96G 7,6G 93% /var/lib/video.00
    tmpfs 10M 92K 10M 1% /dev


    Die Syslog -Datei war auf über 70 MB aufgelaufen und läuft nach Löschen und Neustart mit einer affenartigen Geschwindigkeit voll. Leider kann ich mit dem Inhalt des Logs nichts anfangen. Kann mir jemand sagen, welcher Prozess die Platte füllt und wie ich das unterbinden kann?



    May 4 00:15:36 server syslogd 1.4.1#17: restart.
    May 4 00:15:36 server anacron[3441]: Job `cron.daily' terminated (mailing output)
    May 4 00:15:36 server atd[7275]: File a0015e012b87ec is in wrong format - aborting
    May 4 00:15:36 server atd[7326]: File a00174012b933b is in wrong format - aborting
    May 4 00:15:36 server atd[7331]: File a0017a012b9e76 is in wrong format - aborting
    May 4 00:15:36 server atd[7332]: File a0015d012b87e2 is in wrong format - aborting
    May 4 00:15:36 server atd[7333]: File a0015c012b87d8 is in wrong format - aborting
    May 4 00:15:36 server atd[7334]: File a00179012b9e6c is in wrong format - aborting
    May 4 00:15:36 server atd[7335]: File a0015b012b87ce is in wrong format - aborting
    May 4 00:15:36 server atd[7336]: File a00184012b9eda is in wrong format - aborting
    May 4 00:15:36 server atd[7337]: File a0017c012b9e8a is in wrong format - aborting
    May 4 00:15:36 server atd[7338]: File a0015a012b87c4 is in wrong format - aborting
    May 4 00:15:36 server atd[7339]: File a00182012b9ec6 is in wrong format - aborting
    May 4 00:15:36 server atd[7340]: File a00160012b8bcf is in wrong format - aborting
    May 4 00:15:36 server atd[7341]: File a00173012b9330 is in wrong format - aborting
    May 4 00:15:36 server atd[7342]: File a00167012b8dcf is in wrong format - aborting
    May 4 00:15:36 server atd[7343]: File a00166012b8dc5 is in wrong format - aborting
    May 4 00:15:36 server atd[7344]: File a00169012b8de3 is in wrong format - aborting
    May 4 00:15:36 server atd[7345]: File a00170012b9312 is in wrong format - aborting
    May 4 00:15:36 server atd[7346]: File a00175012b9345 is in wrong format - aborting
    May 4 00:15:36 server atd[7347]: File a0016f012b9308 is in wrong format - aborting
    May 4 00:15:36 server atd[7348]: File a00178012b9e62 is in wrong format - aborting
    May 4 00:15:36 server atd[7349]: File a00172012b9326 is in wrong format - aborting
    May 4 00:15:36 server atd[7350]: File a0017d012b9e94 is in wrong format - aborting
    May 4 00:15:36 server atd[7351]: File a0017f012b9ea8 is in wrong format - aborting
    May 4 00:15:36 server atd[7352]: File a00181012b9ebc is in wrong format - aborting
    May 4 00:15:36 server atd[7353]: File a00180012b9eb2 is in wrong format - aborting
    May 4 00:15:36 server atd[7354]: File a0017b012b9e80 is in wrong format - aborting
    May 4 00:15:36 server atd[7355]: File a0017e012b9e9e is in wrong format - aborting
    May 4 00:15:36 server atd[7356]: File a00183012b9ed0 is in wrong format - aborting
    May 4 00:15:36 server atd[7357]: File a000010123fb22 is in wrong format - aborting
    May 4 00:15:36 server atd[7358]: File a000e9012ac051 is in wrong format - aborting
    May 4 00:15:36 server atd[7359]: File a0011b012b646f is in wrong format - aborting
    May 4 00:15:36 server atd[7360]: File a0011c012b6a74 is in wrong format - aborting
    May 4 00:15:36 server atd[7361]: File a0011e012b6a88 is in wrong format - aborting
    May 4 00:15:36 server exim[7330]: 2007-05-04 00:15:36 1HjjaK-0001uE-NF failed to write to main log: length=134 result=-1 errno=28 (No space left on device)
    May 4 00:15:36 server exim[7330]: write failed on panic log: length=122 result=-1 errno=28 (No space left on device)
    May 4 00:15:36 server anacron[3441]: Tried to mail output of job `cron.daily', but mailer process (/usr/sbin/sendmail) exited with ststus 1
    May 4 00:15:36 server anacron[3441]: Normal exit (1 job run)
    May 4 00:15:36 server atd[7362]: File a00122012b6ba5 is in wrong format - aborting
    May 4 00:15:36 server atd[7363]: File a00120012b6a9c is in wrong format - aborting
    May 4 00:15:36 server atd[7364]: File a00126012b6c46 is in wrong format - aborting
    May 4 00:15:36 server atd[7365]: File a00127012b6c47 is in wrong format - aborting
    May 4 00:15:36 server atd[7366]: File a0012e012b7626 is in wrong format - aborting
    May 4 00:15:36 server atd[7367]: File a00123012b6baf is in wrong format - aborting
    May 4 00:15:36 server atd[7368]: File a00124012b6bb9 is in wrong format - aborting
    May 4 00:15:36 server atd[7369]: File a00125012b6bc3 is in wrong format - aborting
    May 4 00:15:36 server atd[7370]: File a0012d012b761c is in wrong format - aborting
    May 4 00:15:36 server atd[7371]: File a00131012b7b54 is in wrong format - aborting
    May 4 00:15:36 server atd[7372]: File a00128012b75b4 is in wrong format - aborting
    May 4 00:15:36 server atd[7373]: File a0012c012b7612 is in wrong format - aborting
    May 4 00:15:36 server atd[7374]: File a0012a012b75c8 is in wrong format - aborting
    May 4 00:15:36 server atd[7375]: File a0013a012b7ce9 is in wrong format - aborting
    May 4 00:15:36 server atd[7376]: File a00130012b76fd is in wrong format - aborting
    May 4 00:15:36 server atd[7377]: File a0014c012b82a2 is in wrong format - aborting
    May 4 00:15:36 server atd[7378]: File a00138012b7b9a is in wrong format - aborting
    May 4 00:15:36 server atd[7379]: File a0014a012b828e is in wrong format - aborting
    May 4 00:15:36 server atd[7327]: File a00153012b82e9 is in wrong format - aborting
    May 4 00:15:36 server atd[7380]: File a0014b012b8298 is in wrong format - aborting
    May 4 00:15:36 server atd[7382]: File a00142012b7d39 is in wrong format - aborting
    May 4 00:15:36 server atd[7383]: File a00149012b8284 is in wrong format - aborting
    May 4 00:15:36 server atd[7384]: File a0015f012b8bc5 is in wrong format - aborting
    May 4 00:15:36 server atd[7385]: File a00150012b82cb is in wrong format - aborting
    May 4 00:15:36 server atd[7386]: File a00165012b8dbb is in wrong format - aborting
    May 4 00:15:36 server atd[7387]: File a0015e012b87ec is in wrong format - aborting
    May 4 00:15:36 server atd[7388]: File a00161012b8bd9 is in wrong format - aborting
    May 4 00:15:36 server atd[7389]: File a00171012b931c is in wrong format - aborting
    May 4 00:15:36 server atd[7390]: File a00176012b934f is in wrong format - aborting
    May 4 00:15:36 server atd[7391]: File a00177012b9d77 is in wrong format - aborting
    May 4 00:15:36 server atd[7392]: File a0011a012b6465 is in wrong format - aborting
    May 4 00:15:36 server atd[7393]: File a0011d012b6a7e is in wrong format - aborting
    May 4 00:15:36 server atd[7394]: File a00121012b6b9b is in wrong format - aborting
    May 4 00:15:36 server atd[7395]: File a0011f012b6a92 is in wrong format - aborting
    May 4 00:15:36 server atd[7396]: File a00139012b7cdf is in wrong format - aborting
    May 4 00:15:36 server atd[7397]: File a00129012b75be is in wrong format - aborting
    May 4 00:15:36 server atd[7398]: File a00132012b7b5e is in wrong format - aborting
    May 4 00:15:36 server atd[7399]: File a0012b012b75d2 is in wrong format - aborting
    May 4 00:15:36 server atd[7400]: File a00134012b7b72 is in wrong format - aborting
    May 4 00:15:36 server atd[7401]: File a00133012b7b68 is in wrong format - aborting
    May 4 00:15:36 server atd[7402]: File a0012f012b7630 is in wrong format - aborting
    May 4 00:15:36 server atd[7403]: File a00143012b7d43 is in wrong format - aborting
    May 4 00:15:36 server atd[7404]: File a0013d012b7d07 is in wrong format - aborting


    Nach diesem Schema geht das unendlich weiter...


    ...wäre klasse wenn mir jemand helfen kann,


    Gruß, Balduin

    easyvdr 2.0.0 Stable - Asus A8N-E Sockel 939 - Athlon 3500+ - Nvidia GT 630 GK 208 - 2GB DDR-400 - 500GB Samsung System-HD - 2TB Video-HD - 2 x DVBSKY S952 Dualtuner PCIe - Digibit R1 SAT>IP - DVD-LW

    2 Mal editiert, zuletzt von Balduin ()

  • cron anhalten und at
    /etc/init.d/cron stop
    /etc/init.d/atd stop


    Dateien in /var/spool/cron/atspool/a* (oder anderes unterverzeichnis da) mal angucken und anschliessend löschen.


    Cron und atd wieder starten.

  • wilderigel,


    leider sind in dem von Dir angegebenen Ordner weder Dateien noch Unterordner mit Dateien, die ich löschen könnte, hast Du vielleicht noch eine andere Idee?


    berndl
    weder die ksymoops noch var/log legen die Platte lahm, die /var/log hat zwar einige zig MB, aber nicht 1,4 GB.


    Wie kann ich denn rausfinden, wo auf der Platte so eine Menge Daten versteckt liegen?



    Danke schon mal für Eure Hilfe,


    Balduin


    P.S. Nach dem Starten von cron und atd läuft jetzt immerhin die syslog-Datei nicht weiter voll...

    easyvdr 2.0.0 Stable - Asus A8N-E Sockel 939 - Athlon 3500+ - Nvidia GT 630 GK 208 - 2GB DDR-400 - 500GB Samsung System-HD - 2TB Video-HD - 2 x DVBSKY S952 Dualtuner PCIe - Digibit R1 SAT>IP - DVD-LW

    Einmal editiert, zuletzt von Balduin ()

  • Hallo,


    vielleicht hast du viele alte Pakete auf Platte, mit "apt-get clean" könntest du diese löschen.


    "du -h" gibt dir die Verzeichnisgrößen an der Konsole aus.


    grüße


    ralf

  • wilderigel


    Du hattest wie immer Recht, die Datei lag in /atjobs. Habe jetzt mal die Jobs, von denen einige da "rumlagen" gelöscht und bin gerade am rebooten. Melde mich nochmal wenn alles in Ordnung ist - wenn nicht auch ;o)


    @ralf


    apt-get clean hat tatsächlich einiges gelöscht...


    server:~# df -h
    Dateisystem Größe Benut Verf Ben% Eingehängt auf
    /dev/hda1 1,4G 1,2G 103M 92% /
    tmpfs 126M 0 126M 0% /dev/shm
    /dev/hda3 109G 96G 7,6G 93% /var/lib/video.00
    tmpfs 10M 92K 10M 1% /dev


    Aber die hda1 ist leider immer noch ziemlich voll, das System benötigt doch keine 1,2G, oder?


    Ich scheu mal gleich nochmal in die syslog, ob noch was besonderes vorliegt.

    easyvdr 2.0.0 Stable - Asus A8N-E Sockel 939 - Athlon 3500+ - Nvidia GT 630 GK 208 - 2GB DDR-400 - 500GB Samsung System-HD - 2TB Video-HD - 2 x DVBSKY S952 Dualtuner PCIe - Digibit R1 SAT>IP - DVD-LW

  • Hallo Ihr liebe Helfer,


    jetzt scheint mit dem VDR erst mal alles in Ordnung, startet normal, läuft, in der syslog keine besonderen Vorkommnisse.


    Aber die Platte erscheint mir immer noch zu voll:


    server:~# df -h
    Dateisystem Größe Benut Verf Ben% Eingehängt auf
    /dev/hda1 1,4G 1,1G 173M 87% /
    tmpfs 126M 0 126M 0% /dev/shm
    /dev/hda3 109G 96G 7,6G 93% /var/lib/video.00
    tmpfs 10M 92K 10M 1% /dev


    Ein normales System hat doch nicht diese Größe, oder?


    Wo sind denn typische "Müllhalden", wo ich mal nachschauen könnte?


    Gruß, Balduin

    easyvdr 2.0.0 Stable - Asus A8N-E Sockel 939 - Athlon 3500+ - Nvidia GT 630 GK 208 - 2GB DDR-400 - 500GB Samsung System-HD - 2TB Video-HD - 2 x DVBSKY S952 Dualtuner PCIe - Digibit R1 SAT>IP - DVD-LW

  • wilderigel


    Leider kennt mein vdr maxdepth nich:


    server:~# du -h --maxdepth=1
    du: Unbekannte Option »--maxdepth=1«
    ,,du --help" gibt weitere Informationen.


    Oder mache ich da vielleicht was falsch?


    Gibt es vielleicht bei Winscp eine entsprechende Funktion oder ein Tool, mit dem ich große Ordner identifizieren kann?


    Die Ordner in /var/log habe ich alle kontrolliert, da gibt es keine Auffälligkeiten...


    Gruß und Dank, Balduin

    easyvdr 2.0.0 Stable - Asus A8N-E Sockel 939 - Athlon 3500+ - Nvidia GT 630 GK 208 - 2GB DDR-400 - 500GB Samsung System-HD - 2TB Video-HD - 2 x DVBSKY S952 Dualtuner PCIe - Digibit R1 SAT>IP - DVD-LW

  • cd /
    du -sk * | sort -n


    Zeigt dir die Groesse aller Verzeichnisse in /, sortiert nach Groesse an. Dann einfach weiter eingrenzen, bis du findest, wo der Platz hingekommen ist.

    VDR: ASUS AT3ION-T, 2GB, Satix S2 Dual, 1TB 2.5", yavdr 0.4
    Server: Intel DH67CF, Pentium G620, 8GB, 2x1000GB 2.5" Raid1, WLAN, Ubuntu 12.04 @22W
    TV: Panasonic P50G30

  • du -h --max-depth=1


    mit bindestrich


    Zitat

    ,,du --help" gibt weitere Informationen.


    da kann man aber auch selbst drauf kommen :)


    grüße


    ralf

  • Da ich mich so schon als absoluter linux-Blinder geoutet habe, schiebe ich noch zwei Nachfragen hinterher ;o)


    In /proc liegt eine Datei namens kcore mit 268 MB - brauche ich die?


    In /usr/share/locale liegen viele Sprachdateien - kann ich da welche löschen?


    Gruß und Dank...

    easyvdr 2.0.0 Stable - Asus A8N-E Sockel 939 - Athlon 3500+ - Nvidia GT 630 GK 208 - 2GB DDR-400 - 500GB Samsung System-HD - 2TB Video-HD - 2 x DVBSKY S952 Dualtuner PCIe - Digibit R1 SAT>IP - DVD-LW

  • Zitat

    In /usr/share/locale liegen viele Sprachdateien - kann ich da welche löschen?


    Ja.


    Und bei dem nächsten Update sind sie dann wieder alle da :)


    Also bei einem System mit Softwarepaketen ist das im Prinzip nicht sinnvoll.


    Es gibt aber auch innerhalb des Paketsystems Möglichkeiten:


    - mit "apt-get autoremove" überflüssige Pakete entfernen (wird bei dir eventuell nicht unterstützt, keine Ahnung).


    - das Paket "localepurge" installieren, entfernt die angesprochenen, überflüssigen Dateien; auch nach jedem Update. Habe keine Erfahrung damit....


    Ich hab bei mir grad unter "/opt" eine alte Windowspartition gefunden, die ich dort "temporär" hinkopiert und vergessen hatte :)


    Vielleicht liegt unter "/usr/local/*", "/usr/src/*" oder so auch noch Müll rum.


    Du kannst auch eine neue Partition einrichten und einen Teil deines Systems dort unterbringen oder du vergrößerst deine Partition.


    Zu den Paketen (was man noch rauschmeißen könnte...) können die ct'vdr-Benutzer viel besser was sagen...


    viel erfolg


    ralf

  • Balduin,
    guck mal in das Verzeichnbis /var/cache/vdr.
    Da sammeln sich bei manchen Versionen insbesondere die Videotextdateien in nicht unbeträchtlicher Anzahl und Größe an.


    Gruß
    beagle

    Asus TUSL2-C, 128MB, 1xTT FF 2300 mod. 2xTT Budget DVB-S 1.5, SP1614, ND3550A, 2.6.20.3, Debian etch, Tobi experimental etch(1.4.7-1ctvdr1), ACPI wakeup, Psone Display.

  • @Alle


    Vielen Dank für Eure Hilfe, leider kann ich erst morgen weiter am VDR rumprockeln.


    Tschühüss, Balduin

    easyvdr 2.0.0 Stable - Asus A8N-E Sockel 939 - Athlon 3500+ - Nvidia GT 630 GK 208 - 2GB DDR-400 - 500GB Samsung System-HD - 2TB Video-HD - 2 x DVBSKY S952 Dualtuner PCIe - Digibit R1 SAT>IP - DVD-LW

  • Ansonsten wie gesagt mal mit du --max-dept=1 -h / schauen, wo die Speicherfresser versteckt sind.


    Mfg
    Multi

  • Hurra, ich habe die Bösewichter gefunden:


    /var/cache/vdr/epgimages
    /var/cache/vdr/vtx
    /var/cache/vdr-addon-tvmovie2vdr/downloadfiles
    /var/cache/vdr-addon-tvmovie2vdr/downloadupdatefiles


    Hier waren doch ziemliche Datenmengen aufgelaufen. Nach großzügiger Löschung sieht jetzt alles ganz vernünftig aus, denke ich:


    12K ./lost+found
    103G ./var
    1,4M ./etc
    3,0K ./media
    260M ./usr
    2,7M ./bin
    3,2M ./boot
    191K ./dev
    5,0K ./home
    50M ./lib
    1,0K ./mnt
    258M ./proc
    17K ./root
    2,9M ./sbin
    4,0K ./tmp
    0 ./sys
    1,0K ./srv
    1,0K ./opt
    1,0K ./initrd
    1,0K ./cdfs
    2,0K ./.mplayer
    1,0K ./video
    104G .


    Gibt es denn in diesen Addons bzw. Plugins irgendwelche Schalter, die man umlegen muss, damit hier die überalteten Daten rausgelöscht werden, oder muss man das regelmäßig manuell machen?


    Nochmals vielen Dank für Eure Hilfe,


    Balduin

    easyvdr 2.0.0 Stable - Asus A8N-E Sockel 939 - Athlon 3500+ - Nvidia GT 630 GK 208 - 2GB DDR-400 - 500GB Samsung System-HD - 2TB Video-HD - 2 x DVBSKY S952 Dualtuner PCIe - Digibit R1 SAT>IP - DVD-LW

  • habe hier ein Script was teletext löscht, könnte man vermutlich auch auf tvmovie umbauen:

    Code
    # /etc/cron.d/vdr-osdteletext: crontab fragment for vdr-osdteletext
    
    
    # Run queue every hour - delete videotext pages older than 6 hour
    15 *     * * *     root   /usr/bin/find /var/cache/vdr/vtx/ -type f -cmin +360 -print0 | /usr/bin/xargs -r0 /bin/rm -f 2>/dev/null
    16 *     * * *     root /bin/rmdir /var/cache/vdr/vtx/* >/dev/null 2>&1


    Aber tvmovie räumt bei mir eigentlich immer auf.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!