Skip to content

"hung task" when background; expected behavior? #878

Answered by axboe
bukzor asked this question in Q&A
Discussion options

You must be logged in to vote

It's not, but of course if you have the setting on that causes a panic on (what appears to be) a hung task, then it can turn into a problem. All that trace is telling you that here's the stack trace for this process, and it's been stuck uninterruptibly for X amount of time. Obviously it'd be better if we didn't have this oddity to begin with. It's really because the kworker is waiting on requests to get finished, but someone sent a SIGSTOP to the tasks that are supposed to finish them. This is what is causing the kworker to appear stalled.

As such, there's obviously nothing wrong by disabling panic on a hung task. The problem is that the system may have real hung tasks and want to panic o…

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
6 replies
@bukzor
Comment options

@axboe
Comment options

@bukzor
Comment options

@axboe
Comment options

Answer selected by bukzor
@axboe
Comment options

@axboe
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants