Hello, In the Message; Subject : Re: Tumbleweed, Clamd is spamming my journal with thousand of line of "path check failures" making it de facto unreadable Message-ID : <3444630.MPPLTMjN7s@silversurfer> Date & Time: Sun, 27 Oct 2024 10:10:35 +0100 Stakanov via openSUSE Users <users@lists.opensuse.org> has written:
In data domenica 27 ottobre 2024 02:50:24 Ora standard dell’Europa centrale, Masaru Nomiya ha scritto:
MN> > clamonacc is notorious as a cpu eater, but is it okay? [...]
So having a 12 core system with a good amount of RAM, a slight amount of CPU eaten is, by my current setup, acceptable, given all the aforementioned considerations. [...]
After writing the email, I set up the same thing in my environment, and clamonacc is running smoothly with no problems in journalctl. I feel that the clamd.conf settings are the key; --- /etc/clamd.conf.orig 2024-10-23 12:17:14.546321313 +0900 +++ /etc/clamd.conf 2024-10-27 15:48:07.895738319 +0900 @@ -686,7 +686,7 @@ # multiple OnAccessIncludePath directives but each directory must be added # in a separate line. # Default: disabled -#OnAccessIncludePath /home +OnAccessIncludePath /home #OnAccessIncludePath /students # Set the exclude paths. All subdirectories are also excluded. @@ -697,7 +697,7 @@ # If off, fanotify will only notify if the file scanned is a virus, # and not perform any blocking. # Default: no -#OnAccessPrevention yes +OnAccessPrevention yes # When using prevention, if this option is turned on, any errors that occur # during scanning will result in the event attempt being denied. This could @@ -756,7 +756,7 @@ # It has the same potential race condition limitations of the # OnAccessExcludeUID option. # Default: disabled -#OnAccessExcludeUname clamav +OnAccessExcludeUname clamav # Number of times the OnAccess client will retry a failed scan due to # connection problems (or other issues). If you are going to use clamonacc for a client, it would be essential to investigate the various options prepared for it. Best Regards & Good Night. --- ┏━━┓彡 Masaru Nomiya mail-to: nomiya @ lake.dti.ne.jp ┃\/彡 ┗━━┛ " The production of A.I. seems to carry a powerful side effect: as the machines generate intelligence, they also generate mystery. Human misunderstanding endures, possibly a permanent condition. " -- "Was Linguistic A.I. Created by Accident?" NEW YORKER --