Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    To schedule a reboot

    Scheduled Pinned Locked Moved General pfSense Questions
    34 Posts 18 Posters 36.7k Views
    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.
    • R
      rpsmith @johnpoz
      last edited by

      @johnpoz -- how about a memory leak in 23.01 on my SG-1100. Is that a good enough reason to schedule a nightly reboot until they release a fix?

      Roy...

      johnpozJ 1 Reply Last reply Reply Quote 0
      • johnpozJ
        johnpoz LAYER 8 Global Moderator @rpsmith
        last edited by

        @rpsmith said in To schedule a reboot:

        how about a memory leak in 23.01 on my SG-1100.

        And what redmine is that exactly?

        An intelligent man is sometimes forced to be drunk to spend time with his fools
        If you get confused: Listen to the Music Play
        Please don't Chat/PM me for help, unless mod related
        SG-4860 24.11 | Lab VMs 2.8, 24.11

        R 1 Reply Last reply Reply Quote 0
        • R
          rpsmith @johnpoz
          last edited by

          @johnpoz -- Memory leak might not be the correct terminology.

          https://forum.netgate.com/topic/178023/1100-upgrade-22-05-23-01-high-mem-usage/13?_=1676880006434&loggedin=true

          Roy...

          johnpozJ 1 Reply Last reply Reply Quote 0
          • johnpozJ
            johnpoz LAYER 8 Global Moderator @rpsmith
            last edited by

            @rpsmith said in To schedule a reboot:

            https://forum.netgate.com/topic/178023/1100-upgrade-22-05-23-01-high-mem-usage/13?_=1676880006434&loggedin=true

            I have no idea what is going on with that thread to be honest.. I have only been on 23.01 for a day.. But I looked at mine and do see a bump in memory at 3am ish

            mem.jpg

            A quick look at cron jobs do show a few things that kick off at 3am it seems.. But like I said only been running 23.01 for a day, so this is the first 24 hour period.. I will look to see what happens at 3am coming up.

            But from what I am seeing I sure wouldn't schedule any sort of reboot schedule - that is insane.. And what does it solve - sure doesn't tell you what is causing it, etc.

            An intelligent man is sometimes forced to be drunk to spend time with his fools
            If you get confused: Listen to the Music Play
            Please don't Chat/PM me for help, unless mod related
            SG-4860 24.11 | Lab VMs 2.8, 24.11

            S 1 Reply Last reply Reply Quote 1
            • S
              SteveITS Galactic Empire @johnpoz
              last edited by

              @johnpoz I posted in https://forum.netgate.com/topic/177886/23-1-using-more-ram/41. Based on my second day it should not increase tonight.

              Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
              When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
              Upvote ๐Ÿ‘ helpful posts!

              johnpozJ 1 Reply Last reply Reply Quote 0
              • johnpozJ
                johnpoz LAYER 8 Global Moderator @SteveITS
                last edited by

                @steveits yeah thanks - I saw tiny little change this morning

                tiny.jpg

                Just something to keep an eye for a few days.. Still not seeing anything that would justify any sort of reboot schedule that is for sure.

                An intelligent man is sometimes forced to be drunk to spend time with his fools
                If you get confused: Listen to the Music Play
                Please don't Chat/PM me for help, unless mod related
                SG-4860 24.11 | Lab VMs 2.8, 24.11

                1 Reply Last reply Reply Quote 0
                • C
                  Cire3
                  last edited by

                  I know this is old, but some people do have reasons. I know I have an issue where DNS just stops resolving? but it takes between 2-4 months to actually act up.

                  Quick reboot and everything is up and running. I have not had time to diag what the issue is, and honestly when it happens my production environment goes down (My Computer Store). And I guarantee it only happens when I'm not here as it always does. I have to contact someone to pull the plug and give her a boot. That's not convenient. Is it a "me" problem, yup... But like many others, kind of shocked it's not already there. I'm not sure anyone's software is that perfect.

                  I'm not a programmer, but I know it's not that hard to pull off. What ransom would be asked to have a button run a cron job ?

                  For the now part, it would be great to reboot once a month, hell every 2. Is it a Band-aid? Yup, but would be a great one until I get the time to figure what's going on.

                  Just My2Cents.... And you get no change.

                  S 1 Reply Last reply Reply Quote 0
                  • stephenw10S
                    stephenw10 Netgate Administrator
                    last edited by

                    You can just add a cronjob to reboot if you need to.

                    1 Reply Last reply Reply Quote 0
                    • S
                      SteveITS Galactic Empire @Cire3
                      last edited by

                      @Cire3

                      Install cron package.

                      this is weekly, adjust for you:

                      minute 	hour 	mday 	month 	wday 	who 	command
                      1 	4 	* 	* 	7 	root 	/sbin/shutdown -r now
                      

                      Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
                      When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
                      Upvote ๐Ÿ‘ helpful posts!

                      C 1 Reply Last reply Reply Quote 3
                      • stephenw10S
                        stephenw10 Netgate Administrator
                        last edited by

                        I would use: /etc/rc.reboot there. It reboots more cleanly, stops pkgs backs-up ram disks etc.

                        1 Reply Last reply Reply Quote 1
                        • C
                          Cire3 @SteveITS
                          last edited by

                          @SteveITS

                          And a simple solution without asking 10 questions in return and being told your doing things wrong.

                          Thanks !

                          1 Reply Last reply Reply Quote 2
                          • First post
                            Last post
                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.