linux-test-project / ltp

Linux Test Project (mailing list: https://lists.linux.it/listinfo/ltp)
https://linux-test-project.readthedocs.io/
GNU General Public License v2.0
2.32k stars 1.01k forks source link

Why print hung_ Task_ Timeout_ Secs? #940

Closed haidong-yao closed 2 years ago

haidong-yao commented 2 years ago

It always prints such log, when the opened new file is 1048575. Is there a problem with our system or is the LTP stress test too heavy?

./runltp -c 2 -i 200

fork09 0 TINFO : Parent reporting 1048575 files open fork09 0 TINFO : Child opened new file #1048575 fork09 1 TPASS : test 1 PASSED

fork09 0 TINFO : close num = 0 //add debug fork09 0 TINFO : close num = 1 .... fork09 0 TINFO : close num = 105 fork09 0 TINFO : close num = 106 [27792.382537] INFO: task jbd2/vblkdev3-8:722 blocked for more than 120 seconds. [27792.382546] Tainted: G O [27792.382548] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. [27792.382677] INFO: task genload:68290 blocked for more than 120 seconds. [27792.382679] Tainted: G O [27792.382680] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. [27792.382735] INFO: task genload:68291 blocked for more than 120 seconds. [27792.382737] Tainted: G O ....