Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
@devflow

This comment has been minimized.

Copy link

devflow commented Oct 22, 2015

thanks.

@saeidzebardast

This comment has been minimized.

Copy link

saeidzebardast commented Nov 5, 2015

Thanks!

@cyberbikepunk

This comment has been minimized.

Copy link

cyberbikepunk commented Nov 10, 2015

thx

@Xplouder

This comment has been minimized.

Copy link

Xplouder commented Nov 23, 2015

Thank you.

@RyanNerd

This comment has been minimized.

Copy link

RyanNerd commented Dec 18, 2015

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

@mrimran

This comment has been minimized.

Copy link

mrimran commented Jan 16, 2016

Thank you very much.

@tahesse

This comment has been minimized.

Copy link

tahesse commented Mar 8, 2016

Thanks!

@dataethos

This comment has been minimized.

Copy link

dataethos commented Apr 27, 2016

Works for me. Thanks!

IntelliJ IDEA Ultimate 2016.1.1

@Semo

This comment has been minimized.

Copy link

Semo commented May 3, 2016

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

@gianpaolodn

This comment has been minimized.

Copy link

gianpaolodn commented Jun 29, 2016

works in ubuntu, thanks

@ghost

This comment has been minimized.

Copy link

ghost commented Jul 5, 2016

good job, thanks.

@jambroo

This comment has been minimized.

Copy link

jambroo commented Jul 6, 2016

👍

@srzyhead

This comment has been minimized.

Copy link

srzyhead commented Jul 12, 2016

Well done,Thanks!

@mercibe

This comment has been minimized.

Copy link

mercibe commented Jul 29, 2016

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

@hoto

This comment has been minimized.

Copy link

hoto commented Aug 16, 2016

thx!

@wietsewarendorff

This comment has been minimized.

Copy link

wietsewarendorff commented Sep 7, 2016

👍

@greew

This comment has been minimized.

Copy link

greew commented Nov 10, 2016

👍
Thanks :)

@ghost

This comment has been minimized.

Copy link

ghost commented Dec 6, 2016

Great job, thank you!

@thaarbach

This comment has been minimized.

Copy link

thaarbach commented Dec 20, 2016

👍
Great, thanks alot!

@freeloki

This comment has been minimized.

Copy link

freeloki commented Feb 9, 2017

thanks!!

@YnievesDotNet

This comment has been minimized.

Copy link

YnievesDotNet commented Feb 15, 2017

Good work
Thanks

@waghcwb

This comment has been minimized.

Copy link

waghcwb commented Apr 24, 2017

Thank you.

@ghost

This comment has been minimized.

Copy link

ghost commented May 9, 2017

thanks!!

@rizwanc018

This comment has been minimized.

Copy link

rizwanc018 commented Jun 28, 2017

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

@vadi2

This comment has been minimized.

Copy link

vadi2 commented Jul 7, 2017

Use sudo in front.

@Zikkoua

This comment has been minimized.

Copy link

Zikkoua commented Jul 28, 2017

Awesome! Thank you.

@VolCh

This comment has been minimized.

Copy link

VolCh commented Sep 4, 2017

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

@dandv

This comment has been minimized.

Copy link

dandv commented Jan 8, 2018

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

@Goddard

This comment has been minimized.

Copy link

Goddard commented Aug 3, 2018

Thanks

@ryantheleach

This comment has been minimized.

Copy link

ryantheleach commented Dec 11, 2018

@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

This comment has been minimized.

Copy link

jglathe commented Apr 27, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.