OK, for now this seems to work well enough.
Added to top of common.php file:But I will definitely keep in mind the other suggestions like mod_evasive and Cloudflare. Maybe look into them when I have more time and feel like it. ![Very Happy :D]()
Added to top of common.php file:
Code:
if (sys_getloadavg()[0] > 2.00) // 1.00 is supposedly 50% load on a 2 CPU core system{ header('HTTP/1.0 503 Service Unavailable',true,503); echo('503 Service Unavailable. Please try again later.'); exit();}

Statistics: Posted by Albert Wiersch — Mon Apr 28, 2025 4:18 pm