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

High CPU usage on 6.33.0 #1481

Closed
litori opened this issue Apr 9, 2022 · 9 comments
Closed

High CPU usage on 6.33.0 #1481

litori opened this issue Apr 9, 2022 · 9 comments
Labels
bug Something isn't working

Comments

@litori
Copy link

litori commented Apr 9, 2022

AltTab 6.33.0 causes high cpu usage on AltTab and launchd process. Nonstop for 1 hour now. Killing AltTab gets rid of launchd cpu usage.

@litori litori added the bug Something isn't working label Apr 9, 2022
@metacodes
Copy link
Contributor

@litori Could you share what apps you were using when this issue happened? I'm trying to reproduce this issue.

@litori
Copy link
Author

litori commented Apr 9, 2022

I closed all my apps and just have activity monitor on and launchd, logd, and alttab will be the top 3 cpu usage hovering around 20 for launchd, 5 for logd, and 8 for alttab. Once I open discord and firefox without any websites, launchd will be at 55, alttab at 30, and logd at 27.

@panpietrek
Copy link

panpietrek commented Apr 9, 2022

Same here with v. 6.33.0
Apps open are Firefox (v99), Activity Monitor and Signal Desktop 5.38. Activity Monitor show AltTab munching ~25% CPU.

EDIT: Happens even with FF alone and this bugreport as the only site open.
Another edit: Even FF alone with one empty tab immediately causes AltTab to spike the CPU to ~25%. Closing Firefox brings CPU usage down right away. No such behavior when using MS Edge alone.

@panpietrek
Copy link

launchd and logd's CPU usage goes up as well, presumably due to this spamming launchd.log file:

obraz

@litori
Copy link
Author

litori commented Apr 9, 2022

The fact that it uses so much cpu without anything open besides activity monitor is already a problem. I've binned 6.33.0 for now as it is not usable.

@metacodes
Copy link
Contributor

@litori @panpietrek I have located the problem and am working on it. See #1437 . You can use 6.31.0 before this issue is fixed.

@metacodes
Copy link
Contributor

metacodes commented Apr 10, 2022

See PR #1484

@burdo3417
Copy link

Same problem. Also just firefox opened.
Macbook Pro M1 Pro
MacOS 12.3.1

@otandka
Copy link

otandka commented Apr 14, 2022

For easier searching by log message keywords, here are the messages from "log show -last 1m" that are repeated every 150usec or so.

2022-04-14 10:30:57.116774-0700 0x635391   Default     0x0                  1      0    launchd: [gui/501 [100006]:] failed lookup: name = com.apple.axserver, handle = 92824, flags = 0x3, requestor = AltTab[88006], error = 3: No such process
2022-04-14 10:30:57.116861-0700 0x635391   Default     0x0                  1      0    launchd: [gui/501 [100006]:] could not find active service for lookup: pid = 84636, name = com.apple.axserver
2022-04-14 10:30:57.116868-0700 0x635391   Default     0x0                  1      0    launchd: [user/501:] could not find active service for lookup: pid = 84636, name = com.apple.axserver
2022-04-14 10:30:57.116872-0700 0x635391   Default     0x0                  1      0    launchd: [system:] could not find active service for lookup: pid = 84636, name = com.apple.axserver

@lwouis lwouis closed this as completed in 0569ed0 Apr 28, 2022
lwouis pushed a commit that referenced this issue Apr 28, 2022
# [6.34.0](v6.33.0...v6.34.0) (2022-04-28)

### Bug Fixes

* alt-tab could be relaunched in a loop (closes [#1367](#1367)) ([cdb461a](cdb461a))
* reduce alt-tab cpu usage in some scenarios (closes [#1481](#1481)) ([0569ed0](0569ed0))

### Features

* update indian and russian localizations ([85210e2](85210e2))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants