RasPi crash

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • skywalker
    Member
    • Mar 2007
    • 50

    RasPi crash

    Hi,

    i have three RasPi 3b+ with piCorePlayer installed. One of them with LMS installed, the Raspberry 7 Zoll Display and an Hifiberry DAC. The two others are only Players and they only used in combination with BT-Boxes.
    More and more often the os of the RasPiĀ“s crashing, so that i have to power off the RasPi.
    Mostly it happens after 3 or 4 or 5 hours streaming of an i-net-Stream, and mostly the players for the BT-Boxes
    Is there any logfile that can help me to find the issue?

    best regards,
    sky

    piCorePlayer v7.0.1 | www v00016 | linux 5.4.83-pcpCore-v7 | piCore v12.0pCP | Squeezelite v1.9.9-1372-pCP
  • skywalker
    Member
    • Mar 2007
    • 50

    #2
    Hi,

    does anyone have any idea why the Rasp Pi(all three of them and somtimes an hour after the last reboot) crash regularly?

    best regards.
    sky

    Comment

    • Paul Webster
      Senior Member
      • Apr 2005
      • 9634

      #3
      pCP tries to avoid writing to "disk" ... so when you reboot you will have lost the logs.
      You could ssh into the device or connect a screen and keyboard and watch for things going wrong
      e.g. console output, dmesg, /var/log/pcp_bt.log and any other stuff you can find
      Paul Webster
      Author of "Now Playing" plugins covering Radio France (FIP etc), PlanetRadio (Bauer - Kiss, Absolute, Scala, JazzFM etc), KCRW, ABC Australia and CBC/Radio-Canada
      and, via the extra "Radio Now Playing" plugin lots more - see https://forums.slimdevices.com/showt...Playing-plugin

      Comment

      • skywalker
        Member
        • Mar 2007
        • 50

        #4
        No chance to login per ssh when it was chrashed.
        No ssh, no http, no ping

        Comment

        • slartibartfast
          Senior Member
          • Jan 2010
          • 13173

          #5
          Originally posted by skywalker
          No chance to login per ssh when it was chrashed.
          No ssh, no http, no ping
          Are you playing a particular stream when it crashes?

          Sent from my Pixel 3a using Tapatalk
          Living Room: Touch or Squeezelite (Pi3B) > Topping E30 > Audiolab 8000A > Monitor Audio S5 + BK200-XLS DF
          Bedroom: Radio
          Bathroom: Radio

          Comment

          • skywalker
            Member
            • Mar 2007
            • 50

            #6
            I have only noticed it with one particular stream so far because I normally only hear this one.

            Today I tried another one. This stops regularly without my intervention and I have to restart it (only the stream, not the Raspi)

            I will test it with some other streams in the next days.

            best regards,
            sky

            Comment

            • Paul Webster
              Senior Member
              • Apr 2005
              • 9634

              #7
              Login via ssh before it crashes !
              Paul Webster
              Author of "Now Playing" plugins covering Radio France (FIP etc), PlanetRadio (Bauer - Kiss, Absolute, Scala, JazzFM etc), KCRW, ABC Australia and CBC/Radio-Canada
              and, via the extra "Radio Now Playing" plugin lots more - see https://forums.slimdevices.com/showt...Playing-plugin

              Comment

              • paul-
                Senior Member
                • Jan 2013
                • 5675

                #8
                Connect a monitor and keyboard. That would be the best way.

                Also take a look at free memory (just type free on command line). There have been a few reports of some types of streaming writing temp files, filling up memory. But that is normally days between issues.

                What version of LMS are you using?

                Then of course there is the old, how good is your power supply.
                piCorePlayer a small player for the Raspberry Pi in RAM.
                Homepage: https://www.picoreplayer.org

                Please donate if you like the piCorePlayer

                Comment

                • skywalker
                  Member
                  • Mar 2007
                  • 50

                  #9
                  The LMS-Version is 8.1.1 - 1610364019

                  The Power-Supplys are the original Raspberry-Items

                  I will start a test tomorrow. Reboot all three, connect and start with root-privileges

                  Code:
                  watch -n5 'clear;hostname;uptime;free;vcgencmd measure_temp;vcgencmd measure_volts'
                  Any other sensible option for the command?

                  best regards,
                  sky
                  Last edited by skywalker; 2021-05-02, 18:22. Reason: added hostname

                  Comment

                  • paul-
                    Senior Member
                    • Jan 2013
                    • 5675

                    #10
                    if you can have another terminal open, you can monitor kernel message

                    Code:
                    sudo dmesg -n 7    
                    while true; do sudo dmesg -c ; sleep 1 ; done
                    The first command turns up the kernel logging level, the second command runs dmesg, but clears the buffer each run, so you will only get the newly issues entries. Of course, if the crash is really hard, your likely to miss the actual message. The console is on tty1, which you need to have a monitor connected to. (Or a serial console)
                    piCorePlayer a small player for the Raspberry Pi in RAM.
                    Homepage: https://www.picoreplayer.org

                    Please donate if you like the piCorePlayer

                    Comment

                    • skywalker
                      Member
                      • Mar 2007
                      • 50

                      #11
                      Today 12h working like a charme. Tomorrow next try

                      best regards,
                      sky

                      Comment

                      • skywalker
                        Member
                        • Mar 2007
                        • 50

                        #12
                        In many tests I have not come to any result.

                        Therefore, I have uninstalled all plugins that I do not need, especially UPnP/DLNA, Airplay Bridge and UpNP/DLNA Bridge and configured a daily reboot. Since then, the phenomenon appears much less frequently, but has not disappeared. Next I will activate the watchdog to catch the few cases that still occur.

                        thanks,
                        sky

                        Comment

                        Working...