Re: 'Too many connections' problem



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?

.



Relevant Pages

  • Re: Strange netstat output - possible hacking attempt?
    ... >> think we can really call that 'port scanning' in any illegitimate sense. ... > out to the colo swerver, the ISP would cut the link, outgoing packets would ... "Requests per 10 seconds per host rule" and only inforcing these rules ... connections making it a WAN. ...
    (comp.os.linux.security)
  • Pocket PC (iPaq 4350) fails to make wireless connection even after replacing motherboard!
    ... Established connections reset: 2 ... Host Name: localhost ... INC Vendor: High Tech Computer ... Host Name: WINDOWSMOBILE97 ...
    (microsoft.public.pocketpc)
  • Re: Error messages for remote desktop connection attempt
    ... Did you enable Remote Desktop connections on the XP Pro host? ... have you checked the EventLog on the host? ... "The net logon service on the local computer started and then ...
    (microsoft.public.windows.terminal_services)
  • Re: Network of 2 desktops, 1 laptop, all WinXP
    ... > Does your host use Zone Alarm?? ... >> proper connections. ... >>> Network CD copied and loaded to a laptop connected by wireless router ... >>> does not show on the second desktop as being part of the network. ...
    (microsoft.public.windowsxp.network_web)
  • Jails - Pseudo Interfaces/ Virtual Networks - Best Practices?
    ... I'm in the process of planning a transition from VMWare (on CentOS host) hosting service-specific FreeBSD virtual machines to the seemingly more efficient, stable, and lower maintenance cost approach, now that I've figured out at least some of the "magic" of creating jails under FreeBSD. ... The questions generally relate to being able to consistently identify traffic from/to the jails, inside and outside the jail host, with tools such as ipfw and tcpdump. ... With VMWare, I was used to being able to create a pseudo-interface that could be "wired" to a virtual "switch" and then that switch could be bridged to a physical interface. ... Here DNS needs to be run for the host itself only, to be able to start up NTP and allow ssh connections for management over the "protected" interface. ...
    (freebsd-questions)