OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: smtpd(8) stress behaviour, disconnect on 5XX ???

From: Leandro Santi (lesantigmail.com)
Date: Mon Sep 03 2007 - 13:14:57 CDT


On 9/3/07, Wietse Venema <wietseporcupine.org> 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.

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.

Leandro