[Mimedefang] Out of memory problem and missing attachments

Steffen Kaiser skmimedefang at smail.inf.fh-bonn-rhein-sieg.de
Thu Jun 24 09:16:52 EDT 2004


Hello,

lately I discovered the rules_du_jour script and had it configured to 
download (and install) some SpamAssassin config files.
That bumped my normal MIMEDefang process from 30MB to about 60MB 
size of the process image and, when it scanned the first mail, easily 
reaches 85MB. That broke my memory limits (-M option of the multiplexor).

I had plenty of:

mimedefang-multiplexor[17235]: Slave 7 stderr: Out of memory!
mimedefang-multiplexor[17235]: Slave 7 ran out of memory -- possible DoS attack due to complex MIME?

Currently I the normal size of a slave is 110MB (85MB resident).

In the same time I experienced a lot of complains that attachements were 
lost during transmition (esp. local only), the log file shows that 
MIMEDefang did found the attachments and scanned them for virus, but did 
not removed them.

Could it be that, because a slave did unexpectedly, the attachements got 
removed and lost?? Actually, it does not occure everytime or to or from 
the same senders/recipients nor when the same pair mails among them, it 
seems to occure randomly.

Bonus question: How much consumes the normal MIMEDefang process? Am I 
using extraordinary large SpamAssassin rules?

Bye,

-- 
Steffen Kaiser



More information about the MIMEDefang mailing list