I have Wordpress running in Production behind Load Balancer. The number of request is around 4 req/sec on each server as captured through apachetop. The system runs and intermittently throws "Out of memory error killing apache" and becomes unresponsive.
The configuration of server as mentioned below:
3 CentOS 6.5 machines with 4 cores and 4 GB Physical Memory. Wordpress running Apache with mod_php in prefork mpm. MySQL database is running on different machine. Below are the statistics of few commands generated:
Need to figure out what exactly is causing the issue, and what needs to be fixed. Also like to know about performing the profiling of CPU, Memory etc. If any further information required, please let me know.