Lessons learned: During scripted spam bot attacks - don't lock threads but ban every proxy and proceed with mass deletions.
Finding a broken thread (404 but still in the catalog) on endchan.net but posting a reply via Magrathea fixes the thread.