Qmail
[Top] [All Lists]

Re: Dozens of qmail-smtpd processes eating 100% of CPU

To: qmail@list.cr.yp.to
Subject: Re: Dozens of qmail-smtpd processes eating 100% of CPU
From: Alex Kirk <alex.kirk@sourcefire.com>
Date: Fri, 18 May 2007 16:28:12 -0400
Delivered-to: sp-com-lists@consult.net
Delivered-to: gmail-qmail@securepoint.com
Delivered-to: sp.com.list@gmail.com
Delivered-to: mailing list qmail@list.cr.yp.to
In-reply-to: <20070518195903.GF18422@caesar.cse.nd.edu>
Mailing-list: contact qmail-help@list.cr.yp.to; run by ezmlm
References: <464DBC1B.30204@sourcefire.com> <20070518163703.GH29250@marvin.we-be-smart.org> <464DE3E0.8070200@sourcefire.com> <20070518175145.GA18422@caesar.cse.nd.edu> <924f29280705181128l286d84fdia4de414a7df6f2a1@mail.gmail.com> <20070518184604.GD18422@caesar.cse.nd.edu> <464E02AC.7000908@sourcefire.com> <20070518195903.GF18422@caesar.cse.nd.edu>
User-agent: Thunderbird 1.5.0.9 (X11/20070104)
Kyle Wheeler wrote:
On Friday, May 18 at 03:46 PM, quoth Alex Kirk:
Even easier:

    openssl s_client -starttls smtp -connect localhost:25

If that takes longer than a second to connect, we've found our culprit.

~Kyle
Nope. Took maybe a half-second before I got "CONNECTED(00000004)".

Sorry, I misspoke. It's not how long it takes to get connected, it's how long it takes to see the greeting. The greeting will look something like this:

    220 domain.com

~Kyle
Aha! That's definitely it!

Thank you so much for continuing to work with me on this. I *greatly* appreciate it.

Meanwhile, for posterity's take, I got dh1024.pem and dh512.pem out of /usr/src/lib/libssl/src/apps/ on my OpenBSD 3.8 system (you may not have to generate them, just copy them from somewhere like I did).

I'm going to go look at the docs for the starttls patch, because it's unlike me to have skipped a step like this. Hopefully either I was an idiot when I installed the patch, or I can submit a doc patch to spare other people this hassle in the future.

Alex Kirk


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