I was about to start a new thread about this and came across this one. We’ve been seeing similar behaviour on my forum recently, and it’s had a noticeable impact on the server.
During one spike, Apache logged 2,361 requests to /threads/.../post-<id> in a single minute. In two earlier samples, almost every request to that route came from a different logged IP. CPU reached around 95%, with PHP-FPM doing most of the work, and the homepage took nearly six seconds to start responding.
DDoS-Guard initially adjusted its filtering for HTTP/1.x and later added filtering for HTTP/2 requests showing similar patterns. That’s helped considerably. The homepage is back to around 0.3 seconds, and we’ve been able to remove the temporary Nginx rate limit we put on direct post links. We’re still seeing around 830–860 requests per minute to that route, though, so the traffic hasn’t gone away.
Has anyone else seen most of this traffic hitting direct post links? If you found a way to reduce the load while keeping those links usable for members, I’d be interested to hear what worked.
@Rhody, your example on page 52 looks close to what we’re seeing. On the forum it’s spread across many /threads/.../post-<id> URLs, with many returning 301. In one minute we had 2,255 requests to that route from 2,248 distinct logged IPs. DDoS-Guard’s HTTP/1.x and HTTP/2 filtering helped, but the route still gets a fair amount of traffic. Did yours stay focused on one post, or did it eventually spread across other post IDs? Did you find anything that reduced the origin load while keeping direct post links usable for members?