WordPress.org

Forums

[Plugin: StatPress Reloaded] Performance Issue (9 posts)

  1. ed4becky
    Member
    Posted 6 years ago #

    I started using this plugin and really liked the stats. Then I noticed I had a performance issue (15 seconds to serve a page, but sub second to render it). When I disabled [Plugin: StatPress Reloaded] my time to serve went back to sub second.

    Not sure how to debug this sort of problem.

    Running Apache/2.2.8 (Ubuntu) PHP/5.2.4-2ubuntu5.4 with Suhosin-Patch
    MySql Server version: 5.0.51a-3ubuntu5.4

  2. quartzimodo
    Member
    Posted 6 years ago #

    I started using this plugin and really liked the stats. Then I noticed I had a performance issue (15 seconds to serve a page, but sub second to render it). When I disabled [Plugin: StatPress Reloaded] my time to serve went back to sub second.

    I'm afraid I am in total agreement with "ed4becky" with regards to performance issues. I used the original StatPress (not StatPress Reloaded) since early 2008 without any problems whatsoever.

    When the original author discontinued support for the StatPress plugin, StatPress Reloaded (SP-R) was born. Needlessly I installed SP-R, hoping that it would be a marked improvement over the original.

    While SP-R had better reporting features, unfortunately it resulted in massively slowing down my blog (it's at load times. Even access to my WP Dashboard was crawling at a snail's pace.

    What eventually happened was, my web host provider, Bluehost.com first yanked my site offline without informing me in advance last December.

    The tech support whom I chatted with told me that SP-R resulted in a huge MySQL file size (110 MB) which he claimed degraded the shared server my site was hosted.

    He allowed me to make amends and empty the SP-R tables and all went well. I continued to use SP-R diligently, making sure that it purged records over 30 days and disabled visits by web crawlers and bots.

    Today Bluehost.com suspended my site again, much to my disgust! An irate tech support guy whom I chatted with just copy & pasted my SQL database structure and sent it via the chat box.

    I submitted a support ticket asking my site to be reinstated but there was no response. Fortunately many hours later I managed to reason with a different tech support guy and he just bluntly asked me "How are you going to fix it?". He knew what was wrong but was just testing me if I was clueless.

    I told him that I via FTP I had deleted the offending plugin - "StatPress Reloaded", it should not degrade the shared server and pleaded him to reinstate my site. Luckily for me he relented and my site is up and running again.

    It seems that I've found this equation: Bluehost.com + StatPress Reloaded = DISASTER!!!

    My site generates less than 1,000 visitors a day. So it wasn't a bandwidth issue nor was it a disk space quota issue. It was not even the size of the MySQL database (which was 40 MB at the time my site was suspended).

    The problem is that SP-R chews a lot of CPU cycles and overloads the server with a lot (and I mean a lot) of SQL queries each time my site is viewed.

    I have even set up WP-Super Cache and CSS and Javascript compressors to lighten the load on my site.

    Needless to say, I signed up with another web host provider and will be migrating my site soon. I can't afford to have my site down for the third time due to SP-R and I'm sorry to say that I won't be using this plugin again. (There's always the AW Stats service on the web host to check my visitor info).

    Nevertheless, I'd like to thank the author of StatPress Reloaded for his hard work and diligence in continuing the work of the original programmer.

    Therefore if your WP blog is hosted with Bluehost.com I would strongly discourage you from installing StatPress Reloaded.

  3. SP00N
    Member
    Posted 6 years ago #

    This plugin has just about everything I need, but like others have mentioned, the performance issue is a huge problem. I tested my site prior to the plugin to check its loading speed and it was super quick to load. However, once I activated the plugin is took approximately 5 seconds to load the page. What a shame because I really wanted to use this one. Perhaps future updates will resolve this issue because as of now it's unusable - for me at least.

  4. cspurling
    Member
    Posted 6 years ago #

    I've run through various performance slowdowns with this plugin in the past that all seem to depend on what host it was installed on and how that host resolves DNS lookups. The culprit (for me, at least) seems to be PHP's 'gethostbyaddr' function. I've had to kill the host name lookup in the past for troubleshooting purposes and/or performance issues.

    I'd be curious to know if either of these ideas solve the above problems:
    a. Find the insert statement in iriStatAppend (line 1721) and replace the call to 'iriDomain($ipAddress)' with ''
    b. Otherwise, find iriDomain() (line 1359) and insert a "return;" statement into the first line of the function.

    If you look up gethostbyaddr on the php site you'll find a lot of issues with this function.

  5. Xeross
    Member
    Posted 5 years ago #

    Guys this is still an issue, So maintainer of this please fix it.

  6. Xeross
    Member
    Posted 5 years ago #

    jbob what's with the eGift Cards link ?

    I remember I saw a mysql optimization code for statpress once lemme see if I can find it.

    Edit: http://matt.carter.name/shared/statpress/statpress.html

  7. funkboybilly
    Member
    Posted 5 years ago #

    jbob06 is a spammer who posts useless comments with links to eGift Cards at the end. I wish there was some way of reporting spam users.

  8. e7
    Member
    Posted 5 years ago #

    I also have noticed a slowdown on the site and I highly suspect the statpress plugin. My first search lead me here... I guess it's time to kill it despite its nice features.

  9. johnnyang
    Member
    Posted 5 years ago #

    I'd encounter a problem similar to what quartzimodo had encountered (slow page loading). S-R had caused my wp-admin & dashboard loading to take > 5 mins (repeated refreshes if I'm lucky enough).

    After disabling S-R & removing it from my blog, my blog loading time drastically improved.

    The question I've now is, what are the alternatives to S-R? I'm impressed with S-R's capabilities but I'm worried that it would mess up my blog again.

    Cheers.

Topic Closed

This topic has been closed to new replies.

About this Topic