Re: clamd socket timeout and failover

Michael Orlitzky <[email protected]>
Newsgroups gmane.mail.virus.amavis.user
Message-ID <[email protected]>
On Thu, 2021-08-19 at 12:09 +0200, Matus UHLAR - fantomas wrote:
> Hello,
> 
> it looks that when amavisd receives timeout from clamd, it falls to calling
> clamscan.
> 
> Can I tune this timeout and optionally disable fallback?
> 
> when our system is overloaded, calling clamscan makes it even worse.
> 

I would just delete the clamscan fallback entirely:

  (a) There aren't many plausible scenarios where clamdscan fails
      but clamscan works.

  (b) Running clamscan on a production mail system is going to kill it.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.