My advice is not to use the Prevention option because it slows everything down 
too much, and to make sure it is configured properly so that the on-access 
scanning service does not monitor the scanning process because that causes an 
infinite loop.


Micah Snyder (they/them)
ClamAV Development
Talos
Cisco Systems, Inc.
________________________________
From: Giacomazzi Gabriele Antonio 
<gabrieleantonio.giacoma...@stud.itsaltoadriatico.it>
Sent: Wednesday, July 24, 2024 10:54 AM
To: Micah Snyder (micasnyd) <micas...@cisco.com>
Cc: ClamAV users ML <clamav-users@lists.clamav.net>
Subject: Re: [clamav-users] clamav preventing CLion from working properly

So your advice is to just don't use the on-access feature, am i right?
But why on some workstations it works like a charm and on others it just does 
not let you work?

Regards,
Gabriele

Il giorno mer 24 lug 2024 alle ore 16:39 Micah Snyder (micasnyd) 
<micas...@cisco.com<mailto:micas...@cisco.com>> ha scritto:
The "OnAccessPrevention" feature will really slow down other programs, 
especially software that touches a lot of files like CLion, VSCode, Git. I 
cannot recommend it.

Even with this disabled, ClamAV on-access scanning probably won't keep up with 
your activity and will likely monopolize at least one CPU core.

Also make sure that you set "OnAccessExcludeUname clamav" and that ClamD is 
running as the "clamav" user. If not, then "clamonacc" will try to scan the 
temp files created from ClamD scans. That'll make things grind to a halt.

> Now clamd process spikes to 100% of cpu (thing that makes me go crazy
> since i don't understand why it does not use more than 1 cpu) every time
> i open any program.

I'm not sure about it not using more cores. ClamD's multi-threading 
capabilities need work.



Micah Snyder (they/them)
ClamAV Development
Talos
Cisco Systems, Inc.

________________________________
From: clamav-users 
<clamav-users-boun...@lists.clamav.net<mailto:clamav-users-boun...@lists.clamav.net>>
 on behalf of Giacomazzi Gabriele Antonio via clamav-users 
<clamav-users@lists.clamav.net<mailto:clamav-users@lists.clamav.net>>
Sent: Wednesday, July 24, 2024 10:26 AM
To: ClamAV users ML 
<clamav-users@lists.clamav.net<mailto:clamav-users@lists.clamav.net>>
Cc: Giacomazzi Gabriele Antonio 
<gabrieleantonio.giacoma...@stud.itsaltoadriatico.it<mailto:gabrieleantonio.giacoma...@stud.itsaltoadriatico.it>>
Subject: Re: [clamav-users] clamav preventing CLion from working properly

Hi, thanks for replying.
The on-access feature it's required by the company i work for.
I don't understand where the problem is since i've done the same configuration 
on all workstations, but in some of them there is this problem.

Regards,
Gabriele

Il giorno mer 24 lug 2024 alle ore 15:45 Gary R. Schmidt via clamav-users 
<clamav-users@lists.clamav.net<mailto:clamav-users@lists.clamav.net>> ha 
scritto:
On 24/07/2024 23:35, Giacomazzi Gabriele Antonio via clamav-users wrote:
> Hi everyone,
> I'm running into some problems with clamav and CLion.
>
> For context, we are talking about a workstation running fedora 40.
> I activated clamonacc and, since I was monitoring /home and every CLion
> project was in that directory, CLion was building very slowly.
> I excluded the path where all the projects were stored
> (/home/user/CLionProjects) and it all worked great until I rebooted the pc.
> Now clamd process spikes to 100% of cpu (thing that makes me go crazy
> since i don't understand why it does not use more than 1 cpu) every time
> i open any program. This happens with chrome, skype and every other but
> CLion... CLion is prevented from starting for about 10 minutes, then it
> works very slow like i never made any changes.
> Let me know if you guys need anything that could help you understand
> what the problem is.
>
> Please help me understand the problem and maybe resolve it in any way.
>

Well, yes, on-access scanning will chew up io and cpu.

And why do you think you need it?

        Cheers,
                Gary    B-)
_______________________________________________

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
_______________________________________________

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

Reply via email to