Discussion:
Can somebody explain the differences between clamavmodule vs clamd
Brent Bolin
2009-08-20 22:16:22 UTC
Permalink
Performance, abilities etc...
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mailscanner.info/pipermail/mailscanner/attachments/20090820/b2033b06/attachment.html
Martin Hepworth
2009-08-20 23:42:55 UTC
Permalink
clamd is normally recommended now as clammodule normally (usually) needs
upgrading everytime clamav puts out a new version and this gives a large lag
between the two..

MailScanner also starts quicker and is smaller with clamd as it doesn't need
to load all the signatures and code on each child start.

Someone did a performance test a while ago (months), I can't remember the
results but I *think* from experience clamd is faster.
--
Martin Hepworth
Oxford, UK
Post by Brent Bolin
Performance, abilities etc...
Thanks
--
MailScanner mailing list
http://lists.mailscanner.info/mailman/listinfo/mailscanner
Before posting, read http://wiki.mailscanner.info/posting
Support MailScanner development - buy the book off the website!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mailscanner.info/pipermail/mailscanner/attachments/20090820/e5a165e7/attachment.html
Eduardo Casarero
2009-08-20 23:46:45 UTC
Permalink
Post by Martin Hepworth
clamd is normally recommended now as clammodule normally (usually) needs
upgrading everytime clamav puts out a new version and this gives a large lag
between the two..
MailScanner also starts quicker and is smaller with clamd as it doesn't
need to load all the signatures and code on each child start.
Someone did a performance test a while ago (months), I can't remember the
results but I *think* from experience clamd is faster.
and the memory footprint of mailscanner is really small compared to
clamavmodule
Post by Martin Hepworth
--
Martin Hepworth
Oxford, UK
Post by Brent Bolin
Performance, abilities etc...
Thanks
--
MailScanner mailing list
http://lists.mailscanner.info/mailman/listinfo/mailscanner
Before posting, read http://wiki.mailscanner.info/posting
Support MailScanner development - buy the book off the website!
--
MailScanner mailing list
http://lists.mailscanner.info/mailman/listinfo/mailscanner
Before posting, read http://wiki.mailscanner.info/posting
Support MailScanner development - buy the book off the website!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mailscanner.info/pipermail/mailscanner/attachments/20090820/7b3d3097/attachment.html
Steve Freegard
2009-08-20 23:47:33 UTC
Permalink
Post by Brent Bolin
Performance, abilities etc...
clamavmodule:

advantages:

no daemon to crash

disadvantages:

memory usage; each MailScanner child has a full copy of the signatures
in memory.

Mail::ClamAV module breaks on each new release; it can take some time
for the author to fix these issues.

Requires MailScanner reload on signature update to reload the ClamAV
signatures.

clamd:

advantages:

far lower memory usage; as Clamd is threaded it only has one copy of the
signatures and each thread handles a connection from the MailScanner
children.

freshclamd can be used to update signatures; Clamd will get notified and
reload the signatures without interruption to service (although there
will be increased memory usage for a time).

More standard way of speaking to Clamd

disadvantages:

Daemon required to be running (it doesn't crash for me; others have had
issues with Sane sigs in the past), so service monitoring is required.

Regards,
Steve.

Loading...