Re: smtpd(8) stress behaviour, disconnect on 5XX ???

From: Wietse Venema (no email)
Date: Mon Sep 03 2007 - 14:20:25 EDT

  • Next message: Anton Yuzhaninov: "Re: A question about Milters and Thread Safety"

    Leandro Santi:
    > On 9/3/07, Wietse Venema <> wrote:
    > > > It may be a shame if the stress flag oscilates on and off all day...
    > > > How do we detect that it needs to be on for a prolonged time, and how
    > > > do we detect that it is appropriate to turn it off?
    > >
    > > Initially, a simple form of pulse stretching (don't change the
    > > stress level until the load has dropped for some 15 minutes).
    > > High-low watermark solutions alone are too jittery, and moreover
    > > they are too complex for legacy Postfix releases.
    >
    > I'm reluctant to automate decisions based on the
    > system's load average, because the measure is not
    > regular across multiple kernel vendors (or different
    > Linux versions :-), nor it is fair across multiple
    > hardware configurations.

    I am talking about Postfix's own load measurement.

    > IIRC, older Sendmail used to do this, albeit with
    > a totally different program architecture, and with
    > different purpose: reject new connections when the
    > load average exceeded a limit. Never worked for me.

    I implemented Postfix's own load measurement because
    Sendmail's approach had shortcomings.

            Wietse


  • Next message: Anton Yuzhaninov: "Re: A question about Milters and Thread Safety"





    Hosted Email Solutions

    Invaluement Anti-Spam DNSBLs



    Powered By FreeBSD   Powered By FreeBSD