WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin WP Bestsellers] Server Load (3 posts)

  1. jack.dan
    Member
    Posted 3 years ago #

    Hi,

    I am using WP 2.9.2. with some plugins, especially the commercial WP Bestsellers plugin, which creates a list of bestsellers directly from Amazon. The links to Amazon are php-cloaked (like http://my-domain.com/wpbuy.php?id=1).

    My problem is a huge server load generated by WordPress itself and I am not sure, if it is a WordPress or a plugin problem. After creating / editing any post and saving, WordPress starts to access all links included in any post at least two times. In case of a larger bestseller list with 100 links there are at least 200 accesses from WordPress shown in my access logs like this:
    ip.ip.ip.ip - - [29/Jul/2010:12:54:37 +0200] "HEAD /wpbuy.php?id=975 HTTP/1.0" 302 - "-" "WordPress/2.9.2; http://domain"
    ip.ip.ip.ip - - [29/Jul/2010:12:54:38 +0200] "GET /wpbuy.php?id=975 HTTP/1.0" 302 13 "-" "WordPress/2.9.2; http://domain"
    ip.ip.ip.ip - - [29/Jul/2010:12:54:38 +0200] "HEAD /wpbuy.php?id=975 HTTP/1.0" 302 - "-" "WordPress/2.9.2; http://domain"
    ip.ip.ip.ip - - [29/Jul/2010:12:54:39 +0200] "GET /wpbuy.php?id=975 HTTP/1.0" 302 13 "-" "WordPress/2.9.2; http://domain"
    ip.ip.ip.ip - - [29/Jul/2010:12:54:39 +0200] "HEAD /wpbuy.php?id=975 HTTP/1.0" 302 - "-" "WordPress/2.9.2; http://domain"
    ip.ip.ip.ip - - [29/Jul/2010:12:54:40 +0200] "GET /wpbuy.php?id=975 HTTP/1.0" 302 13 "-" "WordPress/2.9.2; http://domain"
    ip.ip.ip.ip - - [29/Jul/2010:12:54:40 +0200] "HEAD /wpbuy.php?id=975 HTTP/1.0" 302 - "-" "WordPress/2.9.2; http://domain"
    ip.ip.ip.ip - - [29/Jul/2010:12:54:40 +0200] "GET /wpbuy.php?id=975 HTTP/1.0" 302 13 "-" "WordPress/2.9.2; http://domain"

    When I create or edit several posts in a shorter time, I can find some thousands of accesses like this and the server cannot answer the requests, which leads to many error 500s in the logs and a non-accessible blog for half an hour.

    Now the most interesting fact is, when I deactivate _all_ plugins the issue is still existing.

    Maybe you got any idea? I am wondering if this is a general WordPress issue, a plugin issue, a server issue or whatever. Is there any way to break WordPress' habit to access inpost links itself?

    Thanks in advance!

    Best regards
    Dan

  2. Samuel B
    moderator
    Posted 3 years ago #

    what plugin has the file wpbuy.php?
    That seems to be the problem

  3. jack.dan
    Member
    Posted 3 years ago #

    Thanks for your reply, Samuel :)

    wpbuy.php is an addon to WP Bestsellers, but it contains only seven lines php-code to deliver the right link for each ID. It does not access itself, but I cannot discover by what it is accessed without site visitors, while all plugins are inactive. When I delete it, my outgoing links aren't accessible any more.

    Half of the links are accessed with the HEAD method. I read, that it is used "for testing hyperlinks, accessibility and for determining if a document has been recently modifed"[1]. Is there any link-checker integrated in WordPress? Maybe any anti-link-checker plugin exists to solve this issue?

    Thanks for support!
    Dan

    [1]http://hc.apache.org/httpclient-3.x/methods/head.html

Topic Closed

This topic has been closed to new replies.

About this Topic