‘CPU Exceeded errors’ on WordPress

If your WordPress.org blog is getting CPU Exceeded errors, like mine was, there’s a number of things you can try.

Cut down the number of plugins you’re using. Some of them assume the blog runs on a dedicated server, and most blogs don’t. WordPress.com stats can slow things down. The Google Sitemaps plugin slowed my system to a crawl. so I had to de-install it.

Put this in your wp-config.php file:

define( ‘ENABLE_CACHE’, true );

It’ll speed things up.

If you have PHPAdmin, optimize the tables. Select the database. Overhead is shown in the last column. Select tables showing overhead then use the drop down box and select optimize.

Install the WP-Cache plugin.

Check your log files to see where the hits are coming from. Maybe it’s an attack and you need to ban an ip address. Or maybe it’s something weird. My logs showed repeated errors because rss.xml wasn’t there. But WordPress doesn’t have an rss.xml. So, I put an empty rss.xml in the homedir, and the errors stopped.

Upgrade your hosting account.

This entry was posted in None. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s