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

spawn hangs and became defunct sometimes #63

Open
Vidos opened this issue Feb 28, 2019 · 3 comments
Open

spawn hangs and became defunct sometimes #63

Vidos opened this issue Feb 28, 2019 · 3 comments

Comments

@Vidos
Copy link

Vidos commented Feb 28, 2019

In my test, sometimes spawn works well:
root@lkp-skl-1sp1 ~# date Thu Feb 28 16:00:57 CST 2019 root@lkp-skl-1sp1 ~# /lkp/benchmarks/unixbench/UnixBench/pgms/spawn 30 COUNT|457035|1|lps root@lkp-skl-1sp1 ~# date Thu Feb 28 16:01:31 CST 2019

But sometimes, hang for a long time, more than 20 minutes:
`root@lkp-skl-1sp1 ~# /lkp/benchmarks/unixbench/UnixBench/pgms/spawn 30
COUNT|446646|1|lps
root@lkp-skl-1sp1 ~# /lkp/benchmarks/unixbench/UnixBench/pgms/spawn 30
COUNT|457072|1|lps
root@lkp-skl-1sp1 ~# /lkp/benchmarks/unixbench/UnixBench/pgms/spawn 30
COUNT|444714|1|lps
root@lkp-skl-1sp1 ~# /lkp/benchmarks/unixbench/UnixBench/pgms/spawn 30
COUNT|446990|1|lps

^C
root@lkp-skl-1sp1 ~# `

Then became a defunct:
root 17877 17817 0 16:05 ? 00:00:00 /lkp/benchmarks/unixbench/UnixBench/pgms/spawn 30 root 22208 17877 0 16:06 ? 00:00:00 [spawn] <defunct> root 30370 16066 0 16:13 pts/0 00:00:00 [spawn] <defunct>

rli9 pushed a commit to intel/lkp-tests that referenced this issue Feb 28, 2019
Sometimes, spawan will hang and never exit, then become a defunct.
It's problem of unixbench code, so skip it for now.
I have reported the issue to community:
kdlucas/byte-unixbench#63

Signed-off-by: Jiang Wenjia <[email protected]>
Signed-off-by: Philip Li <[email protected]>
@bssrikanth
Copy link

are there any updates on fixing this issue?

@gstrauss
Copy link
Collaborator

@bssrikanth do you have a contribution to make such as a proposed patch or more information?

A general guide to asking technical questions well can be found at
http://catb.org/~esr/faqs/smart-questions.html (unaffiliated external link)

@bssrikanth
Copy link

@gstrauss I was exploring running unixbench from LKP. Where I saw spawn tests were commented out, when I digged a bit I found this and #62 issue. I have not hit any issues till now with spawn, but from these issues I see its a intermittent issue. Since its a old issue I thought of asking if this by any chance has been fixed in later versions of unixbench.

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

3 participants