Even though servers do have their "protection" against overload throwing a 503 error, at the time when this happen, server can be really overloaded already.
This plugin checks the actual CPU load and if higher than specified (by default 2 per every core), displays an error message.
Very simple checking is used and by no means is this a replacement to proper load balancing. Can be useful though, especially when your server system is undergoing a tuning or heavy maintenance, is under weak attack, etc. and you don't want to disable the site completely.
Currently only Linux servers are supported ( = tested), other UNIX systems should work as well.
Roadmap:
- Cache detection (if page is cached, serve it regardless the load)
- Support for Win servers
- Test server compatibility
- Storing settings outside of database for speed improvement
Found a bug or have a feature request ? Please report here at the
plugin page.
0.1
Initial release
0.2
Custom error message and maximum load settings
0.2.1
Fixed default values
0.2.2
Added proper 503 HTTP headers