VirtuaLira

Well-Known Member
Feb 1, 2004
148
0
166
Chile
Hello guys,

Very Long time, from I post a issue :), I get a new server a few days ago, Xeon Quad Core 32GB RAM 500GB HDD, running CENTOS 6.5 x86_64 standard WHM 11.40.1 (build 8) , and I having HARD Apache problems. This server is for a particular site, with High Traffic and about 100 permanent connections, All seems to be good, but looking the "top" I getting and Apache EATING 300M and 15-30M per process, I tried a lot of thing and tunings on MySQL and Apache, but I don't get the web site load fast and support the 100+ visitors.

This is the top code (I need to move the site to the older server... A VPS with 4GB RAM!!)

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
(first load of page, only me testing...)
2724 nobody 20 0 243m 12m 4184 S 0.3 0.0 0:00.03 httpd
26436 mysql 20 0 3747m 402m 5828 S 0.3 1.3 9:11.42 mysqld
(clicked a link in the site for view a item)
2722 nobody 20 0 243m 12m 4176 S 0.7 0.0 0:00.03 httpd
26436 mysql 20 0 3747m 402m 5828 S 0.3 1.3 9:11.41 mysqld
29576 root 20 0 141m 11m 1344 S 0.3 0.0 0:03.12 lfd - sleeping
1 root 20 0 19232 1516 1220 S 0.0 0.0 0:03.23 init

Anyone have the same issue (I looked in google and a lot of issues but no solution)

The more Strange is the old server of this site is a VPS! only with 4GB RAM and Core 2 Duo... and the site is very Fast and load in 1 sec, supports more than 100 connections (visitors) at the same time.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,201
363
Hello :)

There are several results here in the forum when searching for "Apache Optimization". I recommend reviewing those types of threads to see the solutions offered by other users. You may want to look into tuning your MySQL configuration, or possibly using a third-party web server such as LiteSpeed.

Thank you.