OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Subject: Re: 1012 noops in a row cause slow responses from Postfix.
From: Wietse Venema (wietseporcupine.org)
Date: Fri Jun 23 2000 - 16:59:17 CDT


Mark Hoffman:
> That was a machine in production that I set to not send email for debugging.
> I'm actually sending 250,000 emails a day, so we fill up the junk command
> counter pretty quickly on the mailservers. Is there a way to reset the junk
> command counter? Why is noop considered a junk command? Can I change this?

Sending 250,000 emails a day, is that possible with an NT client?

NOOP is considered a junk command because if no limit were imposed,
the session recording would run the SMTP server out of memory.

Now, there can be made an argument that the junk counter should be
reset after successful delivery, just like the error status flag.

I'v got to run for a conference next week, so you're welcome
to do a patch.

        Wietse

> Mark
>
> -----Original Message-----
> From: wietseporcupine.org [mailto:wietseporcupine.org]
> Sent: Friday, June 23, 2000 5:40 PM
> To: postfix-userspostfix.org
> Subject: Re: 1012 noops in a row cause slow responses from Postfix.
>
>
> Mark Hoffman:
> > I set the service to noop every 2 seconds to reproduce the problem.
> >
> > I guess the real problem is that even after a successful delivery, the
> > response is still slow. We are seeing this behavior even while sending
> email
> > in the middle of the 1012 noops. i.e. If we send 500 noops, then an email,
> > Then more noops, response gets slow at ~1030 noops total. So it seems the
> > successful email doesn't reset the session record, when a constant
> > connection is maintained.
>
> Successful delivery resets the session recording.
>
> Successful delivery does NOT reset the junk command counter.
>
> > In our production environment, we see this behavior after ~ 3 days.
> Granted,
> > NT usually has to be rebooted more often than that, but I've finally
> gotten
> > my service to run for a couple of weeks at a stretch. And, because of the
> > load on the gateways between the NT servers and the Postfix servers, I
> want
> > to noop to make sure the connection is still there before sending mail.
>
> Why bother keeping the connection open?
>
> If you send 1000 NOOPs in 3 days, that means your NT client makes
> less than one delivery every four minutes.
>
> Wietse
>
>
>
>