Ocasional system freezes

  • From time to time my LE9 freezes, and only disconnecting and reconnectin to power helps to reboot it.

    I am running it on RPi3B+

    in dmesg I noticed:

    [43917.917648] Out of memory: Kill process 700 (kodi.bin) score 416 or sacrifice child

    [43917.917744] Killed process 700 (kodi.bin) total-vm:717580kB, anon-rss:318664kB, file-rss:0kB, shmem-rss:0kB

    [43918.055664] oom_reaper: reaped process 700 (kodi.bin), now anon-rss:0kB, file-rss:0kB, shmem-rss:0kB

    [43919.490022] systemd-journald[204]: /dev/kmsg buffer overrun, some messages lost.

    [43919.784508] vchiq: 0: ignoring ERROR from callback to service 5004

    full dmesg:

    http://ix.io/1bdi

    tail -n 1000 kodi.old.log | paste

    http://ix.io/1bdl

    (unfortunately I was not able to paste full kodi.old.log probubly because it is above 16MB)

    paste kodi.log

    http://ix.io/1bdn

  • Anything is possible. The changeover from SMBv1 to SMBv2 and up hasn't that gone well for a number of Android/Linux users. And if it's Samba only that is causing the freezing, I don't know. I prefer NFS myself.

  • Thanks a lot for your answer. I have 2 RPi computers. Can i make one RPi an NFS-Server? Do I need to use docker for starting nfs-server? I would be very thankful to you if you could point me to tutorial.

  • hi zeitalex,

    i have a PXE-Server project that setup the RPi also to a NFS server.

    i do the following to export e.g. folder /srv/my-nfs-share as rw = read write...

    ... after a reboot, all in /etc/exports should be nfs-exported automatically.

  • i saw in your other thread that your USB-HDD has NTFS as filesystem...

    maybe exportfs will complain about something like missing id or so.

    then add ,fsid=<any_unique_id> as last parameter in the bracket of the /etc/exports entry

    and if you do not need to write to the HDD via nfs, then i also would suggest zu make the nfs-export as ro = read only.

    e.g.:

    Code
    #/etc/exports
    /media/my-first-hdd   *(ro,async,no_subtree_check,root_squash,mp,fsid=1234567890)
    /media/my-second-hdd   *(ro,async,no_subtree_check,root_squash,mp,fsid=2345678901)

    EDIT: oops, i assumed your server rpi is running raspbian.

    Edited once, last by beta-tester (February 21, 2019 at 6:38 PM).

  • I tried to use rsync to exclude samba. But LE did freeze anyway.

    paste kodi.log

    http://ix.io/1box

    paste kodi.old.log

    http://ix.io/1boz

    the kodi.old.log ends up again with:

    I disabled screen saver, will see if this help.