1837298 Members
3231 Online
110115 Solutions
New Discussion

error

 
Swats
Occasional Contributor

error

HI,

Customers are getting a lot of "Too many connections" errors from the SMTP server.

Can anybody give me solution for this as why is he geting this error
5 REPLIES 5
Steven E. Protter
Exalted Contributor

Re: error

Shalom,

Sendmail has a built in limit to how many simultaneous connections it will tolerate.

It also will not accept connections if system load factor exceeds 25.

I'd try and look at your logs to see why there are so many connections. /var/adm/syslog/mail.log

I'd also check system load factor. Your system may be under denial of service or spam attack.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Swats
Occasional Contributor

Re: error

Thank you for your response

Can you tell me as which variable or file where the Sendmail limited connections value is defined and also how to verify whether the connections has crossed that limit.
Yogeeraj_1
Honored Contributor

Re: error

hi,

see: /etc/mail/sendmail.cf



...
# Queue-Only Load Average (option QueueLA): #
# #
# In order to limit load on a very busy system, sendmail can be #
# configured to queue up low priority messages rather than attempt #
# delivery immediately if the five-minute load average is greater #
# than some integer value, by default 8. This value is defined on #
# the line beginning O QueueLA=. #
# #
# Refuse-Connections Load Average (option RefuseLA): #
# #
# In order to limit load on a very busy system, the sendmail daemon #
# can be configured not to accept SMTP connections if the five- #
# minute load average is greater than some integer value, by #
# default 12. This value is defined on the line beginning #
# O RefuseLA=. #
...


hope this helps!
kind regards
yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
Swats
Occasional Contributor

Re: error

Thanks for your suggetion.

But that file is commented will it allow me to modify it. Or is there any other option If yes pls let me know.

Dennis Handly
Acclaimed Contributor

Re: error

>But that file is commented will it allow me to modify it?

Sure. You'll have to restart sendmail afterwards.