The MU forums have moved to WordPress.org

BIG PROBLEM! (11 posts)

  1. samfingcul
    Member
    Posted 16 years ago #

    i have mu wordpress installed on an hostgator account and i have big problems. my account was susspended because of this:
    "Your site was causing heavy load on the server due to the XMLRPC traffic it generating. Please advice what kind of activity was being done on the account."

    how can I avoid this? is any problem if i delete xmlprc.php ? that will resolve my problem?

    thanks

  2. MrBrian
    Member
    Posted 16 years ago #

    WPMU is resource intensive, so shared hosting (like hostgator) is not viable. You need VPS or Dedi ideally.

  3. samfingcul
    Member
    Posted 16 years ago #

    so there is no another solution?

  4. dsader
    Member
    Posted 16 years ago #

    xmlrpc can be disabled/blocked on a blog by blog basis, Dashboard-->Writing.

    Must be a way to do it with an mu-plugin, too. Investigating.

    EDIT:
    Change first line of xmlrpc.php from true to false
    define('XMLRPC_REQUEST', false);

  5. cafespain
    Member
    Posted 16 years ago #

    Are you (or your users) using xmlrpc to post to your blogs. If not then it could be ping-back traffic.

    Try renaming the xmlrpc.php file. You can then still post using xmlrpc by specifying a different xmlrpc end point if you need to.

  6. dsader
    Member
    Posted 16 years ago #

    Found a hook that works, I think.
    mu-plugin to disable xmlrpc:

    <?php
    function ds_disable_xmlrpc() {
    define('XMLRPC_REQUEST', false);
    }
    add_filter('xmlrpc_methods','ds_disable_xmlrpc');
    ?>
  7. samfingcul
    Member
    Posted 16 years ago #

    and where should i paste that code?
    thanks

  8. dsader
    Member
    Posted 16 years ago #

    http://codex.wordpress.org/Writing_a_Plugin
    except stick it in "mu-plugins"

  9. samfingcul
    Member
    Posted 16 years ago #

    can you please create that plugin and tell me what to do next? pretty please

  10. dsader
    Member
    Posted 16 years ago #

    Making a plugin ain't so tough, give it a rip:
    http://www.youtube.com/watch?v=0I8Gq_V4p4s

  11. andrea_r
    Moderator
    Posted 16 years ago #

    He did.

About this Topic

  • Started 16 years ago by samfingcul
  • Latest reply from andrea_r