High CPU usage and load average in our WordPress blog



Those who frequently visit our site are probably confused by now by the constant change of our blog theme. Until early this week, we were using Brian Gardner’s Revolution Theme which we got as a prize from McBilly‘s contest (thanks again, Mr. Blogger-turned-model!). But for more than three days now, we have been shifting back and forth to the WordPress Default Theme.

The move is meant to isolate the problem related to downtimes in the PMT blog caused by high CPU usage and load averages (see screenshot below). Whenever the CPU usage or the load average peaks, the website stalls because it cannot anymore handle queries.

High CPU usage and load average

By shifting to the Default Theme, we want to know: What’s causing the CPU usage and load average to spike? How can this be solved?

One thing we know, though, is that the spike occurs in the PMT Blog and not in the PMT Forum. Our internal stats also show that more resources are being eaten up by the blog.

Database tables are optimized at least once a week, so we’ve isolated that.

We also disabled some WordPress plugins that require major database queries, such as the Subscribe to Comments and WP-Users Online plugins.

For some reason, when we decided to use the WordPress Default Theme, the CPU usage and load average stats became manageable. That’s not to say, however, that the theme itself causes the spike.

Jaypee told us to look into the plugins associated with the Revolution Theme. Only two plugins come with it — Breadcrumb Navigation XT and Limit Posts plugins — but we don’t think they’re really causing the problem.

And yet everytime we use the Revolution Theme, the site starts to stall again and only after we revert to the Default Theme will the site return to normal. That explains why the blog is using the Default Theme for now.

Upgrading to a Dedicated Server might solve the problem, but we don’t think we’re ready for that yet.

Any other ideas what causes the WordPress blog to register high CPU usage and load averages? And what might be the possible solutions?

Any help is appreciated.

About the Author

PSEi support seen at 6,200 and 6,000 amid weaker Peso

In a not-so-surprising move, the U.S. Federal Reserve (Fed) yesterday raised interest rates by 75 basis points (bps) or 0.75% in a bid to tame rising inflation in the United States. This was the third consecutive 0.75% rate hike by the Fed, which brings the federal funds rate, the central bank’s benchmark interest rate, to ... Read more
blank

Official SWIFT Code of BDO, BPI, Metrobank, Philippine banks

When sending cash remittances or wire transfer to a bank account in the Philippines (such as BDO, BPI, Metrobank, Landbank, DBP, etc.), you’ll surely need the SWIFT Code of the bank. Look no further because you can find all the SWIFT Codes you need in this list! Make sure you’re using the right bank code ... Read more
blank

How to Waive your Credit Card Annual Fee (BDO, BPI, Metrobank, RCBC, Citibank, UnionBank)

Without a doubt, one of the most annoying fees that credit cardholders have to pay is the annual fee. Majority of cardholders are familiar with this fee and majority of us likely pay this grudgingly year after year after year. In the case of my credit card with BPI (Bank of the Philippine Islands), I’m ... Read more
blank

Why Filipinos do not become business owners or entrepreneurs

For a majority of Filipinos, entrepreneurship does not seem to be a typical, expected path. This is not surprising, considering that in school, students are primarily taught to become employees after graduation. Students train for years to become staff workers, reporting to a supervisor, and just waiting to receive their wages or salaries every month. ... Read more
blank

My experience investing in Mutual Funds in the Philippines

I started investing in mutual funds when I was 22 years old. As an Overseas Filipino Worker (OFW) then, I was fortunate to be able to save some money at that young age because of my work abroad. One time while I was on vacation in the Philippines, I saw a large billboard in EDSA ... Read more
blank

Income Tax Tables in the Philippines (2022)

The Philippines’ new tax reform bill, known as TRAIN or Tax Reform for Acceleration and Inclusion, was signed into law on December 19, 2017 and its implementation began on January 1, 2018. What are the new income tax rates under the TRAIN law? How will TRAIN affect income taxes of individuals and corporations? How is the ... Read more
blank

PSE Stocks Performance under each Philippine President (1987-2021)

Did you know that Philippine stocks were able to achieve an astounding growth of 800% in a span of 30 years? From 1987 until 2018, the Philippine Stock Exchange index (PSEi) rose from 1,000 points to a peak of 9,000 points — generating a return of 800% over 30 years. (The PSEi is an index ... Read more
blank

SSL 2022: Salary Increases for Teachers, Nurses, Gov’t Employees

Good news to all government employees! There’s a new round of salary increases beginning January 1, 2022! Millions of employees of the Philippine government — including public school teachers, nurses and staff of government hospitals, and workers in local and national government agencies, etc. — will be getting an automatic salary adjustment this 2022 under ... Read more
blank

PSE Trading Hours in 2022: What time open, when closed?

Before you take the plunge into stock trading and investing, make sure you understand what stocks are and how the Philippine Stock Exchange (PSE) operates. Unlike other investments that are relatively safe, stock trading is risky and loss of money is a possibility. So before you deep dive into the exciting world of stock trading, ... Read more

Price Floor and Price Ceiling of PSE Stocks

Trading bands in the PSE come in two forms: Price Ceiling, or the upper price limit, and Price Floor, or the lower price limit.

14 thoughts on “High CPU usage and load average in our WordPress blog”

  1. I definitely like the Revolution Theme better than the default; the latter is bland, short of saying its boring. When are you going to get back to the better theme? Anyways, Revolution or default – PMT still rocks!

    Reply
  2. It seems that you’ve isolated the cause and have fixed the issue since you’re back to using the Revolution theme. So what was it?

    Btw, thanks for the mention and link love. Have a good week! 😀

    Reply
  3. Hi, Jaypee, honestly, I still have not figured it out. I just decided to revert to the Revolution Theme and will monitor traffic fluctuations to see if and when the problem will be back. If you see the blog sporting the Default Theme again, that means I’m still looking into the problem.

    Reply
  4. i discovered PMT blog when it was still sporting the template before revolution and i found it easy to use. i think whats important is the contents and how easily it can be accessed.

    Reply
  5. james, alternatively, you could probably do it the other way around, i.e., try out the newspress themes (wordpress premium themes) or some other version of the revolution theme to determine whether it’s really the theme that’s causing it… if you want to try out and test some revolution themes you can grab some (for FREE) at a new blog which i created http://www.blogmonsterph.com..

    try to see which one fits pmt’s style or approximates the revolution theme you were using before, and maybe you’ll find out if its the theme that’s causing this high cpu usage… i wasn’t able to see which one you used because ngayon lang ulit ako nakadalaw sa blog mo… anyway, goodluck and keep pmt rockin’.

    Reply
  6. I’m just having exactly the same issue with revolution theme. have you found a good substitute? I like brian’s theme but I just might have to let that one go :/

    Reply
  7. Great to see research on this. We are seeing a problem w/ a Revolution-based website as well. Literally 100% cpu when the website is on, no visitors.

    Have you finally isolated the issue?

    Reply
  8. i wasget 3 host suspend my site, and im using wp super chance, and bsuite
    are its make this trouble too?

    Thanks
    .-= Download Area´s latest blog ..[S2M-006] Kou Minefuji – Encore Vol.6 =-.

    Reply

Leave a Comment