You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If possible, I've reproduced the issue using the 'main' branch of this project
Steps to reproduce
Any type of usage now leads eventually to Virtualization Server consuming 200-400% CPU, and stuck containers. Simply start some containers and use them for a few days.
Current behavior
On recent builds the Virtualization Server tends to end up consuming massive CPU and the system eventually becomes unresponsive. Containers often run normally at first (although issues with the builder can make it difficult to create an image in the first place -- include seg faults during builds). The containers seem to run fine for a few hours to days before exploding in resource usage.
Expected behavior
Idle containers should quietly consume zero resources.
@jflatow when you say "Virtualization Server" what are you referring to? Can you show ps or Activity Monitor output that illustrates what you're seeing?
@jflatow when you say "Virtualization Server" what are you referring to? Can you show ps or Activity Monitor output that illustrates what you're seeing?
Sorry, I meant "Virtual Machine Service" -- I will screenshot/copy it next time I hit it
I'm seeing this too with the prebuilt 0.7.1 release, on Sequoia 15.7.2 on a base M4. I wonder if it's related to the screen saver or the Mac suspending, or if that's just coincidental.
Any attempt to interact with the pegged container, ie with container stats --no-stream or container stop failing-container-name simply hangs. I've resorted to simply closing all other apps and rebooting, at which point I can start the container over again.
This time I had a container process just crash in the middle with
Error: interrupted: "internalError: "failed to wait for process container-2 in container container-2 (cause: "interru
pted: "XPC connection error: Connection interrupted"")"nterrupt)
Ensure container system service has been started with `container system start`."
I see the same thing. Latest version of containers, MacOS Tahoe 26.2 on an M4 MBP.
200% CPU usage, and randomly my container(s) will freeze. Only thing that fixes it is force-quit everything container related and restarting the container system.
I just found a big clue. I did a container ls and found that I had a stale buildkit container hanging around.
Issuing container stop buildkit just hung, but I force quit the 200% CPU usage VM process listed above and the buildkit container disappeared. CPU usage is now back to idle.
Activity
jglogan commentedon Dec 11, 2025
@jflatow when you say "Virtualization Server" what are you referring to? Can you show
psor Activity Monitor output that illustrates what you're seeing?jflatow commentedon Dec 11, 2025
Sorry, I meant "Virtual Machine Service" -- I will screenshot/copy it next time I hit it
finagolfin commentedon Dec 12, 2025
I'm seeing this too with the prebuilt 0.7.1 release, on Sequoia 15.7.2 on a base M4. I wonder if it's related to the screen saver or the Mac suspending, or if that's just coincidental.
Any attempt to interact with the pegged container, ie with
container stats --no-streamorcontainer stop failing-container-namesimply hangs. I've resorted to simply closing all other apps and rebooting, at which point I can start the container over again.jflatow commentedon Dec 12, 2025
This time I had a container process just crash in the middle with
even though I have other processes still running
jflatow commentedon Dec 12, 2025
ancker010 commentedon Feb 16, 2026
I see the same thing. Latest version of containers, MacOS Tahoe 26.2 on an M4 MBP.
200% CPU usage, and randomly my container(s) will freeze. Only thing that fixes it is force-quit everything container related and restarting the container system.
finagolfin commentedon Feb 16, 2026
@ancker010, what version of this container? I have not seen a single issue since updating to the last 0.8.0 release.
ancker010 commentedon Feb 16, 2026
Running 0.9.0 of container.
finagolfin commentedon Feb 16, 2026
Try checking the system logs for kernel crashes and so on and report any output at crash time, like I did here a couple months ago.
ancker010 commentedon Feb 16, 2026
I just found a big clue. I did a
container lsand found that I had a stale buildkit container hanging around.Issuing
container stop buildkitjust hung, but I force quit the 200% CPU usage VM process listed above and the buildkit container disappeared. CPU usage is now back to idle.finagolfin commentedon Feb 17, 2026
Yeah, buildkit can cause problems too, it is the default container used to create new containers. Next time, check its logs and see what you find.