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

    FreePBX Memory Usage

    IT Discussion
    4
    14
    5.7k
    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.
    • coliverC
      coliver @StrongBad
      last edited by

      @StrongBad said:

      That's the htop view and it shows LWPs. Use top and you'll not see that. Nothing to worry about. That's how it should be.

      Thanks, I learned something new today. I have never encountered the term LWP (Light weight processes, for people who don't want to look it up) before. That explains why it is using the same amount of RAM as the parent process. Now I just need to figure out why I am using 80% of the available RAM. Is there a way to see resource usage that isn't top of htop? top only shows ~15-20% usage whereas my hypervisor is showing a lot higher.

      1 Reply Last reply Reply Quote 0
      • StrongBadS
        StrongBad
        last edited by

        Use free -m to see your memory usage.

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

          http://www.sheepguardingllama.com/2008/02/linux-memory-monitoring/

          coliverC 1 Reply Last reply Reply Quote 0
          • coliverC
            coliver @scottalanmiller
            last edited by

            @scottalanmiller said:

            http://www.sheepguardingllama.com/2008/02/linux-memory-monitoring/

            Very informative. I will add that to my Linux bookmarks. Doesn't look like my memory subsystem is overloaded I am not swapping anything to disk. So it is probably a non-issue. Thanks.

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

              Check your swap settings to see if swap is even possible. What does your "free -m" output look like? Does it have swap turned on?

              coliverC 1 Reply Last reply Reply Quote 0
              • coliverC
                coliver @scottalanmiller
                last edited by

                @scottalanmiller said:

                Check your swap settings to see if swap is even possible. What does your "free -m" output look like? Does it have swap turned on?

                Here are the vmstat and free -m command results:
                vmstat.png

                freem.png

                Looks like there is 766 MB available for swap, only 2 are being used right now.

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

                  Yup, that looks healthy. If you want to reduce memory usage a little you can look at this...

                  http://www.scottalanmiller.com/linux/2012/09/02/improving-elastix-memory-usage/

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

                    You do seem to be using an awful lot of memory for a FreePBX install. You have way more than enough, but you are using more than you would expect.

                    coliverC 1 Reply Last reply Reply Quote 0
                    • coliverC
                      coliver @scottalanmiller
                      last edited by

                      @scottalanmiller said:

                      You do seem to be using an awful lot of memory for a FreePBX install. You have way more than enough, but you are using more than you would expect.

                      Yep, which why I was concerned. I do have FOP2 running, but that doesn't seem to be using anything really, it seems to be using ~335MB, although since people are using it not sure if I should modify the apache settings as per your previous link.

                      top.png

                      Here is my top output. It looks like the httpd processes are using a huge amount of memory, or rather it is claiming a huge amount it doesn't seem to be using a lot of it, if I understand the difference between virt and res correctly.

                      NetworkNerdN 1 Reply Last reply Reply Quote 0
                      • NetworkNerdN
                        NetworkNerd @scottalanmiller
                        last edited by

                        @scottalanmiller said:

                        Yup, that looks healthy. If you want to reduce memory usage a little you can look at this...

                        http://www.scottalanmiller.com/linux/2012/09/02/improving-elastix-memory-usage/

                        This is one of my go-to steps any time I roll out Elastix / FreePBX. It's a great help.

                        1 Reply Last reply Reply Quote 1
                        • NetworkNerdN
                          NetworkNerd @coliver
                          last edited by

                          @coliver said:

                          @scottalanmiller said:

                          You do seem to be using an awful lot of memory for a FreePBX install. You have way more than enough, but you are using more than you would expect.

                          Yep, which why I was concerned. I do have FOP2 running, but that doesn't seem to be using anything really, it seems to be using ~335MB, although since people are using it not sure if I should modify the apache settings as per your previous link.

                          top.png

                          Here is my top output. It looks like the httpd processes are using a huge amount of memory, or rather it is claiming a huge amount it doesn't seem to be using a lot of it, if I understand the difference between virt and res correctly.

                          Even with FOP2 running, applying Scott's article should not cause any problems with FOP2.

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