Iyadchafroud
Posted on January 13, 2023
In thid post , we will fix System limit for number of file watchers error .
this error reached because the number of files monitored by the system has reached its limit.
well linux use inotify to monitoring filesystem events .
To know the current limit of max_user_watches :
> `cat /proc/sys/fs/inotify/max_user_watches`
and the current notify user instance limit :
> `cat /proc/sys/fs/inotify/max_user_instances`
If you want to fix error you need to increase the number of max user watches by running the following command:
> `sudo sysctl fs.inotify.max_user_watches=524288`
and increase the number of maximum number of user instances by running the following command:
> ` sudo fs.inotify.max_user_instances = 1024`
💖 💪 🙅 🚩
Iyadchafroud
Posted on January 13, 2023
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.
Related
undefined Answer: Unable to load script from assets index.android.bundle on android - react-native
November 23, 2024
webdev 🔥 Top 11 Open Source Innovators Who Shaped the Developer World as We Live Today ðŸ”ðŸ”
November 6, 2023