Re: start multiple sendmail daemons from rc.conf?

From: Bill Vermillion (bv_at_wjv.com)
Date: 11/25/03

  • Next message: Andy Farkas: "Re: start multiple sendmail daemons from rc.conf?"
    Date: Tue, 25 Nov 2003 15:48:22 -0500
    To: freebsd-isp@freebsd.org
    
    

    On Tue, Nov 25, 2003 at 12:20 Doug Hardie said 'Who you talkin' to?
    You talkin' to Doug Hardie? I didn't do nuttin'. I said:

    >
    > On Nov 25, 2003, at 12:07, Andy Farkas wrote:
    >
    > >Charles Swiger wrote:

    > >>On the other hand, too many sendmail processes can thrash the
    > >>system...

    > >You mean "can TRASH the system..."!

    > >I hate sendmail:

    > >Nov 21 10:43:11 <mail.info> hewey sm-mta[71861]: hAL0h3UQ071861:
    > >delaying=EHLO, load average=5 >= 2
    > >Nov 21 10:43:11 <mail.info> hewey sm-mta[71850]: hAL0gdUQ071850:
    > >from=<keebxfjp@hotmail.com>, size=1991,...
    > >Nov 21 10:43:12 <mail.notice> hewey sm-mta[78325]: rejecting
    > >connections on daemon MTA: load average: 5
    > >Nov 21 10:43:12 <mail.notice> hewey sm-mta[78325]: rejecting
    > >connections on daemon MSA: load average: 5
    > >Nov 21 10:43:14 <mail.info> hewey sm-mta[71848]: hAL0gcUQ071848:
    > >from=<owner-freebsd-isp@freebsd.org>, size=3265,...
    > >Nov 21 10:43:18 <mail.info> hewey sm-mta[71861]: hAL0h3UQ071861:
    > >from=<owner-freebsd-current@freebsd.org>, size=5435,...
    > >Nov 21 10:43:21 <kern.crit> hewey /kernel: swap_pager: out of swap
    > >space
    > >Nov 21 10:43:21 <kern.crit> hewey /kernel: swap_pager_getswapspace:
    > >failed
    > >Nov 21 10:43:22 <kern.err> hewey /kernel: pid 215 (mysqld), uid 88,
    > >was killed: out of swap space
    > >Nov 21 10:43:22 <kern.err> hewey last message repeated 5 times

    > >So even though sendmail says it is rejecting connections
    > >(twice!), it then goes and accepts two more! Grrr.

    Well it's sort of hard to let the far systems know they shouldn't
    be sending any. If you look at the config file you will see that
    when sendmail reaches a certain limit it will not accept any more
    connections. So your resources are too low [as noted in the other
    poster comment below] as you run out of resources before you hit
    the limit that is in Sendmail. [see your .cf file and you could
    set the load average where you just queue messages and the point
    where you reject messages lower]

    > Thrash is correct and it would appear it happening from the
    > messages above. Sendmail checks the load average each time a new
    > request is received. If the average is above the threshold it
    > puts out that message and doesn't handle the request. Obviously,
    > when PIDs 71848 and 71861 were started the load average was
    > below the threshold. Running out of swap space is never going to
    > be a good thing. You need more memory or more swap space.

    Unless he's modified the sendmail.cf for different load values
    and moved them too high, then he probably needs both more memory
    and more swap space. And of course more memory means you need to
    add more swap space.

    Until he gets more memory he can add swap space - man 8 swapon -
    but to blame sendmail for an under powered or mis-configured system
    is wrong.

    I left sendmail as I had problems with it and moved to smail. But
    along about 1993 or 94 I moved back to sendmail and have not
    regretted it. I've used it as two ISP - though not large ones and
    both were commercial accounts only - and it's never failed me.

    Bill

    -- 
    Bill Vermillion - bv @ wjv . com
    _______________________________________________
    freebsd-isp@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-isp
    To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org"
    

  • Next message: Andy Farkas: "Re: start multiple sendmail daemons from rc.conf?"

    Relevant Pages

    • Re: start multiple sendmail daemons from rc.conf?
      ... So your resources are too low [as noted in the other ... You need more memory or more swap space. ... > but to blame sendmail for an under powered or mis-configured system ...
      (freebsd-isp)
    • Re: start multiple sendmail daemons from rc.conf?
      ... too many sendmail processes can thrash the ... Thrash is correct and it would appear it happening from the messages ... Sendmail checks the load average each time a new request is ... Running out of swap space is never going to be a good thing. ...
      (freebsd-isp)
    • Re: unixware 7.1.4 sendmail issues
      ... daemon Daemon0: load average: 36 ... By which my esteemed colleague means that it seems like a sendmail ... Find cpu hogs: ...
      (comp.unix.sco.misc)
    • Re: unixware 7.1.4 sendmail issues
      ... | for no apparent reason - syslog shows entries such as below: ... the load average is too high. ... By which my esteemed colleague means that it seems like a sendmail ... load limits beyond which it will merely queue requests or reject them ...
      (comp.unix.sco.misc)
    • RefuseLA and accept local
      ... Is it possible to force sendmail refuse connections when load average ... is above RefuseLA AND accept connections from local (internal network ...
      (comp.mail.sendmail)