Month: October 2013

  • Tuning the Apache Prefork MPM

    To find httpd process avg memory usage: [root@webserverpage /]#ps -ylC httpd | awk ‘{x += $8;y += 1} END {print “Apache Memory Usage (MB): “x/1024; print “Average Proccess Size (MB): “x/((y-1)*1024)}’ TOTAL: 31.6831 To find after excluding httpd and mysql total memory so that we can get other processes usage memory: [root@webserverpage /]# ps -eo…