2 fold question
Rick Cooper
rcooper at dwford.com
Thu Jun 19 04:42:49 IST 2014
ClamAV uses the command line clamscan for scanning, is slow (have to load
dbs) and a bit of a resource hog, ClamAV module is a perl interface to
libclamav and is also a hog because it loads a copy of the db into memory
for each child but only has to do it when MailScanner loads that child the
first time. The best choice is neither, use clamd.
clamd shares the resources between children and thus the real memory per
child is much less and a far less load, is not perl. When MailScanner uses
clamd it talks directly to the clam daemon and doesn't have to load anything
at all, just tell the daemon where/what to scan
IMHO the same thing should be done with spamd, I wrote the code years ago
and it's really no faster (or at least negligibly so) but far less memory
and resources once again, than using the perl interface. It was difficult to
get Julian to incorporate the clamd code but he never did incorporate the
spamd code unfortunatly.
Rick
_____
From: mailscanner-bounces at lists.mailscanner.info
[mailto:mailscanner-bounces at lists.mailscanner.info] On Behalf Of Philip
Parsons
Sent: Wednesday, June 18, 2014 6:27 PM
To: MailScanner discussion
Subject: RE: 2 fold question
Anyone able to answer the first part of my question ? whats the diff between
using clamav or clamavmodule
From: mailscanner-bounces at lists.mailscanner.info
[mailto:mailscanner-bounces at lists.mailscanner.info] On Behalf Of Philip
Parsons
Sent: June-18-14 1:56 PM
To: MailScanner discussion
Subject: RE: 2 fold question
Did that no go same error.
From: <mailto:mailscanner-bounces at lists.mailscanner.info>
mailscanner-bounces at lists.mailscanner.info [
<mailto:mailscanner-bounces at lists.mailscanner.info>
mailto:mailscanner-bounces at lists.mailscanner.info] On Behalf Of Jeremy
McSpadden
Sent: June-18-14 1:01 PM
To: MailScanner discussion
Subject: Re: 2 fold question
You could have a corrupted db file. wipe all files in
/usr/local/share/clamav/ and run freshclam .. see if it starts then.
--
Jeremy McSpadden
Flux Labs | <http://www.fluxlabs.net/> http://www.fluxlabs.net | Endless
Solutions
Office : 850-250-5590x501 | Cell : 850-890-2543 | Fax : 850-254-2955
On Jun 18, 2014, at 2:43 PM, Philip Parsons <pparsons at techeez.com> wrote:
No selinux is disabled and it just started in version 0.98.4
--
This message has been scanned for viruses and
dangerous content by <http://www.mailscanner.info/> MailScanner, and is
believed to be clean.
--
This message has been scanned for viruses and
dangerous content by <http://www.mailscanner.info/> MailScanner, and is
believed to be clean.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mailscanner.info/pipermail/mailscanner/attachments/20140618/16431e8e/attachment.html
More information about the MailScanner
mailing list