[clamav-users] Using clamscan with multiple cores
Gene Heskett
gheskett at wdtv.com
Tue Jun 23 18:47:42 UTC 2015
On Tuesday 23 June 2015 13:24:11 MarkusGMX wrote:
> Am 23/06/15 um 14:10 schrieb Gene Heskett:
> > On Monday 22 June 2015 19:01:34 Dennis Peterson wrote:
> >> And be careful if using the -l option of clamscan.
> >
> > And what might that result in?
> >
> > Warnings like that demand a scenario describing statement where it
> > could backfire.
>
> Perhaps he is thinking of the case where all various clamscan write to
> the same file?
While in the case of a fixed name logfile, I could see that happening,
but in the case of quarrantining a suspect file, again to a fixed global
name, that would appear to be solved automatically by the file locking
mechanism and properly serialized. If that fails, then that OS has a
heck of a lot worse problems than that & deserves what it got.
> Thanks for all the answers.
>
> Does anybody have experience with (or even a ready script for) 'GNU
> parallel' ?
> https://www.gnu.org/software/bash/manual/html_node/GNU-Parallel.html
> ls -d bin/* | parallel clamscan
> looks easy but logging may be difficult in this case too.
>
> Are there plans to put multithreading to clamscan too?
> _______________________________________________
> Help us build a comprehensive ClamAV guide:
> https://github.com/vrtadmin/clamav-faq
>
> http://www.clamav.net/contact.html#ml
Cheers, Gene Heskett
--
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>
More information about the clamav-users
mailing list