FreePBX Memory Usage
-
Use free -m to see your memory usage.
-
-
@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.
-
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?
-
@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:
Looks like there is 766 MB available for swap, only 2 are being used right now.
-
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/
-
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.
-
@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.
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.
-
@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.
-
@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.
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.