Re: 'Too many connections' problem
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.
--
René Berber
|