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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

High file activity while running in background #7237

Open
schrej opened this issue May 16, 2024 · 4 comments
Open

High file activity while running in background #7237

schrej opened this issue May 16, 2024 · 4 comments
Labels
kind/bug 馃悶 Something isn't working os/macOS 馃崕

Comments

@schrej
Copy link

schrej commented May 16, 2024

Bug description

I've tested Podman Desktop on my work MacBook and noticed that it was indirectly causing a lot of CPU usage (see screenshot below). The culprit seems to be Microsoft Defender (馃檮) which has on-access file scanning enabled. Whenever Podman Desktop is running, Defender is consuming a lot of CPU, leading me to the conclusion that Podman Desktop apparently is accessing a lot of files while running in background (or a few very large ones).

I'm aware the high CPU usage is not really the fault of Podman Desktop directly, but maybe the amount of files accessed while running in the background could be reduced.

Operating system

macOS 14.4.1 (arm)

Installation Method

Installer from website/GitHub releases

Version

1.10.2

Steps to reproduce

No response

Relevant log output

No response

Additional context

Screenshot 2024-05-16 at 16 46 06

The green line indicates times Podman Desktop is running. The difference is roughly 10% CPU usage. It's enough that I don't want to run it in the background all the time.

@schrej schrej added the kind/bug 馃悶 Something isn't working label May 16, 2024
@deboer-tim
Copy link
Collaborator

Do you have a Podman machine (or other provider) running? Could you check (Settings > Resources) and try temporarily stopping it? I just want to confirm if this is Podman Desktop directly vs something we're starting.

@jeffmaury
Copy link
Contributor

Are you running Microsoft Defender on MacOS ?

@schrej
Copy link
Author

schrej commented May 16, 2024

Do you have a Podman machine (or other provider) running?

It wasn't running when I took those screenshots. It didn't make a noticeable difference when I stopped it I think. I also have the kubernetes extension running.

Are you running Microsoft Defender on MacOS ?

Yes. Not by choice 馃槃

@odockal
Copy link
Contributor

odockal commented May 27, 2024

Is it possible to add podman-desktop as an exception for the Microsoft Defender? I understand the obstacle here, but it could also be quite problematic to reduce the amount of the files being opened by podman-desktop.

@benoitf can we do something about it on our side?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug 馃悶 Something isn't working os/macOS 馃崕
Projects
Status: 馃搵 Backlog
Development

No branches or pull requests

5 participants