On 02.09.21 15:45, Karakanovski, Anton via clamav-users wrote:
I am writing regarding more information related to usage of clamscan. First I want to share the problem/observation that we have - currently we try to make three scans at a same time (some kind of performance test using jmeter) but unfortunately only the first scan is successful and the rests are with code 2 instead of 0.
how much of memory do you have? clamscan can take ~1.5GB
I found in clamAV documentation that clamscan is "one-time scanning" but couldn't understand much. Also try find some information in the archive but actually with no result. Can you please explain what is the actual limitation for clamscan and what means "one-time scanning" - does it mean that only one scan engine could be initiated at a time or only one file could be scan?
it means that clamscan loads virus database, scans file/files and exits. It can scan multiple files or directories, one after another and then it exits. for each clamscan run, it needs to load virus database again, which can be most CPU expensive operation. -- Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail advertising to this address. Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu. "Where do you want to go to die?" [Microsoft] _______________________________________________ clamav-users mailing list clamav-users@lists.clamav.net https://lists.clamav.net/mailman/listinfo/clamav-users Help us build a comprehensive ClamAV guide: https://github.com/vrtadmin/clamav-faq http://www.clamav.net/contact.html#ml