Since 2 or 3 weeks we have problem with amavisd-new on postfix. We got several lines like this : (!)_DIE: Suicide in child_init_hook: BDB no dbS: Lock table is out of available locker entries, . at (eval 51) line 30.\n
And we must restart amavisd because our spools keep on growing and growing in deferral queue. We had to disabled bekeleydb with amavisd. We have found segfaults in /var/log/messages too. We tried Marc Martinec's solution described in this thread http://sourceforge.net/mailarchive/message.php?msg_id=47B333C4.8050204%40phnet.fi Unfortunately it doesn't seem to work. When we look closer to log files it seems that our message pass amavisd check and an error is fired when message is reinjected into postfix (see my log file below). We use centos 4.6 with amavisd-new 2.5.3 and postfix 2.4.6. Feb 25 11:37:35 serverA postfix/qmgr[27196]: A7CB6740E9: from=<[EMAIL PROTECTED]>, size=104301, nrcpt=1 (queue active) Feb 25 11:37:35 serverA amavis[22568]: (22568-01) ESMTP::10024 /var/amavis/tmp/amavis-20080225T113735-22568: <[EMAIL PROTECTED]> -> <[EMAIL PROTECTED]> SIZE=104301 Received: from mx3-v2.toto.net ([127.0.0.1]) by localhost (serverA.toto.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP for <[EMAIL PROTECTED]>; Mon, 25 Feb 2008 11:37:35 +0100 (CET) Feb 25 11:37:35 serverA amavis[22568]: (22568-01) Actual message size 104462 B greater than the declared 104301 B Feb 25 11:37:35 serverA postfix/smtp[22746]: A7CB6740E9: to=<[EMAIL PROTECTED]>, relay=127.0.0.1[127.0.0.1]:10024, delay=2095, delays=2095/0.01/0.01/0.07, dsn=4.4.2, status=deferred (lost connection with 127.0.0.1[127.0.0.1] while sending end of data -- message may be sent more than once) I would understand why there is a difference between size of message declared and actual message size and what could we do against that ? I think BerkeleyDB lock's problem is a consequence of amavisd's crash. Is it to possible for example to tell amavisd that this kind of message should be deleted or forced with the good size ? Thanks in advance for your answer. Sebastien AVELINE. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ AMaViS-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/
