Re: Using linux command "find" to get m odified files list for scan
neel roy via clamav-users <[email protected]>
| Newsgroups | gmane.comp.security.virus.clamav.user |
|---|---|
| Message-ID | <1734082489.S.19777.autosave.drafts.1734082997.7046@webmail.rediffmail.com> |
Hello Masaru, > Have you tried using CGroup to limit resources or changing the clamd > configuration file (adding MemoryLimit=768M, CPUQuota=30% lines)? Apologies for late reply. Had to 6 months old conversations to get info needed. What you suggest, CPUQuota, is available for services, is it not? We could not use clamd service because of permission issue on selinux: https://github.com/Cisco-Talos/clamav/issues/582 So we ended up using clamd as standalone process. I don't know what else can I try other than somehow coming with incremental scan - writing my own fanotify based code which I am finding _surprisingly_ complicated (compared to Windows one I tried years back!). Thanks in advance, -Neel. From: Masaru Nomiya <[email protected]> Sent: Tue, 10 Dec 2024 13:02:39 To: [email protected] Cc: [email protected] Subject: Re: [clamav-users] Using linux command "find" to get modified files list for scan Hello, Sorry for late reply. In the Message; Subject : Re: [clamav-users] Using linux command "find" to get modified files list for scan Message-ID : <1733801811.S.30439.autosave.drafts.1733802148.16449@webmail.rediffmail.com> Date & Time: 10 Dec 2024 03:42:28 -0000 [NR] == "neel roy" <[email protected]> has written: NR> [1 <text/plain; UTF-8 (7bit)>] NR> Hello Masaru, MN>> I think Neel's intention is to reduce the system load. NR> Thanks! Yes, and it's all over internet - discussions about NR> ClamAV CPU usage. I did face the same problem with McAfee but NR> that was 15 years back. So, I think it goes to show that is NR> possible. Is it not possible for clamav dev to do something about NR> it? NR> On 8 CPU machine, clamav takes about 40% overall CPU with -m NR> option. That's HUGE. On 4 vCPU VM, it takes ALL with -m NR> option. NR> People seem to come up with lot of strategies - incremental scan, NR> cpulimit, cPanel to name few. Have you tried using CGroup to limit resources or changing the clamd configuration file (adding MemoryLimit=768M, CPUQuota=30% lines)? Best Regards. --- $B(.(,(,(/WD(B Masaru Nomiya mail-to: nomiya @ lake.dti.ne.jp $B(-!@!?WD(B $B(1(,(,(0(B "Distinguish between what is meaningful to me and what is meaningless, and forget what is meaningless to me. This is where individuality comes into play. This is a function that computer cannot perform." -- Shigehiko Toyama (in Japanes) -- _______________________________________________ Manage your clamav-users mailing list subscription / unsubscribe: https://lists.clamav.net/mailman/listinfo/clamav-users Help us build a comprehensive ClamAV guide: https://github.com/Cisco-Talos/clamav-documentation https://docs.clamav.net/#mailing-lists-and-chat