On Tue, 18 Sep 2007, John L wrote:
I turned off the qmail-smtpd and added its IP to qpsmtpd, and it went nuts,
90 processes, load averages upwards of 15. I have some custom plugins, a
couple that make very cheap UDP calls, to check greylisting and to check
whether a rcpt address is valid, a couple that pass mail that survives the
DNSBLs and heuristics to DCC and spamassassin, and one that logs all the
messages in a MySQL database (not the message body, just envelope, IPs, and
some flags.)
When I did a top command, it was all perl qpsmtpd processes running. Any
idea what the problem is?
None without some profiling. But a couple of random things to check - any
chance you have UTF-8 settings in your environment? What version of perl
are you on?
Neither of those things would entirely make sense for the slow down, but
could be bad anyway...
Also is there any way you can disable plugins one by one and find out if
it's any particular plugin causing the problem?
I also wonder if changes I made in 0.4x have caused performance issues -
anyone upgraded to find things slowing down?
I'm not averse to trying qmail-async, but it's not clear how I can make that
work with the mysql library.
I get the feeling it wouldn't solve your problem.
Matt.