############################################################################## # # Server Load Limit # ############################################################################## LoadModule = mod_load_limit.php # Defines the maximum load average after which the server will return an error # and won't serve documents until load goes down. LoadLimit = 8.0 # LoadLimitAction can be set to "error" if you want to generate an error page # on overload, or "redir" to redirect to another page/site. LoadLimitAction = error # If LoadLimitAction is set to "redir", LoadLimitRedirect is the site the # client browser will be pointed to. #LoadLimitRedirect = http://www.example.com/overloaded.html #LoadLimitRedirect = http://www2.example.com%REQUEST_URI # If LoadLimitError is set to "error", the server will return LoadLimitError as # HTTP error number. The default is 503 which means Service Unavailable. LoadLimitError = 503 # This is the message displayed in the error page. %CUR_LOAD and %MAX_LOAD are # replaced by the current load average, and the maximum allowed load average. LoadLimitErrorMessage = Server load is too high (%CUR_LOAD/%MAX_LOAD), try again in a few moments.