[Mimedefang] Out of Memory? & my slaves are misbehaving.

Gerald gcoon at inch.com
Thu Feb 19 13:15:50 EST 2004


Feb 19 11:51:09 sa-relay mimedefang-multiplexor: Slave 5 stderr: Out of
memory!
Feb 19 11:51:09 sa-relay mimedefang-multiplexor: Slave 5 ran out of memory
-- possible DoS attack due to complex MIME?
Feb 19 11:51:09 sa-relay mimedefang-multiplexor: Reap: Idle slave 5 (pid
13957) exited normally with status 1 (SLAVE DIED UNEXPECTEDLY)
Feb 19 11:51:09 sa-relay mimedefang-multiplexor: Slave 5 resource usage:
req=3, scans=3, user=12.301, sys=0.944, nswap=0, majflt=0, minflt=12601, maxrss=31712, bi=0, bo=0
Feb 19 11:51:09 sa-relay mimedefang[10721]: Error from multiplexor: ERR No
response from slave

I'm a little unclear on the slave management within MimeDefang but the
errors above do not seem good. Any way to tell it to send the message even
if it encounters this situation?

Machine is running FreeBSD 4.8, mimedefang-2.39, upgraded perl to 5.6 and
still get:

Feb 19 13:05:48 sa-relay mimedefang-multiplexor: Slave 0 stderr: Out of
memory!
Feb 19 13:05:48 sa-relay mimedefang-multiplexor: Slave 0 ran out of memory
-- possible DoS attack due to complex MIME?
Feb 19 13:05:48 sa-relay mimedefang-multiplexor: Reap: Idle slave 0 (pid
63633) exited normally with status 1 (SLAVE DIED UNEXPECTEDLY)
Feb 19 13:05:48 sa-relay mimedefang-multiplexor: Slave 0 resource usage:
req=1, scans=1, user=9.251, sys=0.653, nswap=0, majflt=0, minflt=12388,
maxrss=31872, bi=30, bo=2
Feb 19 13:05:48 sa-relay mimedefang[63641]: Error from multiplexor: ERR No
response from slave
Feb 19 13:05:48 sa-relay sm-mta[63711]: i1JI5aPr063711: Milter: data,
reject=451 4.7.1 Please try again later

top snapshot:
CPU states:  0.0% user,  0.0% nice,  0.2% system,  0.0% interrupt, 99.8% idle
Mem: 68M Active, 88M Inact, 51M Wired, 27M Cache, 61M Buf, 268M Free
Swap: 512M Total, 512M Free

Running processes:
mailnull 14152  2.6  5.8 30376 30052  ??  S    11:55AM   0:15.85
/usr/bin/perl -w /usr/local/bin/mimedefang.pl -server

mailnull 10709  0.0  0.2  1000  776  ??  S     9:22AM   0:04.39
/usr/local/bin/mimedefang-multiplexor -p
/var/spool/MIMEDefang/mimedefang-multiplexor.pid -m 2 -x 10 -U mailnull -b
600 -R 10000 -M 30000 -l -s /var/spool/MIMEDefang/mimedefang-multiplexor.sock

mailnull 10721  0.0  0.2  1880 1132  ??  S     9:22AM   0:22.69
/usr/local/bin/mimedefang -P /var/spool/MIMEDefang/mimedefang.pid -m
/var/spool/MIMEDefang/mimedefang-multiplexor.sock -U mailnull -p
/var/spool/MIMEDefang/mimedefang.sock

mailnull 14297  0.0  5.6 29332 29008  ??  I    11:59AM   0:06.95
/usr/bin/perl -w /usr/local/bin/mimedefang.pl -server



More information about the MIMEDefang mailing list