How to use fs.fanotify.watchdog_timeout to diagnose unresponsive fanotify permission event listeners

Solution Verified - Updated -

Issue

  • How do I enable the fanotify watchdog for permission events?
  • How do I use fs.fanotify.watchdog_timeout to diagnose unresponsive fanotify permission listeners?
  • Which process is responsible for answering fanotify permission events?
  • What does the "failed to respond to fanotify queue for more than <N> seconds" message mean?

Environment

  • Red Hat Enterprise Linux 10.2
    • kernel-6.12.0-211.7.1.el10_2 or later
  • Red Hat Enterprise Linux 9.8
    • kernel-5.14.0-687.5.1.el9_8 or later
  • Red Hat Enterprise Linux 8.10.z
    • kernel-4.18.0-553.83.1.el8_10 or later
  • sysctl parameter (fs.fanotify.watchdog_timeout)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content