All Good Things Must Come To An End

As you all know, I have been doing WordPress plugins and supporting it for the past 6 years. These 6 years of my life, I have been through my polytechnic education, my national service as well as my university education.

I just graduated from university in December 2009 and have been looking for full-time jobs. I am offered a full-time job and will be starting work on 1st February 2010.

I regret to say that I am NOT ABLE to provide support for my plugins anymore due to my full-time job commitment. I will leave this forum open and let the community help one another.

However, I WILL still update my plugins whenever I can and you still can report bugs to me via email and I will try to fix it.

Author Topic: Postviews causing CPU overload?  (Read 4621 times)

0 Members and 1 Guest are viewing this topic.

Offline multiplex77

  • Newbie
  • *
  • Posts: 5
    • View Profile
Postviews causing CPU overload?
« on: 19 August 2008, 17:52 »
Hi,

My website recently got suspended because my web host claims I overloaded their CPU.

mysql_slow_queries log kept showing a line like this:

# Tue Aug 19 00:07:45 2008
# Query_time: 10  Lock_time: 0  Rows_sent: 0  Rows_examined: 0
use theonlj8_DB01;
UPDATE wp_postmeta SET `meta_value` = '1219126055' WHERE meta_key = '_edit_lock' AND post_id = '1016' LIMIT 1

Is this anything to do with WP-Postviews? If so, what can I do to fix it? (I"ve already upgraded to the latest version.)

Offline GaMerZ

  • lesterchan.net
  • Administrator
  • *****
  • Posts: 11,691
    • View Profile
  • WordPress Version: WordPress 3.0.x
  • Theme Name: lesterchan.net v3.4
Re: Postviews causing CPU overload?
« Reply #1 on: 19 August 2008, 17:54 »
That has nothing to do with wp-postviews, but I would say time to change your host. They are basically squeezing thousand over sites into 1 server and overselling.

++ lesterchan.net - Lester Chan's Website

I regret to say that I am not able to provide support for my plugins anymore due to my full-time job commitment. I will leave this forum open and let the community help one another.

Offline multiplex77

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: Postviews causing CPU overload?
« Reply #2 on: 19 August 2008, 18:00 »
Ok thanks much, Lester.

Offline GaMerZ

  • lesterchan.net
  • Administrator
  • *****
  • Posts: 11,691
    • View Profile
  • WordPress Version: WordPress 3.0.x
  • Theme Name: lesterchan.net v3.4
Re: Postviews causing CPU overload?
« Reply #3 on: 19 August 2008, 18:06 »
No problem, there are quite a few topics on it, http://wordpress.org/search/slow+queries?forums=1

++ lesterchan.net - Lester Chan's Website

I regret to say that I am not able to provide support for my plugins anymore due to my full-time job commitment. I will leave this forum open and let the community help one another.

Offline drawab

  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: Postviews causing CPU overload?
« Reply #4 on: 23 January 2009, 20:22 »
I too have been having this CPU overload problem -

This month my site http://teeth.com.pk/blog being hosted on a MediaTemple Grid Server package clocked in 122 GPU minutes for the month - accounting for 11.3% of all usage. 

Though I cant blame it entirely for my overload but it sure is significant. 

Sharing with you this months GPU report  'name' '%-age' & 'Total GPU minutes'

GET teeth.com.pk/blog/wp-content/plugins/wp-postviews/wp-postviews.php 11.34%    122.9833
GET    teeth.com.pk/blog/feed  10.24%    111.0115
GET    teeth.com.pk/blog/     4.23%    45.8763
GET    teeth.com.pk/blog/feed/   2.45%    26.5168

Offline GaMerZ

  • lesterchan.net
  • Administrator
  • *****
  • Posts: 11,691
    • View Profile
  • WordPress Version: WordPress 3.0.x
  • Theme Name: lesterchan.net v3.4
Re: Postviews causing CPU overload?
« Reply #5 on: 24 January 2009, 04:49 »
Are you using WP-SuperCache? Because by default, WP-PostViews will not be called, WP-SuperCache requires the updating of post views count to be done by AJAX and hence the load.

++ lesterchan.net - Lester Chan's Website

I regret to say that I am not able to provide support for my plugins anymore due to my full-time job commitment. I will leave this forum open and let the community help one another.

Offline iceq

  • Newbie
  • *
  • Posts: 25
    • View Profile
Re: Postviews causing CPU overload?
« Reply #6 on: 26 January 2009, 10:49 »
Hey GamerZ .

Are u saying that we shouldnt use WP-SuperCashe with Wp Post views ?

I am using Ajaxed Wordpress and WP SuperCashe with Wp Post Views... is there a problem in that  ???

btw, I didnt notice any change afer installing super cashe .. did I misconfigure it or maybe expect too much from it ?
will I lose anything if I uninstall it ?

THANX !

Offline GaMerZ

  • lesterchan.net
  • Administrator
  • *****
  • Posts: 11,691
    • View Profile
  • WordPress Version: WordPress 3.0.x
  • Theme Name: lesterchan.net v3.4
Re: Postviews causing CPU overload?
« Reply #7 on: 26 January 2009, 13:58 »
Technically, if you are on high traffic site that requires caching, I would not recommend you using any front end plugins at all. Because either they don't work or they need to use AJAX and JS to keep the site updated with the latest information from the plugin.

Perhaps you can consider virtual private server (VPS) if you are on high traffic site, it will be much better.

++ lesterchan.net - Lester Chan's Website

I regret to say that I am not able to provide support for my plugins anymore due to my full-time job commitment. I will leave this forum open and let the community help one another.

Offline iceq

  • Newbie
  • *
  • Posts: 25
    • View Profile
Re: Postviews causing CPU overload?
« Reply #8 on: 26 January 2009, 14:24 »
Excuse my slow comprehension;

So is cashing better for high traffic sites and not good for low traffic sites ? And what do u mean by front end plugins ? Is psotviews a front end plugin, or is Ajaxed WP a front end plugin ?

And what if "they need to use AJAX and JS to keep the site updated with the latest information from the plugin" ?? And what plugin are you referring to here ?

I know that my questions can be irritative, but am really confused and I wish you answer my Questions the simplest way U can..
 do I benefit from WP supercashe ?
Does Supercashe conflict with Ajaxed WP ?
And does Post views work okay if these two are installed and activated, or should I disable one of them , and which one of them ?

THANX

Offline GaMerZ

  • lesterchan.net
  • Administrator
  • *****
  • Posts: 11,691
    • View Profile
  • WordPress Version: WordPress 3.0.x
  • Theme Name: lesterchan.net v3.4
Re: Postviews causing CPU overload?
« Reply #9 on: 26 January 2009, 14:49 »
1. PostViews is a frontend plugin.
2. Plugins like my WP-Polls, Wp-PostRatings and WP-PostViews
3. I have no idea
4. You need to test it yourself. I don't normally test my plugins against others because of the lack of time and they are just too many plugins out there.

++ lesterchan.net - Lester Chan's Website

I regret to say that I am not able to provide support for my plugins anymore due to my full-time job commitment. I will leave this forum open and let the community help one another.

Offline iceq

  • Newbie
  • *
  • Posts: 25
    • View Profile
Re: Postviews causing CPU overload?
« Reply #10 on: 27 January 2009, 20:55 »
Okay Thanx for everything ..