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

Alfred stuck as process parent in Ventura, breaks monitoring & control #7

Open
ideologysec opened this issue Jan 20, 2023 · 5 comments

Comments

@ideologysec
Copy link

ideologysec commented Jan 20, 2023

I use several applications for monitoring my system, including iStat Menus and Little Snitch.

Recently with Ventura, Alfred is now the parent process of Google Chrome, which means that it is the process showing up as utilizing all of Chrome's memory, attempting to make network connections, etc. This breaks per-application network control (I don't really want Alfred having unrestricted internet access), and useful monitoring (memory, CPU usage, etc).

This only happens if alfred-chrome is used to launch Chrome for the first time. If Chrome is already running, using alfred-chrome to launch different profiles or switch to Chrome doesn't result in this behavior.

This is a minor issue, but it's helpful for me to be able to launch Chrome with a specific profile, and this breaks that workflow a bit.

System Specs:
Hardware: 14" MacBook Pro M1 Max, 64 GB RAM
Software: macOS 13.1 Ventura, running in Reduced Security Mode (User approved kernel extensions allowed)
alfred-chrome version: 5.0.0

Happened both with previous versions, and the new v5 Rust rewrite.

2023-01-20_11 36 15-LS

2023-01-20_10 56 10-iSMmem

2023-01-20_11 39 39-ActMon

@ShogunPanda
Copy link
Owner

Hello!
I just released 5.1.0 which should use setsid to detach the process. Can you please tell me if it works?

@ideologysec
Copy link
Author

Still seemingly inheriting Alfred as the parent process:

 2025-01-13 at 11 03 30

@ShogunPanda
Copy link
Owner

ShogunPanda commented Jan 14, 2025

Yes, from monitoring activity it still shows like that, but from my test it should be no longer the case. For instance in the previous version (5.0.0) quitting Alfred would have quit Chrome as well. In 5.1.0 it will not.
Other than that, do you still have the monitor problem above. In other words, if you prevent Alfred to talk to the network, will Chrome work?

@ideologysec
Copy link
Author

If I block access to "Alfred" after launching , then Chrome won't work, no.

 2025-01-13 at 22 53 05  2025-01-13 at 22 53 19

@ShogunPanda
Copy link
Owner

Ok, I see, thanks. I will review this ASAP to find alternative ways to launch Chrome outside of Alfred.

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

2 participants