xfs
[Top] [All Lists]

Re: [PATCH] disable tags in post-receive hook

To: xfs@xxxxxxxxxxx
Subject: Re: [PATCH] disable tags in post-receive hook
From: Stan Hoeppner <stan@xxxxxxxxxxxxxxxxx>
Date: Thu, 12 Apr 2012 03:49:30 -0500
In-reply-to: <20120411162627.GJ1802@xxxxxxx>
References: <20120411162627.GJ1802@xxxxxxx>
Reply-to: stan@xxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:11.0) Gecko/20120327 Thunderbird/11.0.1
On 4/11/2012 11:26 AM, Ben Myers wrote:
> Hey Folks,
> 
>     Yesterday I pushed tags to the oss.sgi.com xfs git repository and forgot 
> to
>     disable the post-receive hook which generates email to the list at commit
>     time.  You probably saw the resulting mailbomb.  I'm sorry about that.  In
>     order to make sure it doesn't happen again next time, I have applied the
>     following patch to our post-receive hook:

I curse you for the error Ben and praise you for this correction.
Mailman unsubbed me sometime yesterday according to a subject line.
There was no body, no reason give.  But, I know the cause.

I was limiting concurrent SMTP connections to 1 to fight runaway bots.
Was working great until this bombing run.  The OSS list server runs
Sendmail, which is dumb and opens a new connection for every message
delivery.  This behavior can potentially bring an MX to its knees due to
smtpd process starvation.

Postfix on the other hand will open one connection and keep sending
until all mail queued for the destination MX has been sent, or until
there is more than a 2 second delay between deliveries.

I understand Brent Bice of SGI is building an 'evidence file' to justify
a rebuild of OSS to use Postfix and the latest Mailman.  Maybe you could
lend your support or blessing.

The current OSS list server has other problems as well, including large
delays between receiving posts and sending them back out.  I'm assuming
I'm not the only one to notice this.

Thanks.

-- 
Stan

<Prev in Thread] Current Thread [Next in Thread>