[clamav-users] How to boost clamav? Reloading database results in a talking timeout?

tbarth at txbweb.de tbarth at txbweb.de
Sat Aug 31 10:25:05 EDT 2019


Hallo Mailinglist,

sometimes I get in Postfix the error messages "451 4.3.0 Error: queue 
file write error". There is a warning timeout talking to localhost:10024 
(Amavis)


Aug 31 14:14:19 mx2 postfix/smtpd[15861]: connect from 
unknown[177.37.96.254]
Aug 31 14:14:20 mx2 postfix/smtpd[15861]: NOQUEUE: 
client=unknown[177.37.96.254]
Aug 31 14:16:02 mx2 postfix/smtpd[15861]: warning: timeout talking to 
proxy localhost:10024
Aug 31 14:16:02 mx2 postfix/smtpd[15861]: proxy-reject: END-OF-MESSAGE: 
451 4.3.0 Error: queue file write error; 
from=<BillyThompson at lookandwellness.it> to=<yr at domain.de> proto=ESMTP 
helo=<lookandwellness.it>
Aug 31 14:16:02 mx2 postfix/smtpd[15861]: disconnect from 
unknown[177.37.96.254] ehlo=1 mail=1 rcpt=1 data=0/1 commands=3/4

(Not hiding the from address, it s used by a spammer :))

Normally postfix gets a response after 3 secondes.

In the clamav.log I see at the same time, that reloading the database 
takes up to two minutes.

/var/log/clamav/clamav.log
Sat Aug 31 14:14:15 2019 -> Database correctly reloaded (10971844 
signatures)
Sat Aug 31 14:14:15 2019 -> Reading databases from /var/lib/clamav
Sat Aug 31 14:14:15 2019 -> 
/var/lib/amavis/tmp/amavis-20190831T125532-12347-lWbaS7Ci/parts/p001: 
Sanesecurity.Scam.12584.UNOFFICIAL(00000000000000000000000000000000:6617) 
FOUND
Sat Aug 31 14:16:13 2019 -> Database correctly reloaded (10971844 
signatures)
Sat Aug 31 14:16:13 2019 -> 
/var/lib/amavis/tmp/amavis-20190831T120830-10930-zSEWR54L/parts/p001: 
Sanesecurity.Scam.12559.UNOFFICIAL(00000000000000000000000000000000:6449) 
FOUND

Is reloading a database blocking the e-Mail scanning? So how can I boost 
this process? It's a virtual server with 100% ssd and 6 cores (Intel(R) 
Xeon(R) CPU E5-2630 v4 @ 2.20GHz) and Debian Buster.


Best regards,
Thomas Barth


More information about the clamav-users mailing list