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

[BUG] likwid's child processes survive when likwid parent is terminated #611

Open
jdomke opened this issue Feb 16, 2024 · 1 comment
Open
Labels

Comments

@jdomke
Copy link
Contributor

jdomke commented Feb 16, 2024

$ killall cholesky_EXTRALARGE; timeout --foreground --kill-after=5s 20s likwid-perfctr --marker -C 20 -g MEM polybench/linear-algebra/solvers/cholesky/cholesky_EXTRALARGE ; ps aux | grep cholesky_EXTRALARGE
--------------------------------------------------------------------------------
CPU name:
CPU type:       Fujitsu A64FX
CPU clock:      0.00 GHz
--------------------------------------------------------------------------------
                 356:   domke      86551 97.6  0.8 274880 267968 pts/0   R    17:41   0:23 polybench/linear-algebra/solvers/cholesky/cholesky_EXTRALARGE

Expected behavior: no cholesky_EXTRALARGE found

(i found some signal handler code in likwid which "should" terminate its children upon receiving SigINT, but even with "timeout -s SIGINT..." i'm still seeing cholesky_EXTRALARGE running afterwards)

@jdomke jdomke added the bug label Feb 16, 2024
@TomTheBear
Copy link
Member

Thanks for reporting. Yes this might happen in some situations where the waiting for the child process fails. I will take a look.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants