[Mimedefang] MIMEDefang crashing regularly
David F. Skoll
dfs at roaringpenguin.com
Wed Mar 17 12:18:05 EST 2004
On Wed, 17 Mar 2004, Aaron Paetznick wrote:
> MIMEDefang has been crashing on me fairly regularly and it's driving me
> bonkers.
libmilter has a "feature" that I've complained bitterly about to Claus
Assman. If pthread_create() fails too many times in a row, libmilter
calls exit(), and basically you're dead in the water. I've observed
this on a very busy mail server.
I sent a patch to sendmail.org to fix this; no word yet if it's been
accepted.
My solution, like yours, was to have a script that runs once a minute
to verify that mimedefang and mimedefang-multiplexor are still running,
and restart if something goes wrong. I don't watch the logfile, though;
I just "kill -0 `cat /var/spool/MIMEDefang/mimedefang.pid`" (similarly
for the multiplexor) and restart everything if either kill fails.
--
David.
More information about the MIMEDefang
mailing list