Name
RefuseLA
Synopsis
When the load average on a machine (the average number of processes in the run queue over the last minute) becomes too high, sendmail can compensate in three different ways:
The
QueueLAoption (QueueLA) determines the load at which sendmail will begin to queue messages rather than delivering them, and the load at which scheduled queue runs will be skipped.This
RefuseLAoption determines the load at which sendmail will begin to refuse connections[58] rather than accepting them.The
DelayLAoption (DelayLA) determines the load at which sendmail will begin to delay replies to SMTP commands.
Some experts consider refusing connections with the
RefuseLA option a more serious problem than the
queuing caused by the QueueLA option (QueueLA), so prior to the introduction of V8.7
sendmail, they generally recommended that the
load specified for this RefuseLA option should be
the higher of the two. Others take the opposite stand.
Paul Vixie, for
one, believes that the RefuseLA option should be
lower than the QueueLA option so that you stop
accepting mail before you stop processing it. Under V8.7 the two
options have been decoupled, and you can now tune them according to
your personal philosophy.
The forms of the RefuseLA option are as follows:
O RefuseLA=limit ← configuration file (V8.7 and later) -ORefuseLA=limit ← command line (V8.7 and later) define(`confREFUSE_LA',limit) ← mc configuration (V8.7 and later) OXlimit ← configuration file (deprecated) -oXlimit← command ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access