Skip to content

Revise.jl complains about inotify and recommends to set it to 65536, although it is already 1_000_000+` #1010

@dmitry-kabanov

Description

@dmitry-kabanov

I have installed Revise.jl in Julia 1.11.8. during installation it has complained about "precompile" directive which I have ignored as it was incomprehensible.

If I try to use it, I got like 20+ warnings like this:

julia> using Revise
┌ Warning: Your operating system has run out of inotify capacity.
│ Check the current value with `cat /proc/sys/fs/inotify/max_user_watches`.
│ Set it to a higher level with, e.g., `echo 65536 | sudo tee -a /proc/sys/fs/inotify/max_user_watches`.
│ This requires having administrative privileges on your machine (or talk to your sysadmin).
│ See https://github.com/timholy/Revise.jl/issues/26 for more information.
└ @ Revise ~/.julia/packages/Revise/b0dDX/src/packagedef.jl:83

And if I check the number of watches, it is actually more than a million:

❯ cat /proc/sys/fs/inotify/max_user_watches
1048576

Ubuntu 24.04.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions