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 file activity while running in background #7237

Closed
schrej opened this issue May 16, 2024 · 6 comments
Closed

High file activity while running in background #7237

schrej opened this issue May 16, 2024 · 6 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?

@schrej
Copy link
Author

schrej commented Jul 25, 2024

I'm no longer observing this issue with the latest version (v1.11.1) of Podman Desktop. It should be some change to Desktop, since I was still observing the same resource usage with the old version (v1.10.2). I'll reopen in case this reappears.

@schrej schrej closed this as completed Jul 25, 2024
@odockal
Copy link
Contributor

odockal commented Aug 2, 2024

@schrej Thanks for the update!

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: ✔️ Done
Development

No branches or pull requests

5 participants