MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    rpi3 freezes every few days .. need help

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    18 Posts 4 Posters 4.4k Views 5 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • FoziF Offline
      Fozi Project Sponsor
      last edited by

      @nagaculun Are you using MMM-GoogleTrafficMap? This module has a severe memory leak. Increasing swap memory will not help, as it just shifts the freeze to a later point in time. Other option is to setup a cron job that reboots regularly the RPi.

      HowTo: Replace PIR Sensor with a RCWL-0516 Microwave Sensor

      S N 2 Replies Last reply Reply Quote 0
      • S Do not disturb
        sdetweil @Fozi
        last edited by sdetweil

        @Fozi i have a fixed GoogleMapsTraffic module on my github.
        I submitted it, but it hasn’t been picked up…

        https://github.com/sdetweil/MMM-GoogleMapsTraffic

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        FoziF 1 Reply Last reply Reply Quote 0
        • FoziF Offline
          Fozi Project Sponsor @sdetweil
          last edited by

          @sdetweil thanks for the heads up!
          Didn’t know you fixed it. I’ll give it a try for my next MM version, I’m currenttly planning.

          HowTo: Replace PIR Sensor with a RCWL-0516 Microwave Sensor

          1 Reply Last reply Reply Quote 0
          • N Offline
            nagaculun @Fozi
            last edited by

            @Fozi I dont have the MMM-GoogleTrafficMap. Even just the default clock module has the issue.

            I setup a cron to reboot every day at 6am; and it happens as well.

            1 Reply Last reply Reply Quote 0
            • N Offline
              nagaculun @sdetweil
              last edited by

              @sdetweil

              Just modify accordingly. Now wait and see. Thanks.

              1 Reply Last reply Reply Quote 0
              • N Offline
                nagaculun
                last edited by

                @sdetweil
                It still freezes even I made the modification.

                S FoziF 2 Replies Last reply Reply Quote 0
                • S Do not disturb
                  sdetweil @nagaculun
                  last edited by

                  @nagaculun bummer…

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  1 Reply Last reply Reply Quote 0
                  • FoziF Offline
                    Fozi Project Sponsor @nagaculun
                    last edited by

                    @nagaculun Are you sure that the crontab is really executed? ssh into the RPI, execute ‘htop’ and check the uptime. The uptime should be the difference between the cronjob execution and the actual time.

                    For setting up the crontab, that reboots the RPi I needed priviledged rights.

                    $ sudo crontab -e
                     and then insert, e.g.
                    
                    15 1,9,17 * * * sudo shutdown -r now >/dev/null 2>&1
                    

                    This reboots the RPi at 01:15, 9:15 and 17:15 every day (every 8 hrs.).
                    Note the two ‘sudo’ for editing the crontab and initiating the shutdown.

                    HowTo: Replace PIR Sensor with a RCWL-0516 Microwave Sensor

                    N 1 Reply Last reply Reply Quote 0
                    • FoziF Offline
                      Fozi Project Sponsor
                      last edited by

                      Some experiences I made:

                      My “productive” MM runs on a RPi 3B+. I have also a normal RPi 3B, which I use as a test bench in the exact same configuration as my MM (I’ve use a cloned SD card).
                      Surprisingly, the 3B’s memory is not filling up and stalling like my 3B+.
                      God knows why.

                      HowTo: Replace PIR Sensor with a RCWL-0516 Microwave Sensor

                      1 Reply Last reply Reply Quote 0
                      • N Offline
                        nagaculun @Fozi
                        last edited by

                        @Fozi

                        @Fozi said in rpi3 freezes every few days .. need help:

                        @nagaculun Are you sure that the crontab is really executed? ssh into the RPI, execute ‘htop’ and check the uptime. The uptime should be the difference between the cronjob execution and the actual time.

                        For setting up the crontab, that reboots the RPi I needed priviledged rights.

                        $ sudo crontab -e
                         and then insert, e.g.
                        
                        15 1,9,17 * * * sudo shutdown -r now >/dev/null 2>&1
                        

                        This reboots the RPi at 01:15, 9:15 and 17:15 every day (every 8 hrs.).
                        Note the two ‘sudo’ for editing the crontab and initiating the shutdown.

                        Yes, as I literally wait and see when it happens.

                        1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 1 / 2
                        • First post
                          Last post
                        Enjoying MagicMirror? Please consider a donation!
                        MagicMirror created by Michael Teeuw.
                        Forum managed by Sam, technical setup by Karsten.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy