Support #5089


response time sluggish

Added by scott voth over 6 years ago. Updated over 6 years ago.

Priority name:
Category name:
Target version:
Start date:
Due date:
% Done:


Estimated time:


I noticed this morning (10:15 AM) that response time is sluggish. Takes longer to load pages than usual.

Actions #1

Updated by Matt Gold over 6 years ago

  • Status changed from New to Assigned
  • Assignee set to Boone Gorges
  • Priority name changed from Normal to Urgent

Thanks, Scott -- we received a few notices about this today, including one from IT. Assigning to Boone.

Actions #2

Updated by Boone Gorges over 6 years ago

  • Status changed from Assigned to Resolved
  • Target version set to 1.9.4

Thanks for reporting, Scott.

After a good deal of investigation today, here's what I found. Starting yesterday, a spammer (or collection of spammers) figured out that it was possible to leave comments on certain BuddyPress Docs without being logged in. This is because of the 'anyone' setting in buddypress-docs, which must have had its behavior changed in a recent version. As such, they'd found a couple of 'anyone' Docs, and posted hundreds of spam comments to them. Because of a quirk in the way Docs handles comment approval - comments are assumed to be from trusted users, so are force-approved on submission - Akismet was recognizing them as spam, but not preventing them from being published. As such, each time the bots returned to those pages, it took longer for them to load, due to the large number of comments that needed to be rendered. Apache started running out of processes to spare, causing a resource bottleneck.

I took a couple immediate steps to resolve the problem:

1. I marked all of the problematic comments as spam. This fixed the resource issue.
2. I patched the Commons so that non-logged-in users could not post comments to Docs.

This evening, I put a more proper solution in BuddyPress Docs itself: I then ported all recent changes from the Docs repo to the Commons:


Also available in: Atom PDF