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 5.3k 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.
    • N Offline
      nagaculun @nagaculun
      last edited by

      Anyone ?

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

        @nagaculun sounds like the swap space might need to be enlarged

        Sam

        How to add modules

        learning how to use browser developers window for css changes

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

          @sdetweil and how do I do that ?

          Thanks

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

            @nagaculun now now… google is your friend

            see https://www.bitpi.co/2015/02/11/how-to-change-raspberry-pis-swapfile-size-on-rasbian/

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            N 1 Reply Last reply Reply Quote 0
            • 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 Offline
                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 Offline
                          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

                                Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                With your input, this post could be even better 💗

                                Register Login
                                • 1 / 1
                                • 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