Sendmail 'Too many connections' problem

Steven W. Orr steveo at syslang.net
Sat Sep 9 20:59:00 EDT 2006


On Saturday, Sep 9th 2006 at 20:17 -0400, quoth Jeff Macdonald:

=>On 9/9/06, Steven W. Orr <steveo at syslang.net> wrote:
=>
=>> Can someone please tell me what the incantation is to limit the number of
=>> simultaneous connections to a particular server?
=>
=>
=>Try SingleThreadDelivery and HostStatusDirectory options.

I don't see how this helps. 

confHOST_STATUS_DIRECTORY HostStatusDirectory
                    [undefined] If set, host status is kept
                    on disk between sendmail runs in the
                    named directory tree.  This need not be
                    a full pathname, in which case it is
                    interpreted relative to the queue directory.
confSINGLE_THREAD_DELIVERY  SingleThreadDelivery
                    [False] 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.  This can slow down delivery in
                    some cases, in particular since a
                    cached but otherwise idle connection
                    to a host will prevent other sendmails
                    from connecting to the other host.

What I want is to limit the maximum number of simultaneous connections to 
one server to be four. This would somehow prevent more than 1 connection 
to *any*? host.


-- 
Time flies like the wind. Fruit flies like a banana. Stranger things have  .0.
happened but none stranger than this. Does your driver's license say Organ ..0
Donor?Black holes are where God divided by zero. Listen to me! We are all- 000
individuals! What if this weren't a hypothetical question?
steveo at syslang.net



More information about the gnhlug-discuss mailing list