WordPress.org

Ready to get started?Download WordPress

Forums

(Spam) Limiting the server hits (7 posts)

  1. Gap
    Member
    Posted 8 years ago #

    I long ago solved my spam troubles using Akismet and SpamKarma jointly. However, my host is now complaining that spammers (which I don't even notice anymore thanks to these plugins) are abusing wp-comments-post.php, which in turn overloads the server (or so they claim).

    Is there anything I can do about this ? One option they suggested was adding a captcha plugin (which I thought sounded stupid, since I guess that would probably generate *more* load on the server), and another option was to rename the wp-comments-post.php file.

    Is my opinion on the the captcha option unfounded ?
    Would the second one really help ? How do I go about it ? Is there any other mention of the file name outside of the theme's "comments.php" and "comments-popup.php" (which I found and corrected too) ?

  2. maerk
    Member
    Posted 8 years ago #

    I think Bad Behaviour, not a plugin, but a script, was made to reduce the load on the server. Don't know the link, but google it and it'll turn up.

    You're right about the captcha thing taking up more resources, it has to generate an image everytime someone tries to leave a comment!

    Renaming wp-comments.php will certainly help, but you have to reference it somewhere with its proper name -- some spambots are clever enough to find it again.

    What posts does it affect? Because you can disable comments on old posts, which will also help to reduce server load.

    What kind of volume of spam are you getting, by the way?

  3. Gap
    Member
    Posted 8 years ago #

    Will try it. Thanks for the ideas and comments :) Akismet caught about 2500+ spam comments over the last two weeks. I fail to see how that could be enough to cause server problems, really...

  4. maerk
    Member
    Posted 8 years ago #

    Well, Akismet has to take each comment, send it to the akismet service, then process it depending on what the service says.

    Leaving a comment involves a database call. All database calls are quite resource-intensive, but writing to the database is especially intensive. Every comment that's left is written to the database, even if it's spam.

  5. maerk
    Member
    Posted 8 years ago #

    Good news! It turns out bad-behaviour is a plugin after all :D

  6. Samuel Wood (Otto)
    Tech Ninja
    Posted 8 years ago #

    Bad Behavior will reduce the server load from such spam comments, but be sure to read the instructions and edit the BB plugin to turn off the logging! Otherwise it's very database intensive.

    I was getting 60 spam a day, all of it caught by Akismet. After installing BB, that number dropped to about 6 a day. Akismet still caught it, but the rest got dropped before they made it that far.

Topic Closed

This topic has been closed to new replies.

About this Topic