Skip to content
This repository was archived by the owner on Aug 18, 2025. It is now read-only.

Commit 1d004f5

Browse files
author
Katie Horne
committed
Apply changes from code review
1 parent 26e5a3c commit 1d004f5

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

guides/troubleshooting/inotify-watch-limits.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -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
2020
an event whenever a user or program modifies a file. `inotify` requires kernel
2121
resources (memory and processor) for each file it tracks. As a result, the Linux
2222
kernel limits the number of file watchers that each user can register. The
2323
default settings vary according to the host system distribution; on Ubuntu 20.04
2424
LTS, 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

2828
On 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
6262
container 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

112112
1. Reduce the number of file watcher registrations
113113
1. Increase the maximum file watcher limit
@@ -233,7 +233,7 @@ spec:
233233
234234
This DaemonSet will ensure that the corresponding pod runs on _every_ Linux node
235235
in 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
238238
You can delete the DaemonSet by running:
239239

0 commit comments

Comments
 (0)