Skip to:
Content
Pages
Categories
Search
Top
Bottom

Urgent: My website consumes 100% CPU and I can not find out what is going wrong


  • jnpi
    Participant

    @jnpi

    Hello, forum!

    My case is rather urgent due to pressure from my hosting company.

    I have recently tested my website loading time with pingdom and to my surprise I found out that something goes terribly wrong. Most of times waiting time consumes 1/2 – 2/3 of total page load. In the sample URL (http://tools.pingdom.com/fpt/#!/JyyRTtw9l/http://altclass.com) you can see by yourself that 3.2s out of the 4.56s required for loading my website was consumed as waiting time.

    I decided to contact my hosting company and inform them of my issue. They checked their server and claimed that problem occurs only with my account since my website consumes 100% of available CPU. They also warned me that if this persists then my account will be suspended.

    In an attempt to help me solve the problem they suggested the following steps:

    a. Reduce the number of posts on the front page of my blog
    —– As you can see that is not a problem for my front page as it is kept as simple as possible without any images attached —–

    b. Install anti-spam plugins in order to prevent spam-bot from creating load on the server.
    —– I already run the free version of Anti-Splog —–

    c. Optimize my WordPress database.
    —– I have done so through my cPanle tool phpMyAdmin —–

    d. Install a caching plugin such as WP-Cache or WP Super Cache.
    —– I am not sure, but after having checked the W3 Total Cache plugin, I found out that no such plugin should be used until site development is completed – maybe referring only to css? My site is still under construction. —–

    e. Decrease the number of external and internal links on my pages and leave only the most important ones.
    —– You can check it out, but I believe that links on my pages are not that many. It is hard to believe that is the base of my problem. —–

    Lastly, they have insisted that I have to address this problem to WordPress so that experts check my website and find out what is going wrong in my case.

    I am using up-to-date WP-Multisite, BuddyPress, s2Member and bbPress to ensure compatibility. I have never placed a hand on parent files, other than wp-config.php to enable subdomains and debug-mode. Instead I have created a child theme which I have testes with W3 XHTML validator (still 4 errors that I do not know how to fix) and Theme-Check plugin (everything looks fine).

    Can someone please help me with this case? I can not afford getting my hosting account suspended and I am not sure if my hosting company is speaking truth or they are taking advantage of my inexperience.

    My website is

    http://altclass.com

    Thank you in advance for any support. I have also let WordPress know of my issue, since I am not sure how I should proceed…

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

  • jnpi
    Participant

    @jnpi


    maineyak
    Participant

    @maineyak

    Run your site through cloudflare, I just set my sites up through it, takes 5 minutes, and makes a world of difference.
    http://www.cloudflare.com

    I did a speed test of your site at http://gtmetrix.com, they give it 94% speed grade, but your yslow numbers could come up. Maybe you have a crappy hosting provider, I don’t see anything out of the norm.


    jnpi
    Participant

    @jnpi

    Thank you for your quick response. My hosting company is Jaguar PC.


    monkfish13
    Participant

    @monkfish13

    Hi,

    I am not an expert by any means, but this sounds like your host can;t be bothered to help you sort out the problem – i would change hosts.

    I have had issues like this in the past with server hosts, and upon threatening to leave, they have helped sort out the issue, which has always been at their end and nothing to do with the software.

    I doubt it would be wordpress or the other software you have installed that is causing the issue…think of the amount of sites that use this software…they aren’t going wrong.

    Do you have access to your WHM or server control panel ?

    If you do, then there is information in there that you can acquire that will help you.

    You should be able to see your servers status – which will tell you about the health of the systems resources.

    You should also be able to access the server process manager – which will indicate what actions are using those resources.

    Note down anything that has high figures and then use that data to approach your host and get them to help you.

    !! DON’T TRY AND ALTER ANYTHING YOURSELF UNLESS YOU KNOW WHAT YOU ARE DOING !!

    As your service provider, your host should be able figure out what is causing the problems, but I have come across some very awkward hosts in the past when trying to figure out an issue.

    If they are unwilling to help, I would be suspicious of their actions and find a different host, after all you are paying them for the service.


    shanebp
    Moderator

    @shanebp

    You don’t say which Jaguar plan you have.
    If it’s just webhosting, then you’re hitting a resource limit.
    Most simple plans have a very low resource limit.
    And WP + BP needs more resources than most simple sites.
    ( Any page requires a lot of database calls. Your wait time is probably due to waiting for the database to respond. Jaguar is not going to reconfigure their database setup for shared hosting. )

    Re cache plugin – they would help but not enough to solve the problem.

    You’re experiencing these problems without any user load, iow. your site is in production.
    As soon as you add any server load, the problems will magnify.

    I wouldn’t waste any more time with Jaguar.
    Start shopping for new hosting asap.
    And accept that you’ll need to upgrade from any hosting plan that charges ~$10 a month as soon as your site has more than 25 users – if you want the users to have decent loadtimes.

    note: if you have a different plan with Jaquar then the performance and their response is even more damning. Move !


    jnpi
    Participant

    @jnpi

    Thank you all for your immediate response. It is nice to know I am not alone in this. 🙂

    I have the shared hosting plan, which is slightly more expensive in comparison with other hosting services, but I thought I should go with them as long as I have found no negative reviews about this provider.

    I am not sure if I have access to server stats, but I have been given these numbers from the hosting company. No sure what these mean though…

    ========================
    16833 myusername 18 0 70116 53m 6876 R 31.9 1.3 0:00.96 /usr/bin/php /home/myusername/public_html/index.php
    16836 myusername 17 0 39348 23m 6588 S 8.3 0.6 0:00.25 /usr/bin/php /home/myusername/public_html/wp-admin/admin-ajax.php
    16838 myusername 17 0 34856 18m 6464 R 6.0 0.5 0:00.18 /usr/bin/php /home/myusername/public_html/index.php
    16839 myusername 17 0 33832 18m 6480 R 5.3 0.4 0:00.16 /usr/bin/php /home/myusername/public_html/index.php
    16868 myusername 16 0 64992 48m 6676 R 25.9 1.2 0:00.78 /usr/bin/php /home/myusername/public_html/index.php
    17102 myusername 24 0 60680 44m 6676 R 22.3 1.1 0:00.67 /usr/bin/php /home/myusername/public_html/index.php
    17089 myusername 16 0 50404 34m 6640 R 15.3 0.8 0:00.46 /usr/bin/php /home/myusername/public_html/index.php
    17104 myusername 17 0 39584 23m 6752 R 8.6 0.6 0:00.26 /usr/bin/php /home/myusername/public_html/wp-content/plugins/s2member/s2mem
    17093 myusername 18 0 39068 23m 6604 S 8.3 0.6 0:00.25 /usr/bin/php /home/myusername/public_html/index.php
    17094 myusername 18 0 39068 23m 6592 S 8.3 0.6 0:00.25 /usr/bin/php /home/myusername/public_html/index.php
    17099 myusername 15 0 39068 23m 6588 S 8.0 0.6 0:00.24 /usr/bin/php /home/myusername/public_html/index.php
    17348 myusername 16 0 61492 45m 6676 R 23.3 1.1 0:00.70 /usr/bin/php /home/myusername/public_html/index.php
    17345 myusername 15 0 39068 23m 6592 S 8.3 0.6 0:00.25 /usr/bin/php /home/myusername/public_html/index.php
    17349 myusername 15 0 39068 23m 6592 S 8.3 0.6 0:00.25 /usr/bin/php /home/myusername/public_html/index.php
    17362 myusername 18 0 39068 23m 6592 S 8.3 0.6 0:00.25 /usr/bin/php /home/myusername/public_html/index.php
    17358 myusername 15 0 39068 23m 6604 S 8.0 0.6 0:00.24 /usr/bin/php /home/myusername/public_html/index.php
    17360 myusername 16 0 39068 23m 6588 S 8.0 0.6 0:00.24 /usr/bin/php /home/myusername/public_html/index.php
    17364 myusername 16 0 39068 23m 6588 S 8.0 0.6 0:00.24 /usr/bin/php /home/myusername/public_html/index.php

    | 1415656 | mydatabase | localhost | mydatabase | Sleep | 4 | | |
    | 1415657 | mydatabase | localhost | mydatabase | Sleep | 4 | | |
    | 1415658 | mydatabase | localhost | mydatabase | Sleep | 3 | | |
    | 1415660 | mydatabase | localhost | mydatabase | Sleep | 3 | | |
    | 1415661 | mydatabase | localhost | mydatabase | Sleep | 3 | | |
    | 1415663 | mydatabase | localhost | mydatabase | Sleep | 2 | | |
    | 1415664 | mydatabase | localhost | mydatabase | Sleep | 2 | | |
    | 1415666 | mydatabase | localhost | mydatabase | Sleep | 2 | | |
    | 1415668 | mydatabase | localhost | mydatabase | Sleep | 2 | | |
    | 1415707 | mydatabase | localhost | mydatabase | Sleep | 0 | | |
    | 1415709 | mydatabase | localhost | mydatabase | Sleep | 2 | | |
    | 1415710 | mydatabase | localhost | mydatabase | Sleep | 2 | | |
    | 1415712 | mydatabase | localhost | mydatabase | Sleep | 2 | | |
    | 1415713 | mydatabase | localhost | mydatabase | Sleep | 2 | | |
    | 1415714 | mydatabase | localhost | mydatabase | Sleep | 1 |
    ====================

    Once again, I wish to thank you for working with me on this. I was quite desperate until I received your response.


    jnpi
    Participant

    @jnpi

    Update:

    As suggested from WordPress I deactivated all plugins and used only the Twenty Eleven theme.

    This is what I’ve got from pingdom.

    http://tools.pingdom.com/fpt/#!/qG7ENwOJN/http://altclass.com

    Waiting time is 730ms out of 930 ms needed to load my page.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Urgent: My website consumes 100% CPU and I can not find out what is going wrong’ is closed to new replies.
Skip to toolbar