Skip to content

Instantly share code, notes, and snippets.

@bittner
Created September 25, 2015 07:57
Show Gist options
  • Select an option

  • Save bittner/c7d1d49fe0c9af907f24 to your computer and use it in GitHub Desktop.

Select an option

Save bittner/c7d1d49fe0c9af907f24 to your computer and use it in GitHub Desktop.
Inotify configuration for IntelliJ IDEA (PhpStorm, PyCharm, RubyMine, WebStorm). Create this file with e.g. `sudo vim /etc/sysctl.d/60-jetbrains.conf`
# Set inotify watch limit high enough for IntelliJ IDEA (PhpStorm, PyCharm, RubyMine, WebStorm).
# Create this file as /etc/sysctl.d/60-jetbrains.conf (Debian, Ubuntu), and
# run `sudo service procps start` or reboot.
# Source: https://confluence.jetbrains.com/display/IDEADEV/Inotify+Watches+Limit
#
# More information resources:
# -$ man inotify # manpage
# -$ man sysctl.conf # manpage
# -$ cat /proc/sys/fs/inotify/max_user_watches # print current value in use
fs.inotify.max_user_watches = 524288
@RyanNerd

Copy link
Copy Markdown

I just installed PHPStorm EAP 10 and this crazy warning messing was making me nuts. Thx.

@mrimran

mrimran commented Jan 16, 2016

Copy link
Copy Markdown

Thank you very much.

@tafaust

tafaust commented Mar 8, 2016

Copy link
Copy Markdown

Thanks!

@dataethos

Copy link
Copy Markdown

Works for me. Thanks!

IntelliJ IDEA Ultimate 2016.1.1

@Semo

Semo commented May 3, 2016

Copy link
Copy Markdown

Worked out of the box for IntelliJ 2016.1.1 and Ubuntu 14.04 LTS. Very nice solution. Much appreciated, thank you.

@gianpaolodn

Copy link
Copy Markdown

works in ubuntu, thanks

ghost commented Jul 5, 2016

Copy link
Copy Markdown

good job, thanks.

ghost commented Jul 6, 2016

Copy link
Copy Markdown

👍

@srzyhead

Copy link
Copy Markdown

Well done,Thanks!

@mercibe

mercibe commented Jul 29, 2016

Copy link
Copy Markdown

Thank you! For Arch linux just run sudo sysctl -p --system to load new settings.

@hoto

hoto commented Aug 16, 2016

Copy link
Copy Markdown

thx!

@wietsewarendorff

Copy link
Copy Markdown

👍

@greew

greew commented Nov 10, 2016

Copy link
Copy Markdown

👍
Thanks :)

ghost commented Dec 6, 2016

Copy link
Copy Markdown

Great job, thank you!

@thaarbach

Copy link
Copy Markdown

👍
Great, thanks alot!

@freeloki

freeloki commented Feb 9, 2017

Copy link
Copy Markdown

thanks!!

@YnievesDotNet

Copy link
Copy Markdown

Good work
Thanks

@waghcwb

waghcwb commented Apr 24, 2017

Copy link
Copy Markdown

Thank you.

ghost commented May 9, 2017

Copy link
Copy Markdown

thanks!!

@rizwanc018

Copy link
Copy Markdown

im using ubuntu 16 , i cannot create "60-jetbrains.conf" file. im getting error message permision denied

@vadi2

vadi2 commented Jul 7, 2017

Copy link
Copy Markdown

Use sudo in front.

@Zikkoua

Zikkoua commented Jul 28, 2017

Copy link
Copy Markdown

Awesome! Thank you.

@VolCh

VolCh commented Sep 4, 2017

Copy link
Copy Markdown

For systemd-based distros run sudo systemctl restart systemd-sysctl.service after creating the file instead reboot.

@dandv

dandv commented Jan 8, 2018

Copy link
Copy Markdown

Hey new people, no need to say "Thanks!" again. Gists do not notify the author of any comments!

@Goddard

Goddard commented Aug 3, 2018

Copy link
Copy Markdown

Thanks

@ryantheleach

ryantheleach commented Dec 11, 2018

Copy link
Copy Markdown

@dandv Thanks!

But seriously, one day they might, and on the assumption that the author posted this as a gist, so they themselves can reference it and share it, they will still see the thanks.

However I'd instead suggest, that people use reacts on the first thanks comment, or simply star the gist, so that the comments don't get cluttered.

@jglathe

jglathe commented Apr 27, 2019

Copy link
Copy Markdown

@bittner, @VolCh Thank you. This was great help.

@mickeyperlstein

Copy link
Copy Markdown

tnx

@alextotalk

Copy link
Copy Markdown

Thanks!!!!

@thomich

thomich commented Jul 5, 2021

Copy link
Copy Markdown

nice and thanks for that gist...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment