Note: Not tested on multithreaded MPM... Feedback is very welcome... Later will be tested on worker mpm

Small module which provides the ability to stop processing apache request if load average is too high.
Can be used inside directory/location to implement custom 503 page.
This options available:
    By default all flag values (ON/OFF) are OFF. All other values are int

OverloadEnable
Enable or disable mod_overload

OverloadLoadAvg1min
Maximum tolerable 1min load average, after which HTTP 503 is returned

OverloadLoadAvg5min
Maximum tolerable 5min load average, after which HTTP 503 is returned

OverloadLoadAvg15min
Maximum tolerable 15min load average, after which HTTP 503 is returned

OverloadLogRequests
Log request which were executing when too high load average discovered

OverloadLowerHasPrecedence
If current 1min load average is less then current 5min load average and 5min load average is higher then OverloadLoadAvg5min allows, then proceed with request. No 503 error returned.
The same with 5min load average and 15min load average. Shorter time frame low average has precedence against longer one.

OverloadAllow503Request
Allow request which have 503 status (subrequest), needed if you want to have custom Error page (define ErrorDocument 503...)

OverloadKillAllRequests
Not recommended, just kill all current running requests.

OverloadLogOneAtATime
Module should only log one request listing at a time to avoid congestion

OverloadLogOneAtATimeLockFile
Lock file used to implement one log at a time, somewhere where apache can write it...
Default value: /tmp/mod_overload.lock


