We are having the Drupal 7.34 on both Ubuntu and CentOS.
We are experiencing series performance issue on the CentOS platform.
It takes 7-10 seconds to response to every link I click.

The problem doesn't happen on Ubuntu.

Anyone have the same experience?

I've tried to
1) Enable cache on Drupal,
2) Increase the cache on MySQL
3) Install php-apc (which some forums said that's help)
But these just didn't seems help much.

Comments

Jaypan’s picture

You need to do some research to find the bottleneck. Is it on the server itself? Is it the connection between the server and the user? Is it a long query?

To test whether it's the internet connection, I'd do some requests for pages directly on the server itself, using wget, or if you want to do it in Drupal itself, you can use drupal_http_request(), timing the length of time it takes.

To find out if it is a long query, you can enable the slow query log in MySQL and see which queries are taking a long time. The devel module also has functionality to be able to log the length of time for every database call on a page.