Page 1 of 2 12 LastLast
Results 1 to 15 of 24
  1. #1

    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)

  2. #2
    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
    Last edited by myidealhost; 07-24-2012 at 08:27 AM. Reason: btw
    MyIdealHost.com Best quality web hosting

  3. #3
    Join Date
    Oct 2001
    Location
    Ohio
    Posts
    8,079
    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

    The World's Best Clouds Run on OnApp.

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

  4. #4
    Join Date
    Jan 2010
    Location
    USA
    Posts
    2,147
    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. #5
    Join Date
    Apr 2001
    Location
    Paradise
    Posts
    11,641
    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. #6
    Join Date
    Oct 2001
    Location
    Ohio
    Posts
    8,079
    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

    The World's Best Clouds Run on OnApp.

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

  7. #7
    Join Date
    Mar 2005
    Location
    Ten1/0/2
    Posts
    2,504
    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. #8
    Join Date
    Oct 2003
    Location
    Hanoi
    Posts
    4,306
    P3 plugin will help sometimes to find out which plugin is using most resources.

  9. #9
    Join Date
    Mar 2005
    Location
    Ten1/0/2
    Posts
    2,504
    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. #10
    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. #11
    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. #12
    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. #13
    Join Date
    Apr 2011
    Location
    Toronto, ON
    Posts
    6,254
    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. #14
    Join Date
    Apr 2011
    Location
    Toronto, ON
    Posts
    6,254
    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. #15
    Join Date
    Apr 2011
    Location
    Toronto, ON
    Posts
    6,254
    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

Page 1 of 2 12 LastLast

Similar Threads

  1. Wordpress - High CPU usage ?
    By HostUS - Alexander in forum Web Hosting
    Replies: 23
    Last Post: 05-24-2012, 06:02 AM
  2. Wordpress index.php HIGH CPU USAGE
    By Dammion in forum Web Hosting
    Replies: 50
    Last Post: 05-24-2012, 04:06 AM
  3. Replies: 26
    Last Post: 11-24-2010, 07:16 PM
  4. Wordpress Plugin causing high CPU usage
    By waqyum in forum Web Hosting
    Replies: 17
    Last Post: 02-05-2010, 10:31 AM
  5. May server crash due to High Load with low CPU and RAM usage?
    By Driimer in forum Hosting Security and Technology
    Replies: 9
    Last Post: 10-29-2009, 12:13 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •