WordPress.org

Ready to get started?Download WordPress

Forums

Top 10 - Popular posts plugin for WordPress
[resolved] TOP 10 Issue (6 posts)

  1. dbots540
    Member
    Posted 1 year ago #

    Hi Ajay,

    Love your plugin and we use it with our site at http://www.soccerwithoutlimits.com but we've recently gotten emails from our web-server saying we are going well beyond our allocated server space because of this file:

    top-10-addcount.js.php

    Is it because we have a a good bit of traffic coming to the blog? We have about 150,000 visits a month. We have had to pay quite a big chunk of change b/c our overages - I don't want to get rid of the plugin obviously so just seeing what options we had.

    Best,
    Danny

    http://wordpress.org/extend/plugins/top-10/

  2. Ajay
    Member
    Plugin Author

    Posted 1 year ago #

    dbots, am not sure what you mean by server space? Do they mean RAM or CPU?

    I've been testing a "lighter" option to the file above that loads a reduced WordPress environment. I've noticed a mixed behaviour, but I suggest you can give this a shot.

    1. Backup your database and your blog first
    2. Edit top-10-addcount.js.php to include this line:

    define('SHORTINIT', true);

    just before

    if (!function_exists('add_action')) {

  3. dbots540
    Member
    Posted 1 year ago #

    Sorry Ajay - basically Media Temple distributes 2000 GPU's (arbitrary unit) for each registered domain. Its basically used to measure server load. That file has been earmarked because its using a good 40-50% of our monthly server load. Wasn't sure if you'd dealt with this at all or not..

  4. Ajay
    Member
    Plugin Author

    Posted 1 year ago #

    I've had that issue with Media Temple before I moved over to a dedicated VPS since I hit overages as well.

    The problem with the implementation is that it needs to load WordPress' environment.

    Frankly I'm not aware of a clear-cut solution other than using the SHORTINIT option which usually works.

    I suggest giving this a shot and monitor your CPU usage over a few days.

  5. Ajay
    Member
    Plugin Author

    Posted 1 year ago #

    Do you know if this helped fixed the problem?

  6. Ajay
    Member
    Plugin Author

    Posted 1 year ago #

    I have released the new version of Top 10 that incorporates some performance optimisation, especially those I mentioned above.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.