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
Fail2ban-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fail2ban-users

Reply via email to