public inbox for overseers@sourceware.org
 help / color / mirror / Atom feed
From: Ian Lance Taylor <ian@airs.com>
To: Christopher Faylor <cgf@redhat.com>, postmaster@chiark.greenend.org.uk
Cc: overseers@sources.redhat.com
Subject: Re: [postmaster@chiark.greenend.org.uk: [postmaster@sources.redhat.com] Excessive retries by your mail system]
Date: Mon, 18 Aug 2003 17:52:00 -0000	[thread overview]
Message-ID: <m3zni6vonz.fsf@gossamer.airs.com> (raw)
In-Reply-To: <20030818131644.GA16294@redhat.com>

> From: Ian Jackson as chiark postmaster <postmaster@chiark.greenend.org.uk>
> Subject: [postmaster@sources.redhat.com] Excessive retries by your mail system
> To: postmaster@sources.redhat.com
> Date: Wed, 13 Aug 2003 15:10:22 +0100
> 
> 
> In the hour 1220-1320 UTC today (which I'm picking as a convenient
> example), sources.redhat.com made 114 connections to my system
> chiark.greenend.org.uk, 102 of which were rejected by my system with a
> 421 banner message (due to your system's excessive use of concurrent
> SMTP sessions and its excessive history of SMTP errors when talking to
> mine).
> 
> That's an average of one failed connection attempt every 35 seconds.
> This is grossly excessive.  It's much faster than the retry rates
> recommended in RFC1123 (Host Requirements).  It is also a much faster
> retry rate than I have configured my system to permit to a single
> calling site.
> 
> You are triggering capacity reservation and rate-limiting mechanisms
> which are intended to cope with denial-of-service attacks and to slow
> down spammers.  As a result the real mail which ought to be flowing
> from your system to mine (various mailing lists hosted on
> sources.redhat.com) is suffering delays.
> 
> Please could you reconfigure your system to retry much less often.
> See RFC1123 s5.3.1.  Your system appears to be in violation (for
> example) of the following paragraph, for example:
> 
>       The sender MUST delay retrying a particular destination
>       after one attempt has failed.  In general, the retry
>       interval SHOULD be at least 30 minutes; however, more
>       sophisticated and variable strategies will be beneficial
>       when the sender-SMTP can determine the reason for non-
>       delivery.
> 
> When you've made your system stop hammering mine so much, the mail
> should start flowing normally within an hour or two.

sources.redhat.com runs qmail.  qmail does implement the restriction
above.  However, since sources.redhat.com sends so many messages to so
many failing hosts, and since qmail records a fixed number of hosts
which have failed and updates the list in a circular fashion, it is
possible that the list of hosts is being overwritten such that qmail
is trying your system when it normally would not.

That said, the fact is that sources.redhat.com generates a great deal
of mail, and if people on your system are signed up to several of the
high volume mailing lists, those mailing lists will consistently
trigger rate-limiting mechanisms.  We've seen this before on other
systems.  The effect is that the e-mail traffic from
sources.redhat.com will never flow smoothly in the presence of rate
limitations, and, indeed, sources.redhat.com will start bouncing
e-mail messages sent to your users, and will eventually simply remove
them from the mailing lists.

I'm afraid there is no particularly good way around this.  In general,
high volume mailing lists and rate limitations are not compatible.
You should either make an exception to your rate limiting code for
sources.redhat.com, or you should prohibit your users from signing up
for sources.redhat.com mailing lists (which include gcc.gnu.org
mailing lists).

Ian

      parent reply	other threads:[~2003-08-18 17:52 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-18 13:16 Christopher Faylor
2003-08-18 15:47 ` Matthew Galgoci
2003-08-18 15:58   ` Christopher Faylor
2003-08-18 17:52 ` Ian Lance Taylor [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3zni6vonz.fsf@gossamer.airs.com \
    --to=ian@airs.com \
    --cc=cgf@redhat.com \
    --cc=overseers@sources.redhat.com \
    --cc=postmaster@chiark.greenend.org.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).