This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Apache Using Too Much Memory
#1
Apache Using Too Much Memory
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!
Reply
Thanks given by:
#2
RE: Apache Using Too Much Memory
I would advice you to have a look to http://www.serverlab.ca/tutorials/linux/...e-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!
Reply
Thanks given by:
#3
RE: Apache Using Too Much Memory
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
No support using PM (Auto adding to IGNORE list!), use the forum. 
How to ask

200$ free to start your VPS 60 days credit
Reply
Thanks given by:
#4
RE: Apache Using Too Much Memory
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
Reply
Thanks given by:


Possibly Related Threads…
Thread Author Replies Views Last Post
Sentora & Apache behind Nginx Reverse Proxy Feilding Weather 7 15 ,945 08-06-2021, 02:58 PM
Last Post: ccr1969
How to run multiple version PHP with Apache (use Sentora panel) on Centos ??? BigBang 4 9 ,340 12-23-2020, 03:31 PM
Last Post: djkashdui1
SSL install breaks apache service EGOSKY123 1 4 ,581 10-28-2020, 12:12 AM
Last Post: iraqiboy90

Forum Jump:


Users browsing this thread: 1 Guest(s)