W3C home > Mailing lists > Public > www-email-discuss@w3.org > March 1999

KEEPING SERVER LOAD AVERAGES DOWN

From: ONIME EHIMIKA OHIREIME <onime@ictp.trieste.it>
Date: Mon, 15 Mar 1999 17:13:27 +0100 (MET)
To: www4mail-comments@w3.org
Message-ID: <Pine.GSO.3.96.990315170619.4613A-100000@sv4>

Dear,

After much thinking and tweaking of sendmail configurations.

I am considering adding some code to www4mail for checking the system load
average.

It will work in two parts, 
If the load average is above 4 or something similar the process just
sleeps (it checks every 2 minutes and if the load average is still up
after 5 hours then it exits with error 75).

If the load average is over 7 then exit immediately with error code 75. It
appears that if a program exits with error 75, sendmail will just retry
during the next queue run. At least on sendmail 8.9.3 this is the error
code for temporary failures.

I would like to  received your comments on the above.

Clement Onime
Received on Monday, 15 March 1999 11:19:51 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:09:29 UTC