I obtained the topic error as soon as starting the react app in the VS Code terminal. I have seen the answers to the topic inquiries as listed below.

You are watching: System limit for number of file watchers reached

Temporary Fix:$ sudo sysctl fs.ieducate.max_user_watches=524288

$ suexecute sysctl -p

Permanent Fix:$ echo fs.inotify.max_user_watches=524288 | superform tee -a /etc/sysctl.conf

$ sudo sysctl -p

What actually causes this error? Since I acquired this once tried to run the app on the next day, which I already ran it yesterday without any problem through the exact same files?Is it possible to occur this various other than node modules in Ubuntu?If we collection this number, it consumes memory. Is it feasible to revert it back to default 8192 again? If not possible, is it limitation in Ubuntu, which should be addressed in future releases?
18.04 nodejs
Share
Improve this question
Follow
asked Jul 18 "20 at 8:55
*

UdithaUditha
2111 silver badge22 bronze badges
Add a comment |

1 Answer 1


Active Oldest Votes
0
from : https://github.com/guard/listen/blob/master/README.md

do this:

superform sh -c "echo fs.iinform.max_user_watches=524288 >> /etc/sysctl.conf"sudo sysctl -p
Share
Improve this answer
Follow
answered Jan 28 at 13:27

*

jo_jo_
10111 bronze badge
Add a comment |

Your Answer


Thanks for contributing a solution to Ask Ubuntu!

Please be sure to answer the question. Provide details and share your research!

But avoid

Asking for assist, clarification, or responding to other answers.Making statements based upon opinion; earlier them up via references or personal endure.

To learn even more, see our tips on composing excellent answers.

See more: Watch The Hobbit The Desolation Of Smaug 123Movies Full Movie Online Free


Draft saved
Draft discarded

Sign up or log in


Sign up utilizing Google
Sign up utilizing Facebook
Sign up utilizing Email and Password
Submit

Article as a guest


Name
Email Required, however never shown


Message as a guest


Name
Email

Required, yet never before shown


Post Your Answer Discard

By clicking “Post Your Answer”, you agree to our regards to company, privacy plan and cookie policy


Not the answer you're looking for? Browse various other concerns tagged 18.04 nodejs or ask your very own question.


The Overflow Blog
Featured on Meta
Related
2
Gave up waiting for root file device gadget, in Ubuntu 18.04
0
Limit the log in attempts ubuntu 18.04
0
code --verbose not launching VS CODE Showing Error: ENOSPC: no space left on device, watch '/snap/code'
0
Read-only file mechanism error for placed media
0
Ubuntu 18.04 Uncompression error -- device stopped
0
Error developing Swap Data. Ubuntu 18.04
Hot Network-related Questions even more hot questions

Concern feed
Subscribe to RSS
Concern feed To subscribe to this RSS feed, copy and paste this URL into your RSS reader.


*

Ask Ubuntu
Company
Stack Exchange Network-related
site architecture / logo © 2021 Stack Exchange Inc; user contributions licensed under cc by-sa. rev2021.9.13.40199


Ubuntu and also Canonical are registered trademarks of Canonical Ltd.
Ask Ubuntu works finest through JavaScript enabled
*

Your privacy

By clicking “Accept all cookies”, you agree Stack Exreadjust have the right to keep cookies on your device and also disclose information in accordance via our Cookie Policy.