Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Low-traffic WordPress website on Apache keeps crashing server

Discussion in 'Workarounds and Optimization' started by OC2PS, Oct 29, 2012.

  1. OC2PS

    OC2PS Registered

    Oct 29, 2012
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    I have recently moved my low-moderate traffic (1000 UAUs, 5000 pageviews on a busy day) website from shared hosting to a Centos 6 64-bit VPS with Apache and cPanel running on 4 quad-core processor (likely oversold) and 3GB memory (Xen).

    We've had problems from the beginning. The server keeps crashing. It seems PHP keeps expanding till it consumes all the memory and crashes the server.

    Some folks have suggested that I should abandon Apache/cPanel/PHP/mySQL and go with nginX/Varnish/PHP-FPM/SQLite. But that's just not possible for me as I am not very tech savvy and need a simple GUI like cPanel to be able to manage the mundane management tasks (can't afford to hire system administrator or get fully managed hosting).

    I have come across several posts discussing optimization of Apache for WordPress. But all of these lead to articles that are pretty dated such as this ~4 year old one from Jan 2009 - Optimize Apache for WordPress — The Theme Foundry

    The article is pretty detailed and seems helpful, but I stumble even on the first step. My httpd.conf only has 2 loadmodule commands
    LoadModule fastinclude_module modules/  
    LoadModule bwlimited_module modules/
    So I go total bust right there. Further, my httpd.conf says

    I am having trouble finding where to change the modules in WHM.

    Please can someone help me with updated guidelines on how to optimize Apache for WordPress? Many thanks!

    P.S. The WordPress installation also has WP Super Cache installed.
    P.P.S. I also have phpBB, OpenCart, and Menalto Gallery installed.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice