2013-09-29 10:26 keltezéssel, Boszormenyi Zoltan írta:
2013-09-29 04:26 keltezéssel, Benny Pedersen írta:

Is is possible to make ClamAV use less memory perhaps by repetitive
scanning with a smaller subset of the virus signature file at a time?

freshclam and clamd can use diff database dir, so if you really like to not use main.cvd then setup freshclam.conf with database dir of freshclam, then use rsync for daily.* from the freshclam to clamd database dir

Thanks. How can I do that? clamdoc.pdf from 0.97.8
(present on my Fedora desktop) doesn't answer that for me.

Also, there is a little problem: daily cdiff files older than daily-17823.cdiff
are not available.

sigtool cannot seem to have an out-of-box feature to break main.cvd into 
smaller pieces.
"sigtool --unpack-current=main" extracted quite a few files. main.mdb is about 
132MB,
no wonder it causes OOM.

Is there a description of the format of the files embedded in main.cvd and daily.cvd somewhere? I can write a utility then to break them up into arbitrary sized files which can be treated as "3rd party" cvd files.



remember no one can force anyone to not run lowmemed :)

Indeed. :-)


imho this question is not answered here, but lets see if there is not some one else with other solutions

just remember also there is important files in main you must have in clamd this can be extracted with sigtool --unpack-current=main and then moved into clamd database dir

not perfect but it works

what virus do you like to catch ?

I hope none. :-)





_______________________________________________
Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq
http://www.clamav.net/support/ml


_______________________________________________
Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq
http://www.clamav.net/support/ml


_______________________________________________
Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq
http://www.clamav.net/support/ml

Reply via email to