ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Elastix PBX Memory question

    IT Discussion
    pbx elastix
    3
    12
    2.3k
    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.
    • gjacobseG
      gjacobse
      last edited by scottalanmiller

      Doing some clarifications on memory. and rebooting a system.

      The GUI gives you the option to reboot the system. This is not the same reboot option as from the CLI.

      If you perform a GUI reboot, does it free up memory the same way you would do a CLI reboot?

      Tagging:
      @scottalanmiller @JaredBusch

      1 Reply Last reply Reply Quote 1
      • scottalanmillerS
        scottalanmiller
        last edited by

        The GUI reboot should be identical to the CLI reboot. A reboot is a reboot.

        1 Reply Last reply Reply Quote 0
        • scottalanmillerS
          scottalanmiller
          last edited by

          If a reboot is needed to clear memory, that indicates that something is wrong. You should look to see what is using the memory before rebooting.

          1 Reply Last reply Reply Quote 1
          • gjacobseG
            gjacobse
            last edited by

            System had been running 144 days 7 hours 42 minutes when I accessed it. Memory usage was about 256MB for ram, 509MB for the swap file.

            Problem turned out to be an issue with the provider. They self rebooted using the GUI once the provider came back up.

            Normal operation as of now,.. Just curious if there was a difference between the two modes of reboot.

            scottalanmillerS 2 Replies Last reply Reply Quote 0
            • scottalanmillerS
              scottalanmiller @gjacobse
              last edited by

              @g.jacobse said:

              System had been running 144 days 7 hours 42 minutes when I accessed it. Memory usage was about 256MB for ram, 509MB for the swap file.

              Nothing wrong with that. Rebooting to keep uptime down is good, but that memory is probably just fine. Did you look at a top sorted by memory usage or look at sysstat to see if there was any active paging activity? Having 256MB used and 509MB for swap doesn't indicate any memory issue or exhaustion on its own.

              What was the output of free -m?

              1 Reply Last reply Reply Quote 0
              • scottalanmillerS
                scottalanmiller @gjacobse
                last edited by

                @g.jacobse said:

                Normal operation as of now,.. Just curious if there was a difference between the two modes of reboot.

                Nope, only one system signal that causes a reboot. So anything that triggers that will be identical.

                1 Reply Last reply Reply Quote 0
                • scottalanmillerS
                  scottalanmiller
                  last edited by

                  You should be able to look at a sar report and have a pretty good idea of if there were memory issues. But I know the system in question and that doesn't sound like anything wrong. It was very unlikely that it was paging.

                  1 Reply Last reply Reply Quote 0
                  • ?
                    A Former User
                    last edited by

                    People always like to claim these high uptimes and I always wonder if that means they don't patch their systems. Ours rarely go longer than 7-14 days without a reboot.

                    scottalanmillerS gjacobseG 2 Replies Last reply Reply Quote 0
                    • scottalanmillerS
                      scottalanmiller @A Former User
                      last edited by

                      @thecreativeone91 said:

                      People always like to claim these high uptimes and I always wonder if that means they don't patch their systems. Ours rarely go longer than 7-14 days without a reboot.

                      I like to call this one "admitting" a long uptime. I agree, ideally reboot every seven days (just because an "every other" weekend greenzone is very awkward to track and remember.)

                      Problem with PBXs is not many businesses want a weekly downtime, even of a minute or two. Most patching can be done without downtime, only kernels typically cause a need for downtime and that is much less common.

                      1 Reply Last reply Reply Quote 0
                      • gjacobseG
                        gjacobse @A Former User
                        last edited by

                        @thecreativeone91 said:

                        People always like to claim these high uptimes and I always wonder if that means they don't patch their systems. Ours rarely go longer than 7-14 days without a reboot.

                        I've not following the patch / revision cycle. But is your 'low up time' due to that?

                        scottalanmillerS 1 Reply Last reply Reply Quote 0
                        • scottalanmillerS
                          scottalanmiller @gjacobse
                          last edited by

                          @g.jacobse said:

                          I've not following the patch / revision cycle. But is your 'low up time' due to that?

                          How do you patch reliably without rebooting to verify it or, in most cases, how do you patch at all without rebooting?

                          1 Reply Last reply Reply Quote 0
                          • scottalanmillerS
                            scottalanmiller
                            last edited by

                            He is referring to this philosophy, above and beyond direct patching concerns:

                            Why We Reboot Servers

                            1 Reply Last reply Reply Quote 0
                            • 1 / 1
                            • First post
                              Last post