linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Gavin Shan <shangw@linux.vnet.ibm.com>
To: linux-mm@kvack.org
Subject: [Question] how to avoid process hang without disk space
Date: Tue, 3 Jul 2012 11:06:05 +0800	[thread overview]
Message-ID: <20120703030605.GA30077@shangw> (raw)


Recently, we're encountering one problem that caused by full disk drives.
I'm not sure if there has any method to recover from the situation?

When the problem happened, I couldn't kill the process with signal 9.
Also, the "reboot" would cause system hang as well.

Here's the backtrace from kernel.
=================================

INFO: task jbd2/dm-0-8:463 blocked for more than 120 seconds.
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
jbd2/dm-0-8   D 0000000000000000     0   463      2 0x00008000
Call Trace:
[c0000006ef23f190] [c0000006ef23f240] 0xc0000006ef23f240 (unreliable)
[c0000006ef23f360] [c000000000014288] .__switch_to+0xf8/0x1d0
[c0000006ef23f3f0] [c00000000059cc18] .schedule+0x408/0xd30
[c0000006ef23f6d0] [c00000000059d5d0] .io_schedule+0x90/0x110
[c0000006ef23f760] [c00000000014c5a0] .sync_page+0x70/0xa0
[c0000006ef23f7e0] [c00000000059dee4] .__wait_on_bit_lock+0xd4/0x1b0
[c0000006ef23f8a0] [c00000000014c4e4] .__lock_page+0x54/0x70
[c0000006ef23f960] [c0000000001680bc] .write_cache_pages+0x3fc/0x4a0
[c0000006ef23fb10] [d000000004fb3384] .journal_submit_inode_data_buffers+0x64/0x90 [jbd2]
[c0000006ef23fc20] [d000000004fb3a1c] .jbd2_journal_commit_transaction+0x44c/0x1940 [jbd2]
[c0000006ef23fde0] [d000000004fbc2fc] .kjournald2+0xec/0x300 [jbd2]
[c0000006ef23fed0] [c0000000000bb02c] .kthread+0xbc/0xd0
[c0000006ef23ff90] [c0000000000323f4] .kernel_thread+0x54/0x70

Thanks,
Gavin

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

                 reply	other threads:[~2012-07-03  3:07 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120703030605.GA30077@shangw \
    --to=shangw@linux.vnet.ibm.com \
    --cc=linux-mm@kvack.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).