Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Arch/Manjaro - wiki/Increasing-the-amount-of-inotify-watchers #444

Closed
hrvoj3e opened this issue Apr 2, 2018 · 10 comments
Closed

Arch/Manjaro - wiki/Increasing-the-amount-of-inotify-watchers #444

hrvoj3e opened this issue Apr 2, 2018 · 10 comments

Comments

@hrvoj3e
Copy link

hrvoj3e commented Apr 2, 2018

This needs to be updated - on my fresh install of Manjaro 17.1.7 there is a file 50-max_user_watches.conf which overrides this.

/etc/sysctl.d/
├── 40-max-user-watches.conf
└── 50-max_user_watches.conf
sudo sysctl --system

* Applying /etc/sysctl.d/40-max-user-watches.conf ...
fs.inotify.max_user_watches = 524288

* Applying /etc/sysctl.d/50-max_user_watches.conf ...
fs.inotify.max_user_watches = 16384


cat /proc/sys/fs/inotify/max_user_watches
16384

WIKI

https://github.com/guard/listen/wiki/Increasing-the-amount-of-inotify-watchers

echo fs.inotify.max_user_watches=524288 | sudo tee /etc/sysctl.d/40-max-user-watches.conf && sudo sysctl --system
@ionling
Copy link

ionling commented Jul 25, 2018

Same with me, Manjaro 17.1.11 Hakoila.

@efosao
Copy link

efosao commented Dec 4, 2018

Thanks for the heads up @hrvoj3e - I was spinning my wheels with this one.

@ioquatix
Copy link
Member

Can you please supply a PR.

@SrBrahma
Copy link

Thanks. Also, be aware that the difference isn't just the "40" to "50", the '-' also turns into '_'.

@SuperITMan
Copy link

@ioquatix How can I do a PR for a wiki page ? 😊

I took a look on Google but didn't find anything except this: https://stackoverflow.com/questions/10642928/how-to-pull-request-a-wiki-page-on-github

Thanks for your help!

Regards,
Alexis

@Beloin
Copy link

Beloin commented Apr 23, 2020

So all we need to change is in this file? I was experiencing this same issue:
Operating System: Manjaro Linux

KDE Plasma Version: 5.18.4
KDE Frameworks Version: 5.69.0
Qt Version: 5.14.2
Kernel Version: 5.4.33-3-MANJARO
OS Type: 64-bit
Processors: 8 × Intel® Core™ i5-8250U CPU @ 1.60GHz
Memory: 7,7 GiB of RAM

@Moxie1776
Copy link

Glad I found this, I have been fighting this.

Operating System: Manjaro Linux
KDE Plasma Version: 5.19.3
KDE Frameworks Version: 5.73.0
Qt Version: 5.15.0
Kernel Version: 5.8.0-1-MANJARO
OS Type: 64-bit

@jvik
Copy link

jvik commented Dec 18, 2020

Why do I need to do this every time I reboot?

@ColinDKelley
Copy link
Collaborator

@jvik I'm not sure, but I hope someone can chime in with an answer.
Meanwhile, I wanted to note that the Wiki has been deprecated in favor of the README, with all the old Wiki content merged over there. That makes it easy for anyone to suggest improvements in the form of a PR as @ioquatix requested above.

@ColinDKelley
Copy link
Collaborator

I'm closing out this ticket since it has gotten stale. But as stated above, we welcome any PRs to improve the documentation in the README.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

10 participants