Continual amavisd restarts

Marius Gologan marius.gologan at gmail.com
Mon Aug 10 09:08:43 CEST 2015


Unfortunately I don't have any other idea in your case.

-----Original Message-----
From: Stephen Davies [mailto:sdavies at sdc.com.au] 
Sent: Monday, August 10, 2015 10:02 AM
To: Marius Gologan; amavis-users at amavis.org
Subject: Re: Continual amavisd restarts

On 10/08/15 15:58, Marius Gologan wrote:
> Stephen,
>
> I had a similar issue. I don't know if mine and yours are the same.
> I solved mine by disabling the use of BerkeleyDB with this setting:
>
> $enable_db = 0;
>
> I didn't noticed any degradation in performances.
> Spamassassin become a child process. If is any error in spamassassin, amavis won't start which I find useful since I often override rules in SA.
>
> I hope this will solve your issue.
>
> Regards,
> Marius.
>
>
> -----Original Message-----
> From: amavis-users 
> [mailto:amavis-users-bounces+marius.gologan=gmail.com at amavis.org] On 
> Behalf Of Stephen Davies
> Sent: Monday, August 10, 2015 8:58 AM
> To: amavis-users at amavis.org
> Subject: Continual amavisd restarts
>
> I posted this question before but didn't get any helpful responses.
>
> My /var/log/maillog is full of messages of the form:
>
> starting. /usr/sbin/amavisd at mustang.sdc.com.au amavisd-new-2.9.1 (20140627), Unicode aware, LANG="en_AU.UTF-8"
>
> followed by all of the module etc messages and ending with:
>
> Creating db in /var/amavis/db/; BerkeleyDB 0.54, libdb 5.3
>
> It looks as if this happens every time an email is received or sent - every minute or so.
>
> Apart from filling the log, this startup sometimes takes so long that the sending of an email fails because there is nothing listening for the sendmail milter request (though a resend always works).
>
> I am not aware of any configuration setting that makes amavisd restart but suspect that it might be the systemctl service.
>
> Can anybody please throw some light on this.
>
> Cheers and thanks,
> Stephen
>
I'm afraid that this change had no effect on the restarts:-((

Amavisd is still restarting and the log looks exactly the same except that DB databases are no longer deleted/created.

-- 



More information about the amavis-users mailing list