High CPU & Memory Spikes?

I randomly get high spikes in CPU and Memory. I have deactivated nearly all plugins trying to find the culprit. I have been turning on a few at a time then waiting 30 minutes to see how if the server says it is okay. Which it always does. I didn’t touch it for 3 hours tonight and when I returned I realized that my VPS randomly spiked at around 8PM and 9PM. But from 6PM-8PM no issues and from 930PM-1230AM no problems. It says my issue is with index.php.

This randomly started on the 26th. No new plugins, no script change, no difference at all.

Read More

How do I figure out what the issue is?

More Info:
I have two wordpress installations on my VPS. One of which is my main site that me and about 3 other people write on and the other is kind of like a picture site where you submit pictures and I approve them and they get posted. I have about 330 people on that site. The subdomain (picture site) is the one I am having issues with. It is not the theme index file that is causing the problem but the WP index file. Between the two websites I get about 500k views a month (more on the main site than the picture site)

Server info:

  • Disk Space: 100gb
  • Memory: 2GB
  • Burst: 2GB
  • Bandwidth: 1.5tb
  • OS: CentOS 5.5 with Cpanel
  • IP: 2
  • Proccessor info:

    • 8 proccessors
    • GenuineIntel
    • Intel Core i7 CPU 870 @29.93 GHz
    • Speed: 2933.46 MHz
    • Cache: 8192kb

Plugins (Currently activated)

  • Advanced Random Posts,
  • bbpress integration,
  • Custom Post Templates,
  • GD Custom Posts and Taxonomies Tools,
  • GD Star Rating,
  • Gravity Forms,
  • Members,
  • Ultimate Category Excluder,
  • WordPress.com Stats,
  • WP-Paginate,
  • WP-PostRatings,
  • WP-PostViews,

On that note, all of these and others were turned on and worked just fine. Then all of a sudden it went to heck. All plugins are updated and I have the most recent wordpress.

Related posts

Leave a Reply

1 comment

  1. I think I found what the problem was. WP-Postviews. I deactivated the plugin and removed all code from it on the site and now everything is running smoothly (at least for the last 3 hours).