Sentora Support Forums
Apache Using Too Much Memory - Printable Version

+- Sentora Support Forums (https://senforums.mach-hosting.com)
+-- Forum: Sentora Forum Archives (https://senforums.mach-hosting.com/forumdisplay.php?fid=5)
+--- Forum: Sentora Public Support Forums v1.0.x (https://senforums.mach-hosting.com/forumdisplay.php?fid=32)
+---- Forum: General Support Forum v1.0.x (https://senforums.mach-hosting.com/forumdisplay.php?fid=36)
+---- Thread: Apache Using Too Much Memory (/showthread.php?tid=1411)



Apache Using Too Much Memory - jtwhite - 04-09-2015

I am running Sentora on a CentOS 7 VPS with only 512mb memory.

What steps can I take to keep Apache from hogging so much memory? My web site has almost no hits but SQL keeps crashing because Apache hogs all the memory.

Any help or suggestions would greatly be appreciated.

Thank you!


RE: Apache Using Too Much Memory - Michelsup - 04-09-2015

I would advice you to have a look to http://www.serverlab.ca/tutorials/linux/web-servers-linux/centos-6-web-server-architecture-part-ii/
They give good hints to find the proper httpd.conf regarding your hardware capacity, balancing the resources between mysql and apache.
All the best!


RE: Apache Using Too Much Memory - Me.B - 04-10-2015

The solution is easy add more RAM as 512 MB is not good for LAMP centos 7 wich will crash under load or badly written scripts/requests.

M B


RE: Apache Using Too Much Memory - jtwhite - 04-10-2015

Michaelsup,

Thank you for that material. It was very helpful. And Me.B I have been thinking about that. I just feel like my site doesn't have enough hits to warrant it yet.

Thank you both! Smile