On 2020-04-01 16:08, Vladislav Kurz via clamav-users wrote:

Hello,

Thanks for your answer.



Are you running clamav as daemon?

Sure.



Is c-icap using the daemon socket (as if runing clamdscan)?

AFAIK it does.
I've got this in its config:
# Path to the clamd socket, use clamd_local if you use Unix socket or if clamd
# is listening on an Inet socket, comment clamd_local and set the clamd_ip and
# clamd_port to the corresponding value.
clamd_local /var/run/clamav/clamd.sock




If not it might be spawning clamscan for every downloaded

I see "clamd" using a lot CPU when I surf the web, not a clamscan process.




Also check if you have enough memory both clamav and squid can eat a lot, so
check if you are not swapping.

Systems where I'm trying this range from 4 to 64GiB: should be enough.
The one I'm looking at now has 16GiB and 1% swap in use (which is the minimum I've ever seen, basically meaning no swap).



 bye & Thanks
        av.

_______________________________________________

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

Reply via email to