for using with Jetbrains product like pycharm and idea :
The current limit can be verified by executing:
cat /proc/sys/fs/inotify/max_user_watches
It can be raised by adding following line to the /etc/sysctl.conf file:
fs.inotify.max_user_watches = 524288
or
echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf
… and issuing this command to apply the change:
sudo sysctl -p
Check if there is a file in
/etc/sysctl.d
with your parameter. These files override the/etc/sysctl.conf
file
References
https://github.com/guard/listen/wiki/Increasing-the-amount-of-inotify-watchers
https://serverfault.com/questions/355520/after-reboot-debian-box-ignore-sysctl-conf-values