Skip to content

Instantly share code, notes, and snippets.

@gabrielgpa
Last active May 11, 2021 14:21
Show Gist options
  • Select an option

  • Save gabrielgpa/554e73ce8c80ff311d1d162de84f0a2f to your computer and use it in GitHub Desktop.

Select an option

Save gabrielgpa/554e73ce8c80ff311d1d162de84f0a2f to your computer and use it in GitHub Desktop.

Revisions

  1. gabrielgpa revised this gist May 11, 2021. 1 changed file with 6 additions and 6 deletions.
    12 changes: 6 additions & 6 deletions inotify_config.md
    Original file line number Diff line number Diff line change
    @@ -1,8 +1,8 @@
    # insert the new value into the system config
    echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
    ### insert the new value into the system config
    `echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p`

    # check that the new value was applied
    cat /proc/sys/fs/inotify/max_user_watches
    ### check that the new value was applied
    `cat /proc/sys/fs/inotify/max_user_watches`

    # config variable name (not runnable)
    fs.inotify.max_user_watches=524288
    ### config variable name (not runnable)
    `fs.inotify.max_user_watches=524288`
  2. gabrielgpa created this gist May 11, 2021.
    8 changes: 8 additions & 0 deletions inotify_config.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,8 @@
    # insert the new value into the system config
    echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p

    # check that the new value was applied
    cat /proc/sys/fs/inotify/max_user_watches

    # config variable name (not runnable)
    fs.inotify.max_user_watches=524288