Skip to content

Perfspect hangs instead of resuming collection when containers stop in cgroup scope #340

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

Open
hsane-dev opened this issue May 16, 2025 · 0 comments

Comments

@hsane-dev
Copy link

Environment:
perfspect version 3.6.1_2025-04-28_4282e576
Ubuntu 22.04
kernel 6.8.0-1024-aws
EC2_INSTANCE_TYPE=m7i.metal-24xl

Issue: Perfspect does not resume collection when old containers stop and new containers spawned, but rather remains in hang state.

How to reproduce:
Run a container with some benchmark (say stress-ng), invoke perfspect with this command line "sudo ./perfspect metrics --live --scope cgroup", it correctly collects metrics per c-group every default (5s) interval. However, if the container is stopped, perfspect stops sending any stdout, which is also correct. Now when a new container is spwaned, it does not pick it up even after the 30s refresh interval.

Likely my environment, or the refresh is not catching the new container/cgroup correctly and resuming collection?

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

1 participant