• I have two sites on two vps servers, both on GreenGeeks, one on maxcdn and the other on cloudflare. Both sites are seeing large load spikes and high CPU usage causing Apache to crash.
    The statistics and logs for both sites:

    1.
    Load History: https://i.ronkh.com/524X4y0h7945a3S0C7c9.png

    ———————————————————–
    |User |Domain |CPU%|MEM%|MySQL#|
    ———————————————————–
    |abc |abc.com |114.42|26.61|3.2 |
    | Top Process | 65.2 | /usr/bin/php |
    | Top Process | 65.1 | /usr/bin/php |
    | Top Process | 64.8 | /usr/bin/php |

    2.
    Load History: https://i.ronkh.com/526X1O4y0189x3n1r4Xv.png

    ———————————————————–
    |User |Domain |CPU%|MEM%|MySQL#|
    ———————————————————–
    |xyz |xyz.com |111.98|24.51|2.0 |
    | Top Process | 61.8 | /usr/bin/php |
    | Top Process | 58.6 | /usr/bin/php |
    | Top Process | 47.1 | /usr/bin/php |

    The sites are down most of the time and I shifted to GreenGeeks from hostgator to solve this issue, but its not resolved. Please help.

    Thanks

    • This topic was modified 9 years, 7 months ago by Jan Dembowski.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    What do your access logs tell you about the traffic coming to the site? What’s happening during those spikes?

    Thread Starter anandb1999

    (@anandb1999)

    Just google, bing and twitter bots and some other stuff. How do I find out if there is something malicious in the log? Sorry, I am not experienced enough and is there something wrong with /usr/bin/php?

    Thanks for the reply.

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    I was just wondering if you could correlate spikes with access, access types, and specific IP address ranges.

    As you’re running a VPS, also look into tuning your database server:

    http://mysqltuner.com/

    This script is usually available through the major Linux OS repositories, so try yumming or apting.

    Also, if you’re running apache and not nginx, read up on tuning apache performance.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Sites suffering from large performance problems’ is closed to new replies.