[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Load-average based SMTP receiver blocking ?
Oh, sigh. Beware the traps of getting involved in loadaverage code.
Look at sendmail/src/conf.c for the current "state of the art" in
getting the load average. It's about 300 lines.
As for what to do, certainly a table is a good thing.
On the other hand, sendmail went through a big learning curve trying
to decide of never accepting, just doing a close(), or sending a reject
message is the right thing to do. A lot of it depended on what other
implementations did. I would try to find a sendmail person with a sense
of history (Neil Rickert?) and ask him/her.
/r$