@@ -16,14 +16,14 @@ relates to an elevated number of inotify watchers in use.
1616
1717## Background
1818
19- [ ` Inotify ` ] allows programs to monitor files for changes, so that they receive
19+ [ ` inotify ` ] allows programs to monitor files for changes, so that they receive
2020an event whenever a user or program modifies a file. ` inotify ` requires kernel
2121resources (memory and processor) for each file it tracks. As a result, the Linux
2222kernel limits the number of file watchers that each user can register. The
2323default settings vary according to the host system distribution; on Ubuntu 20.04
2424LTS, the default limit is 8,192 watches per instance.
2525
26- [ `Inotify ` ] : https://en.wikipedia.org/wiki/Inotify
26+ [ `inotify ` ] : https://en.wikipedia.org/wiki/Inotify
2727
2828On a 64-bit system, each ` inotify ` watch that programs register will consume
2929~ 1 kB of kernel memory, which cannot be swapped to disk and is not
@@ -42,8 +42,8 @@ There are three kernel tuning options related to the `inotify` system:
4242- ` fs.inotify.max_queued_events ` : The upper bound on the number of file
4343 notification events pending delivery to programs
4444- ` fs.inotify.max_user_instances ` : The maximum number of ` inotify ` instances per
45- user. Programs using ` inotify ` will typically create a single _ instance_ , so
46- this limit is unlikely to cause issues
45+ user (programs using ` inotify ` will typically create a single _ instance_ , so
46+ this limit is unlikely to cause issues)
4747- ` fs.inotify.max_user_watches ` : The maximum number of files and folders that
4848 programs can monitor for changes
4949
@@ -62,7 +62,7 @@ regardless of whether you run the commands on the host system or inside a
6262container running on that host.
6363
6464> See [ inotify(7)] ( https://man7.org/linux/man-pages/man7/inotify.7.html ) for
65- additional details regarding the ` inotify ` system.
65+ > additional details regarding the ` inotify ` system.
6666
6767### Identify inotify consumers
6868
@@ -107,7 +107,7 @@ related to the `test` file.
107107
108108## Resolution
109109
110- If you encounter the file watcher limit, you can:
110+ If you encounter the file watcher limit, you can do one of two things :
111111
1121121 . Reduce the number of file watcher registrations
1131131 . Increase the maximum file watcher limit
@@ -233,7 +233,7 @@ spec:
233233
234234This DaemonSet will ensure that the corresponding pod runs on _every_ Linux node
235235in the cluster. When new nodes join the cluster, such as during an autoscaling
236- event, the DaemonsSet will ensure that the pod runs on the new node as well.
236+ event, the DaemonSet will ensure that the pod runs on the new node as well.
237237
238238You can delete the DaemonSet by running:
239239
0 commit comments