-
Notifications
You must be signed in to change notification settings - Fork 989
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The user limit on the total number of inotify watches was reached #163
Comments
After increasing the limits, you need to run |
👍 |
echo 999999 | sudo tee -a /proc/sys/fs/inotify/max_user_watches && echo 999999 | sudo tee -a /proc/sys/fs/inotify/max_queued_events && echo 999999 | sudo tee -a /proc/sys/fs/inotify/max_user_instances && watchman shutdown-server |
Why do I need to change the these parameters everytime? |
Just want to add this was still an issue (after everything above) when running
better to chown any files that are su owned. In my case .babel.json |
@yottanami every time you reboot? You need to persist your configuration for sysctl in |
@wez I didn't understand what to do to save the state also after reboot |
@eladcandroid It is usually managed by |
@wez Thanks. Now I've found it: Here is the full command that sets a high limit and makes it permanent:
|
thankyou @eladcandroid this fixed my problem |
Problem fixed. Thank you @eladcandroid |
Arch Linux:
sudo echo 10000000 | sudo tee /proc/sys/fs/inotify/max_user_watches |
I tried a number of suggestions in this thread which worked temporarily, but the changes didn't persist after reboot.
You can also view the values using |
Hi! You can add this to cron/crontab, as shown further below:
|
Solve my problem! thanks @longhorn09 !!!!! |
just a simple sudo sysctl -pcmd worked for me |
I just don't need watchman shutdown-server. It is not available on Ubtuntu 18.04.. |
Thanks eladcandroid ! Solve my problem. |
System info
Install watchman
Create hello world react-native (here is the git repo)
output
I Increased max_user_watches, max_queued_events, and max_user_instances
But I still get the same error. Any ideas?
The text was updated successfully, but these errors were encountered: