Skip to content

Instantly share code, notes, and snippets.

@guy9
Last active August 15, 2023 12:55
Show Gist options
  • Save guy9/afc2eb3671a5e31fa89ce0c2f2424204 to your computer and use it in GitHub Desktop.
Save guy9/afc2eb3671a5e31fa89ce0c2f2424204 to your computer and use it in GitHub Desktop.
aio-max-nr-change.bash
ubuntu $ cat /proc/sys/fs/aio-max-nr
65536
ubuntu $ echo "fs.aio-max-nr = 1048576" >> /etc/sysctl.conf
ubuntu $ sysctl -p /etc/sysctl.conf
fs.inotify.max_user_watches = 524288
fs.aio-max-nr = 1048576
ubuntu $
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment