hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Web Hosting : High Wordpress CPU Usage, probably due to plugins?
Reply

Forum Jump

High Wordpress CPU Usage, probably due to plugins?

Reply Post New Thread In Web Hosting Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old
Newbie
 
Join Date: Jul 2012
Posts: 6

High Wordpress CPU Usage, probably due to plugins?


Hi Guys,

First post here but I'm hoping you all can help me solve the problem that is literally ruining my sites productivity (you know, because my web hosting service has limited access to the site for everyone but me due to high CPU usages).

I'll post what they told me:


In order to prevent server overload, the source of the high load has to be isolated so that it cannot affect the overall server performance. This is a standard procedure used by all shared hosting providers.

We have conducted a thorough investigation which showed that one of your scripts loops and spawns too many processes. The script that loops (i.e. references itself) is:

techin5.com/wp-content/themes/index.php

For additional information please review the server logs below:

77.240.0.145 - - [13/Jul/2012:01:12:28 -0500] "GET /tag/interview/ HTTP/1.1" 200 49945 "-" "Mozilla/5.0 (Windows NT 6.0) AppleWebKit/535.7 (KHTML, like Gecko) Chrome/16.0.912.75 Safari/535.7"
184.154.233.15 - - [13/Jul/2012:01:12:28 -0500] "GET /wp-content/themes/index.php HTTP/1.1" 200 5 "-" "PHP/5.2.17"
87.237.60.34 - - [13/Jul/2012:01:12:28 -0500] "GET /2011/06/21/ HTTP/1.1" 200 48484 "-" "Mozilla/5.0 (Windows NT 6.0) AppleWebKit/535.7 (KHTML, like Gecko) Chrome/16.0.912.75 Safari/535.7"
188.65.176.178 - - [13/Jul/2012:01:12:28 -0500] "GET /tag/battlefield-3/ HTTP/1.1" 200 59087 "-" "Mozilla/5.0 (Windows NT 6.0) AppleWebKit/535.7 (KHTML, like Gecko) Chrome/16.0.912.75 Safari/535.7"
87.237.60.34 - - [13/Jul/2012:01:12:28 -0500] "GET /2011/06/24/ HTTP/1.1" 200 48339 "-" "Mozilla/5.0 (Windows NT 6.0) AppleWebKit/535.7 (KHTML, like Gecko) Chrome/16.0.912.75 Safari/535.7"
77.240.0.145 - - [13/Jul/2012:01:12:28 -0500] "GET /2011/06/27/ HTTP/1.1" 200 48411 "-" "Mozilla/5.0 (Windows NT 6.0) AppleWebKit/535.7 (KHTML, like Gecko) Chrome/16.0.912.75 Safari/535.7"
88.208.222.90 - - [13/Jul/2012:01:12:28 -0500] "GET /tag/call-of-duty/ HTTP/1.1" 200 55136 "-" "Mozilla/5.0 (Windows NT 6.0) AppleWebKit/535.7 (KHTML, like Gecko) Chrome/16.0.912.75 Safari/535.7"
77.240.0.145 - - [13/Jul/2012:01:12:28 -0500] "GET /2011/06/26/ HTTP/1.1" 200 48505 "-" "Mozilla/5.0 (Windows NT 6.0) AppleWebKit/535.7 (KHTML, like Gecko) Chrome/16.0.912.75 Safari/535.7"
188.65.176.178 - - [13/Jul/2012:01:12:28 -0500] "GET /tag/expansion/ HTTP/1.1" 200 46179 "-" "Mozilla/5.0 (Windows NT 6.0) AppleWebKit/535.7 (KHTML, like Gecko) Chrome/16.0.912.75 Safari/535.7"
188.65.176.178 - - [13/Jul/2012:01:12:28 -0500] "GET /tag/bf3/ HTTP/1.1" 200 55438 "-" "Mozilla/5.0 (Windows NT 6.0) AppleWebKit/535.7 (KHTML, like Gecko) Chrome/16.0.912.75 Safari/535.7"

184.154.233.15 - - [13/Jul/2012:01:12:29 -0500] "GET /wp-content/themes/index.php HTTP/1.1" 200 5 "-" "PHP/5.2.17"
184.154.233.15 - - [13/Jul/2012:01:12:29 -0500] "GET /wp-content/themes/index.php HTTP/1.1" 200 5 "-" "PHP/5.2.17"
184.154.233.15 - - [13/Jul/2012:01:12:29 -0500] "GET /wp-content/themes/index.php HTTP/1.1" 200 5 "-" "PHP/5.2.17"
184.154.233.15 - - [13/Jul/2012:01:12:29 -0500] "GET /wp-content/themes/index.php HTTP/1.1" 200 5 "-" "PHP/5.2.17"
188.65.176.178 - - [13/Jul/2012:01:12:29 -0500] "GET /tag/cod/ HTTP/1.1" 200 51528 "-" "Mozilla/5.0 (Windows NT 6.0) AppleWebKit/535.7 (KHTML, like Gecko) Chrome/16.0.912.75 Safari/535.7"
184.154.233.15 - - [13/Jul/2012:01:12:29 -0500] "GET /wp-content/themes/index.php HTTP/1.1" 200 5 "-" "PHP/5.2.17"
188.65.176.178 - - [13/Jul/2012:01:12:29 -0500] "GET /tag/expansion-pack/ HTTP/1.1" 200 46209 "-" "Mozilla/5.0 (Windows NT 6.0) AppleWebKit/535.7 (KHTML, like Gecko) Chrome/16.0.912.75 Safari/535.7"
184.154.233.15 - - [13/Jul/2012:01:12:29 -0500] "GET /wp-content/themes/index.php HTTP/1.1" 200 5 "-" "PHP/5.2.17"
184.154.233.15 - - [13/Jul/2012:01:12:29 -0500] "GET /wp-content/themes/index.php HTTP/1.1" 200 5 "-" "PHP/5.2.17"


A looping script can be a quite complex problem. It may be caused by an additionally installed extension/module that is not working properly, or it may be in the application itself.


So, now that we've determined (host and myself) that it's a plugin issue (after renaming the Plugins folder to anotehr name to disable them). However, at one point I manually (through the wordpress plugins menu) deactivated plugins 5 at a time to see what the issue was, and the issue still cropped up.

So I disabled all plugins and the issue came back. Maybe someone can help me pin point the rogue(rogues?) plugins.

List of plugins:
All in One SEO Pack
AntiVirus
BulletProof Security
Disqus Comment System
Easy Review Builder
Fast Secure Contact Form
Google XML Sitemaps
hitcounter
Login LockDown
Polldaddy Polls & Ratings
Secure WordPress
Social Metrics
Social Slider by ARScode
UberMenu
W3 Total Cache
Wordbooker
WP-PageNavi
WP to Twitter

I've currently disabled most of them to check slowly which could be the issue. I've heard all in one SEO is a poorly written plugin, and I've deactivated to see if that's the issue.. but if someone sees another plugin not worthy of an activation, let me know.

Currently the issue is still prominent, with the following plugins active:

AntiVirus
BulletProof Security
Disqus Comment System
Easy Review Builder
Fast Secure Contact Form
Official StatCounter Plugin
UberMenu (Paid plugin)



Sponsored Links
  #2  
Old
WHT Addict
 
Join Date: Jun 2003
Posts: 120
In order to find "problematic" plugin I advise you to disable them one by one and ask your host to check resource usage
Also I advise you to check plugins review, maybe one (or few) is consuming an excessive amount of resources
As an additional reason you can ask your host to check plugin folder via some malware detect application like maldet

BTW: log showed before seems to be Apache access_log, but in order to get closer to the problem it would be better to ask them for providing Apache error_log and check your own error_log which usually locates in the wordpress document root folder

__________________
MyIdealHost.com Best quality web hosting


Last edited by myidealhost; 07-24-2012 at 08:27 AM. Reason: btw
  #3  
Old
Web Hosting Master
 
Join Date: Oct 2001
Location: Ohio
Posts: 8,028
Does your host have phone support? The easiest way to troubleshoot this may be to give them a call and have them monitor things while you disable plugins. I will say out of the active plugins, the only ones I have not used are AntiVirus, Bulletproof Security, Easy Review Builder, and Ubermenu so I'm inclined to believe that it may be one of those 4.

__________________
Terry Myers
Campaign & Social Media Manager @ OnApp.com

OnApp - Automate Everything, Everywhere.

Interested in OnApp? Give it a try with our 24 hour demo.

Sponsored Links
  #4  
Old
Web Hosting Master
 
Join Date: Jan 2010
Location: USA
Posts: 2,115
All in One SEO Pack is a notorious waste of resources.

I would leave W3 Total Cache enabled. The W3 Total Cache pluggin actually reduces the CPU usage and speeds up your site.

__________________
No Support Linux Hosting Bargain cPanel Hosting Experts Only
We IGNORE the support questions, and pass the SAVINGS on to YOU!
We also ignore questions about VPS Hosting

  #5  
Old
Web Hosting Master
 
Join Date: Apr 2001
Location: Paradise
Posts: 11,581
All in One SEO Pack is a garbage, remove it and you'll already see the difference.

__________________
Shared Web Hosting - Reseller Hosting - Semi-Dedicated Servers - SolusVM/XEN VPS
LiteSpeed Powered - R1Soft Continuous Data Protection - 24/7 Chat/Email/Helpdesk Support
Cpanel/WHM - Softaculous - R1soft Backup - Litespeed - Cloudlinux -Site Builder- SSH support - Account Migration
DowntownHost LLC - In Business since 2001- West/Center/East USA - Netherlands - Singapore

  #6  
Old
Web Hosting Master
 
Join Date: Oct 2001
Location: Ohio
Posts: 8,028
As a general side note, I do definitely prefer the Wordpress SEO plugin from Joost de Valk.

__________________
Terry Myers
Campaign & Social Media Manager @ OnApp.com

OnApp - Automate Everything, Everywhere.

Interested in OnApp? Give it a try with our 24 hour demo.

  #7  
Old
Web Hosting Master
 
Join Date: Mar 2005
Location: Ten1/0/2
Posts: 2,412
There are ways and means of you doing a little bit of work yourself to determine what is going in within Wordpress.

You can disable all of the plugins, profile the resource usage then enable them one at a time and monitor the increase in resources. If you have a little bit of know-how with Wordpress this is quite easy to do and not dependent on having your host online with you while you do it.

It is probably best to work with your host so they know what you are doing since you are causing resource issues.

__________________
CPanel Shared and Reseller Hosting, OpenVZ VPS Hosting. West Coast (LA) Servers and Nodes
Running Linux since 1.0.8 Kernel!
Providing Internet Services since 1995 and Hosting Since 2004


  #8  
Old
Temporarily Suspended
 
Join Date: Oct 2003
Location: Hanoi
Posts: 4,306
P3 plugin will help sometimes to find out which plugin is using most resources.

  #9  
Old
Web Hosting Master
 
Join Date: Mar 2005
Location: Ten1/0/2
Posts: 2,412
you don't need to install another plugin to find the bad plugins, you need to know what is going on within WP to correctly identify what is using the resources.

__________________
CPanel Shared and Reseller Hosting, OpenVZ VPS Hosting. West Coast (LA) Servers and Nodes
Running Linux since 1.0.8 Kernel!
Providing Internet Services since 1995 and Hosting Since 2004


  #10  
Old
Newbie
 
Join Date: Jul 2012
Posts: 6
P3 shows this - twitpic.com/ab9ej6 (not allowed to post links so copy paste)

Not really much of discovery. I've removed P3 now. I'll certainly be removing All in one SEO soon. However, my host server won't help me anymore, they say this is the 3rd instance (it's the same issue thats occured 3 times in the last few days, so dunno how to get them to help. They want me to go dedicated servers.. so I may change host servers)

  #11  
Old
Newbie
 
Join Date: Jul 2012
Posts: 6
May I suggest no one EVER use Siteground as their hosting service. They've been nothing but useless in helping in this issue. I'm moving away from them.

  #12  
Old
Temporarily Suspended
 
Join Date: Oct 2003
Location: Hanoi
Posts: 4,306
Quote:
Originally Posted by jubbing View Post
However, my host server won't help me anymore, they say this is the 3rd instance (it's the same issue thats occured 3 times in the last few days, so dunno how to get them to help. They want me to go dedicated servers.. so I may change host servers)
That's usually issues with unlimited-offer hosts. You should consider what you need, and find a better host with a real allocation.

  #13  
Old
Where Thought and Time Collide
 
Join Date: Apr 2011
Location: Toronto, ON
Posts: 5,274
Change your theme, you probably have exploited codes in theme (techin5.com/wp-content/themes/index.php)

If you disabled all your plugins and nothing worked, then...

1. your theme is the issue, possibly exploited. Was it free? Have you looked at the theme code?

2. The hosting node your account is on could have an abuser. No matter what optimization, tweak, redesign that you do, if your hosting neighbour is using up all the resources, your account will suffer...and WordPress is sensitive to that

__________________
██ 48-14 Servers & VPS for 2013, Coming Soon!
██ Specialized in WordPress Hosting & Security Since 2006
██LiteSpeed Reliable Secure 99% Uptime Guarantee Softaculous Daily Backups
██ Email: sales [@] 48-14 .com Twitter: @4814

  #14  
Old
Where Thought and Time Collide
 
Join Date: Apr 2011
Location: Toronto, ON
Posts: 5,274
Quote:
Originally Posted by IGobyTerry View Post
As a general side note, I do definitely prefer the Wordpress SEO plugin from Joost de Valk.
I second that too. The All in One will add to your sites load.

  #15  
Old
Where Thought and Time Collide
 
Join Date: Apr 2011
Location: Toronto, ON
Posts: 5,274
Quote:
Originally Posted by jubbing View Post
However, my host server won't help me anymore, they say this is the 3rd instance (it's the same issue thats occured 3 times in the last few days, so dunno how to get them to help. They want me to go dedicated servers.. so I may change host servers)
That is usually the game plan for most unlimited hosts. Sell cheap hosting until you use up the resources, and then offer a huge jump to dedicated, completely over-looking some of the obvious solutions.

1. How much traffic do you have?

2. A Wordpress site can still stay on shared with a good host. Then your next step is to either have the host create a package for your needs, or go to a VPS...which can last you for a while before going to dedicated.

__________________
██ 48-14 Servers & VPS for 2013, Coming Soon!
██ Specialized in WordPress Hosting & Security Since 2006
██LiteSpeed Reliable Secure 99% Uptime Guarantee Softaculous Daily Backups
██ Email: sales [@] 48-14 .com Twitter: @4814

Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
Wordpress - High CPU usage ? HostUS - Alexander Web Hosting 23 05-24-2012 06:02 AM
Wordpress index.php HIGH CPU USAGE Dammion Web Hosting 50 05-24-2012 04:06 AM
My wordpress blog is causing high cpu usage due to admin-ajax.php, what to do? waqyum Web Hosting 26 11-24-2010 07:16 PM
Wordpress Plugin causing high CPU usage waqyum Web Hosting 17 02-05-2010 10:31 AM
May server crash due to High Load with low CPU and RAM usage? Driimer Hosting Security and Technology 9 10-29-2009 12:13 PM

Related posts from TheWhir.com
Title Type Date Posted
Automattic Acquires BruteProtect to Block WordPress Brute Force Attacks Web Hosting News 2014-08-26 15:53:37
WPTouch WordPress Plugin Vulnerability Allows Non-Admins to Take Over Website Web Hosting News 2014-07-14 16:17:19
Parallels Simplifies WordPress Management and Security with Parallels Plesk 12 Web Hosting News 2014-06-26 16:50:35
Media Temple, Pagely Introduce New Features to WordPress Hosting Plans Web Hosting News 2014-05-09 15:42:13
DreamHost Launches Managed WordPress Service DreamPress Web Hosting News 2013-06-04 11:44:33


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:
WHT Membership
WHT Membership



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?