Directory / plugin

Busy Server

v0.2.2 · by gibbon.cz

When the server load is higher than specified, show an error message instead of loading the page.

About this plugin

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.

Plugin tags