Skip to content
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
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

Closed

Description

@tuminoid

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?

Activity

  1. added
    linux
    on Sep 25, 2014
  2. kevinsawicki commented on Sep 25, 2014

    @kevinsawicki
    Contributor

    There could definitely be leaks, can you reproduce the issue with a low number such as 8192 when starting Atom with the --safe command line option?

  3. tuminoid commented on Sep 25, 2014

    @tuminoid
    Author

    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.

  4. lock commented on Mar 30, 2018

    @lock

    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!

  5. locked and limited conversation to collaborators on Mar 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    atombuglinuxstale

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions