Skip to content

Warning "Unable to watch for file changes" regardless of "max_user_watches" set to 524288 #16747

@mbucas

Description

@mbucas

Bug Description:

Each time I start TheiaIDE, I get the warning message Unable to watch for file changes in this large workspace. Please follow the instructions link to resolve this issue.

I've applied the instructions to increase fs.inotify.max_user_watches=524288 and it's effective:

$ cat /proc/sys/fs/inotify/max_user_watches
524288

My workspace contains 2808 files and 823 folders (including .git).

Please note that my workspace is stored on NFS4.

Steps to Reproduce:

  1. Open TheiaIDE
  2. Open small workspace
  3. The following warning message appears: Unable to watch for file changes in this large workspace. Please follow the instructions link to resolve this issue.

Additional Information

  • Operating System: Gentoo Linux, with Linux Kernel 6.12.41
  • Theia Version: Eclipse Theia IDE, Version 1.66.200

Both NFS Server and NFS Client are Gentoo Linux using the same version of NFS4 = net-fs/nfs-utils-2.7.1-r1 and Linux Kernel 6.12.41.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions