macOS: client v0.15.1 still go in App Nap mode #11896

issue fernetmatt opened this issue on December 14, 2017
  1. fernetmatt commented at 10:13 AM on December 14, 2017: none

    Currently the Bitcoin Core client, v0.15.1 (64-bit) on macOS Sierra 10.12.6 still go in App Nap mode after being hidden behind other applications or docked in the macOS dock bar. Keeping the app in foreground will obviously avoid the App Nap mode. At the moment it is even impossible to disable per-app Nap Mode via the Get Info dialog because there is no option to do that with the Bitcoin client app.

    The App Nap issue was already addressed and solved in few previous ticket (#3182, #5041, #5804).

    I don't really know how App Nap can interfere with the client performance, at the moment i'm syncing the whole blockchain and it's taking a lot.

    screen shot 2017-12-14 at 10 59 56

  2. fanquake added the label MacOSX on Dec 14, 2017
  3. fanquake commented at 1:06 AM on December 16, 2017: member

    From a quick search, it looks like Apple has removed the ability to disable AppNap completely via plist, I can no longer find mention of "LSAppNapIsDisabled" in any documentation.

    Not sure if we want to revisit something like #5804. More info here: https://developer.apple.com/library/content/documentation/Performance/Conceptual/power_efficiency_guidelines_osx/AppNap.html

  4. fernetmatt commented at 3:30 PM on December 16, 2017: none

    Why not temporary enable the "Prevent App Nap" option in App Info? App Nap is causing major slow down to the blockchain sync, when in nap mode the app progress like 0.5%/day, when it's in foreground the progress improve dramatically.

    screen shot 2017-12-16 at 16 20 56

    At the moment i've just run this command to disable it: default write org.bitcoinfoundation.Bitcoin-Qt NSAppSleepDisabled -bool YES

  5. fanquake commented at 2:07 AM on April 20, 2018: member

    Should be resolved by #12783.

  6. fanquake closed this on May 29, 2019

  7. Sjors commented at 11:07 AM on May 30, 2019: member

    It's indeed solved. A related problem remains, which is that MacBooks auto suspend by default, even when plugged in. That can be "fixed" with better instructions though: #16125.

  8. MarcoFalke locked this on Dec 16, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-21 18:15 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me