Quantcast
Channel: phpBB.com
Viewing all articles
Browse latest Browse all 567

[3.3.x] Support Forum • Abort request when under high load?

$
0
0
So occasionally my phpBB forum gets slammed with a lot of requests that come in so fast the server gets really bogged down and the server load skyrockets. This not only affects phpBB but the rest of the server including my main website and other functions.

I don't know if these are attacks or runaway bots but it doesn't matter.

Is there a way or option to quickly have phpBB abort a 'viewtopic.php', 'memberlist.php', or other CPU-intensive request if the load on the server is excessive (set by a setting)? Perhaps return a '503 Service Unavailable' and quickly exit. When the server load comes down again it would automatically start serving the requests again.

This would help keep the main website responsive and available even if the forum isn't fully accessible.

Statistics: Posted by Albert Wiersch — Sat Oct 26, 2024 12:38 am



Viewing all articles
Browse latest Browse all 567

Trending Articles