XF 2.1 Spam Cleaner for thousand posts

HappyWorld

Well-known member
There is a single spammer account with thousand of posts.
Using spam cleaner on him took very very long time, and cause some mysql transaction error for other visitors.
Code:
MySQL query error [1205]: Lock wait timeout exceeded; try restarting transaction in
When i am checking running mysql process from ssh, i see that some queries are running in the background, which i assume is related with spam cleaning process.
My board has 6 million posts.
How to speed up spam cleaning process?
Is there any CLI version of spam cleaning?

Thank you.
 
Last edited:
The spam cleaner isn't designed for that use case.
It's designed for new/recent members with a limited amount of posts.

You will need to wait for the transactions to complete.
 
How is a spammer able to make thousands of posts?

Is the site not moderated and not have any spam controls in place?
Actually he is an old registered member that have thousand of posts.
For some reason he asked me to delete all of his posts & ban him.

I can't just delete his user account without removing all of his posts, because all of his posts data will become useless load burden for my database :)
 
Back
Top Bottom