[Mimedefang] Mimedefang acting strange after upgrade to kernel 2.6.

Matthew Schumacher matt.s at aptalaska.net
Tue Mar 14 13:02:09 EST 2006


So I finally upgraded to kernel 2.6.15.6 and now I am noticing strange
things.  Anyone have an explanation for any of it?

1.  I no longer see mimedefang.pl in the ps list.  It only shows
/usr/bin/mimedefang-multiplexor and /usr/bin/mimedefang processes.  In
the log it says there are slaves:

Starting slave 8 (pid 15420) (10 running): Bringing slaves up to
minSlaves (10)

But that process is a /usr/bin/mimedefang-multiplexor process:

defang   15420  2350  0 08:42 ?        00:00:00
/usr/bin/mimedefang-multiplexor -p
/var/spool/MIMEDefang/mimedefang-multiplexor.pid -E -m 10 -x 50 -U
defang -b 90 -l -T -s /var/spool/MIMEDefang/mimedefang-multiplexor.sock

2.  Every now and then I get this error:

mimedefang-multiplexor[3459]: Slave 51 stderr: dns: sendto() failed:  at
/usr/lib/perl5/site_perl/5.8.6/Mail/SpamAssassin/DnsResolver.pm line 274.

I have looked though the SA code a little and from what I can tell, SA
is having a hard time sending a DNS packet.  Anyone else see this?
Also, it's interesting that the error is coming from
mimedefang-multiplexor.  Did the multiplexor and filters become one
process along the line and I missed it?

3.  I am now getting this error:

Mar 14 07:25:50 larry mimedefang-multiplexor[3459]: Slave 6 stderr: DBI
connect('database=xxxx;host=localhost','xxxx',...) failed: Too many
connections at /etc/mail/mimedefang-filter line 542

I connect to a mysql database in filter_initialize so that I have a dbi
connection I can query as I process my filters, but suddenly I have too
many connections.  This is really strange because the max slaves is set
to 60, and the default setting on mysql is to allow 100 connections.
Unless mimdefang is calling filter_initialize more than once per slave I
don't know how this could be possible, and mimedefang is the only
process using mysql on this host.

Anyway, if anyone has thoughts or ideas they would be greatly appreciated.

schu



More information about the MIMEDefang mailing list