On 2014-02-25 17:08:56 [+0700], Sthu wrote: > FYI: about three weeks (after update) i see this behavior: > > /usr/bin/clamscan -r --bell --infected --detect-pua=yes --scan-elf=yes > --scan-mail=yes --algorithmic-detection=yes --scan-pe=yes --scan-ole2=yes > --scan-pdf=yes --scan-html=yes --scan-archive=yes ./dir > > LibClamAV Warning: fmap: map allocation failed > LibClamAV Error: CRITICAL: fmap() failed > LibClamAV Warning: fmap: map allocation failed > LibClamAV Error: CRITICAL: fmap() failed > > ----------- SCAN SUMMARY ----------- > Known viruses: 3137431 > Engine version: 0.98.1 > Scanned directories: 2 > Scanned files: 1 > Infected files: 0 > Total errors: 2 > Data scanned: 0.15 MB > Data read: 2736.85 MB (ratio 0.00:1) > Time: 12.648 sec (0 m 12 s)
I tried a few things and didn't manage to reproduce this. It seems you try to scan one file which is approx. 2.7 GiB in size and the error message you quoted comes if you ran out of memory. Could you please state the amount of memory you have. Is it possible to share that file you try scan? If not can you give something else that shows that error? Sebastian _______________________________________________ Pkg-clamav-devel mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-clamav-devel
