Warning: sendmail stops sending when load is high
Posted: Mon Dec 07, 2015 2:55 pm
This isn't a problem that needs support. Just FYI...
It seems sendmail has features that queue or disable sending mail if load gets high on the server. It seems it starts queuing mail when load (top, uptime) gets to 8 and refuses to send at 12. The defaults seem to match the commented lines in the .cf. Here's a message from maillog:
rejecting connections on daemon MTA: load average: 15
# grep eLA /etc/mail/sendmail.cf
#O QueueLA=8
#O RefuseLA=12
We had a bunch of servers down last night and for some reason that seems to have made Nagios repeatedly check to the point load got out of hand. Any suggestions for limiting repeated checks so this doesn't happen? I reduced the number of retries so that may take care of it.
It seems sendmail has features that queue or disable sending mail if load gets high on the server. It seems it starts queuing mail when load (top, uptime) gets to 8 and refuses to send at 12. The defaults seem to match the commented lines in the .cf. Here's a message from maillog:
rejecting connections on daemon MTA: load average: 15
# grep eLA /etc/mail/sendmail.cf
#O QueueLA=8
#O RefuseLA=12
We had a bunch of servers down last night and for some reason that seems to have made Nagios repeatedly check to the point load got out of hand. Any suggestions for limiting repeated checks so this doesn't happen? I reduced the number of retries so that may take care of it.