Re: 'Too many connections' problem
- From: "Steven W. Orr" <steveo@xxxxxxxxxxx>
- Date: Sat, 09 Sep 2006 21:05:18 -0400
On Sat, 09 Sep 2006 17:55:04 -0700, René Berber wrote:
Steven W. Orr wrote:
I run linux/sendmail-8.13.8 at home to host my domain. Some domains will
not accept mail from me because my address is from a dynamic address pool
so I solved that problem by placing all of those domains in my mailertable
and now route those messages through my ISP. Recently I have noticed that
some of the mail is hanging for a while with 400 series messages saying
'Too many connections'. I check with RCN and after many wated hours on
hold I found out that I need to limit the maximum number of connections to
their SMTP server to 4. Four shall be the counting. Five is too many and
six is right out!
Can someone please tell me what the incantation is to limit the number of
simultaneous connections to a particular server?
Not the best solution but from the TWEAKING CONFIGURATION OPTIONS
section in SendmailConfigFiles (a.k.a. cf/README):
confSINGLE_THREAD_DELIVERY
If this option and the
HostStatusDirectory option are both
set, single thread deliveries to other
hosts. That is, don't allow any two
sendmails on this host to connect
simultaneously to any other single
host.
But something is strange in your system, sendmail usually sends all the
messages to one host over one connection... perhaps it is different if
you have a lot of messages (I don't think so but I'm not sure), you
could control that with the queue run time. My guess is that you
changed some of the default parameters and now they've come back and
bit you.
I see your point but I really don't think I've done anything weird. On the
off chance that I did something weird, I put my sendmail.mc and
mailertable at
http://steveo.syslang.net/sendmail.mc
http://steveo.syslang.net/mailertable
Does this help?
.
- Follow-Ups:
- Re: 'Too many connections' problem
- From: René Berber
- Re: 'Too many connections' problem
- References:
- 'Too many connections' problem
- From: Steven W. Orr
- 'Too many connections' problem
- Prev by Date: Re: Blocking forged mail from my domain
- Next by Date: Re: 'Too many connections' problem
- Previous by thread: 'Too many connections' problem
- Next by thread: Re: 'Too many connections' problem
- Index(es):
Relevant Pages
|