kdlucas / byte-unixbench

Automatically exported from code.google.com/p/byte-unixbench
GNU General Public License v2.0
1.27k stars 323 forks source link

spawn hangs and became defunct sometimes #63

Open Vidos opened 5 years ago

Vidos commented 5 years ago

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>

bssrikanth commented 2 years ago

are there any updates on fixing this issue?

gstrauss commented 2 years ago

@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 commented 2 years ago

@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 https://github.com/kdlucas/byte-unixbench/issues/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.