You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
Insane amount of max_user_watches required to run Atom on Ubuntu 14.04 #3628
Follow up to #3617 . Ubuntu 14.04 with latest updates and Atom 0.130.0.
Problem was fixed as instructed in #3617 and re-appeared later and max_user_watches is still being set at new value 32768.
$ cat /proc/sys/fs/inotify/max_user_watches
32768
While Atom was open, it just failed to open any new files. After closing it, it has reverted to state I first reported #3617, failing to open at all.
Setting max_user_watches to 131072 allowed me to run Atom again. But why such high values are required for a simple text editor? Is code leaking watches, or establishing watches too widely?
I've rebooted since (thanks Shellshock) and Atom now starts with 8192, with and without --safe.
With quick testing (with my box, browsers and terminals running), the lower limit in max_user_instances is 58 to get Atom running (default 128, so almost 50% used), and max_user_watches can be lowered to 256 (default 8192, so merely 2% used). It is thus more likely that system runs out of instances than actual watches, though solution linked in #3617 is about watches alone.
This issue has been automatically locked since there has not been any recent activity after it was closed. If you can still reproduce this issue in Safe Mode then please open a new issue and fill out the entire issue template to ensure that we have enough information to address your issue. Thanks!
Activity
kevinsawicki commentedon Sep 25, 2014
There could definitely be leaks, can you reproduce the issue with a low number such as
8192when starting Atom with the--safecommand line option?tuminoid commentedon Sep 25, 2014
I've rebooted since (thanks Shellshock) and Atom now starts with
8192, with and without--safe.With quick testing (with my box, browsers and terminals running), the lower limit in
max_user_instancesis 58 to get Atom running (default 128, so almost 50% used), andmax_user_watchescan be lowered to 256 (default 8192, so merely 2% used). It is thus more likely that system runs out of instances than actual watches, though solution linked in #3617 is about watches alone.lock commentedon Mar 30, 2018
This issue has been automatically locked since there has not been any recent activity after it was closed. If you can still reproduce this issue in Safe Mode then please open a new issue and fill out the entire issue template to ensure that we have enough information to address your issue. Thanks!