Wow. Sounds like a massive hosting. You might be better off creating either
more servers or not concentrating log analysis that way. Regarding your
specific query, I would claim the jail condition and the commands you use
are naturally different.
On Wed, Feb 14, 2024, 13:30 高井 進吾 via Fail2ban-users <
fai...@li...> wrote:
> Hi,
>
> I use Fail2ban to monitor logs for many domains.
> The number of log files monitored based on the conditions listed in the
> jail was 7200.
> However, when I executed the following command on the server, counted
> the files monitored by inotify, and extracted the Fail2ban process from
> among them, the number of files was 8160.
>
> find /proc/*/fd -lname anon_inode:inotify -printf '%hinfo/%f\n'
> 2>/dev/null | xargs grep -c '^inotify' | sort -n -t: -k2 -r
>
> What does this difference represent?
>
> Shingo Takai
>
>
>
> _______________________________________________
> Fail2ban-users mailing list
> Fai...@li...
> https://lists.sourceforge.net/lists/listinfo/fail2ban-users
>
|