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

tbarth at txbweb.de tbarth at txbweb.de
Sat Aug 31 11:00:50 EDT 2019


Am 2019-08-31 16:32, schrieb Henrik K:
> The reload bug has been known for years, even has a ready patch.

Wow, this is a masterpiece ignoring a problem for years :) Thanks for 
pointing to the bugthread.

> But nothing you can do about it, ClamAV devs have a mind of their own.


Micah Snyder 2019-08-22 14:38:59 EDT
"We are not actively working on this, though it is on our list."


Realy bad attitude of developers! Fixing errors and problems must always 
have highest priority before developing new things!






> 
> Atleast servers in your scenario will (hopefully) retry sending.

Not the spammer.

> 
> 
> On Sat, Aug 31, 2019 at 04:25:05PM +0200, Thomas Barth via clamav-users 
> wrote:
>> 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
>> 
>> _______________________________________________
>> 
>> clamav-users mailing list
>> clamav-users at lists.clamav.net
>> https://lists.clamav.net/mailman/listinfo/clamav-users
>> 
>> 
>> Help us build a comprehensive ClamAV guide:
>> https://github.com/vrtadmin/clamav-faq
>> 
>> http://www.clamav.net/contact.html#ml
> 
> _______________________________________________
> 
> clamav-users mailing list
> clamav-users at lists.clamav.net
> https://lists.clamav.net/mailman/listinfo/clamav-users
> 
> 
> Help us build a comprehensive ClamAV guide:
> https://github.com/vrtadmin/clamav-faq
> 
> http://www.clamav.net/contact.html#ml


More information about the clamav-users mailing list