Last active
November 29, 2025 08:02
-
-
Save capaj/c7f0fb13b7206cb4bb93ab583b9b91d4 to your computer and use it in GitHub Desktop.
inotify ubuntu sane defaults
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo tee /etc/sysctl.d/99-inotify.conf >/dev/null <<'EOF' | |
| fs.inotify.max_user_watches = 1048576 | |
| fs.inotify.max_user_instances = 2048 | |
| fs.inotify.max_queued_events = 32768 | |
| EOF | |
| sudo sysctl --system |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
very much recommend doing this on any ubuntu machine you plan to use for serious work.
The default values are comically tiny in 2025: