Friday, December 26, 2014

RubyMine Fix: inotify(7) watch limit is too low


Every time on fresh ubuntu system i use Ruby-Mine it shows me an ugly balloon saying

inotify(7) watch limit is too low

due to rapid changes made by VCS, or build tools, or code generators etc. Ruby-Mine spins background process to monitor such changes. The method it uses is platform-specific; and on Linux it is Inotify facility.

To Fix that balloon paste following to your /etc/sysctl.conf

        ##### Fix: inotify(7) watch limit is too low  #####                   
                    fs.inotify.max_user_watches = 524288

Then run this command to apply the change:
                                 sudo sysctl -p
And don't forget to restart your IDE.

Labels: , ,