Operating System - Tru64 Unix
1825484 Members
3432 Online
109681 Solutions
New Discussion юеВ

sendmail reject connection on daemon

 
SOLVED
Go to solution
rottereau
Advisor

sendmail reject connection on daemon

I used the mailsetup for sendmail on the 3 members.Now i have on one member a problem with the load average parameter LA with the message :
sendmail[954536]: rejecting connections on daemon Daemon0: load average: 40
sendmail[954536]: rejecting connections on daemon Daemon0: load average: 41
sendmail[954536]: rejecting connections on daemon Daemon0: load average: 41

Do you know how to stop these messages. Probably i can change the LA parameter in sendmail.cf but can i for example delete a queue message or just identify the message than doesnt want to be sent.
thanks for any suggestion.
Manuel Rottereau
8 REPLIES 8
Michael Schulte zur Sur
Honored Contributor

Re: sendmail reject connection on daemon

Hi,

these files are in /usr/spool/mqueue.

greetings,

Michael
rottereau
Advisor

Re: sendmail reject connection on daemon

in fact it seems that the queues are not the problem because the number [954536] is not a number of a queue. But i really dont know how to stop this message.
Ivan Ferreira
Honored Contributor

Re: sendmail reject connection on daemon

Is it normal that your system reach that load average?

Use mailq -v to identify the message, then delete from /var/spool/mqueue as described before.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Michael Schulte zur Sur
Honored Contributor

Re: sendmail reject connection on daemon

Manuell,

954536 is the pid of the sendmail process.
Why not increasing the parameter?
http://www.sendmail.org/m4/tweaking_config.html

Michael
Al Licause
Trusted Contributor
Solution

Re: sendmail reject connection on daemon

Depending on where that message is being reported, the number in square brackets is usually the process id for the process reporting the message, in this case sendmail, but it seems like a pretty high pid number.

Run the command uptime. It will show you three values for system load average. If any or all of these are in the 40 or higher range, then you have exceeded the default parameter at which sendmail stops receiving mail.

They are found in /var/adm/sendmail/sendmail.cf as:

# load average at which we just queue messages
# The Alpha CPU is fast, so we don't settle for the default.
#O QueueLA=20
Ox20

# load average at which we refuse connections
#O RefuseLA=12
OX12


You can increase these values to something above the load average of your system then restart sendmail, but it will also add to the already high load of the system. Normally sendmail backs off and acts nice by refusing to contribute to a busy system.


rottereau
Advisor

Re: sendmail reject connection on daemon

thanks, my problem is solved. I put higher values for the LA fields and its oki now.
MAnuel Rottereau
Michael Schulte zur Sur
Honored Contributor

Re: sendmail reject connection on daemon

Manuel,

there is a point system here. Please have a look at http://forums1.itrc.hp.com/service/forums/helptips.do?#28

thanks,

Michael
rottereau
Advisor

Re: sendmail reject connection on daemon

thanks all.