Process blocked in do_get_write_access in RHEL 5 and 6.1

Solution Verified - Updated -

Issue

  • Process blocked in do_get_write_access for more than 120 seconds. e.g.
INFO: task java:1907 blocked for more than 120 seconds.
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
java          D 0000000000000005     0  1907      1 0x00000080
 ffff880e91f459a8 0000000000000082 0000000000000298 0000000000000020
 00000000ffffffff 000000008f915b02 ffff880e91f45948 ffff880581071140
 ffff880176fe7b38 ffff880e91f45fd8 000000000000f598 ffff880176fe7b38
Call Trace:
 [<ffffffff8108e3ee>] ? prepare_to_wait+0x4e/0x80
 [<ffffffffa01cc0dd>] do_get_write_access+0x29d/0x520 [jbd2]
 [<ffffffff8108e140>] ? wake_bit_function+0x0/0x50
 [<ffffffffa01cc4b1>] jbd2_journal_get_write_access+0x31/0x50 [jbd2]
 [<ffffffffa0216328>] __ext4_journal_get_write_access+0x38/0x80 [ext4]
 [<ffffffffa01f2863>] ext4_reserve_inode_write+0x73/0xa0 [ext4]
 [<ffffffffa01f28dc>] ext4_mark_inode_dirty+0x4c/0x1d0 [ext4]
 [<ffffffffa01f2bd0>] ext4_dirty_inode+0x40/0x60 [ext4]
 [<ffffffff8119b5fb>] __mark_inode_dirty+0x3b/0x160
 [<ffffffff8118bf02>] file_update_time+0xf2/0x170
 [<ffffffff8110f540>] __generic_file_aio_write+0x220/0x480
 [<ffffffff8140c1d3>] ? sock_recvmsg+0x133/0x160
 [<ffffffff8110f80f>] generic_file_aio_write+0x6f/0xe0
 [<ffffffffa01ec2a1>] ext4_file_write+0x61/0x1e0 [ext4]
 [<ffffffff8117247a>] do_sync_write+0xfa/0x140
 [<ffffffffa02f5a10>] ? inet6_ioctl+0x30/0xb0 [ipv6]
 [<ffffffff8108e100>] ? autoremove_wake_function+0x0/0x40
 [<ffffffff81184f62>] ? vfs_ioctl+0x22/0xa0
 [<ffffffff81211c5b>] ? selinux_file_permission+0xfb/0x150
 [<ffffffff812050c6>] ? security_file_permission+0x16/0x20
 [<ffffffff81172778>] vfs_write+0xb8/0x1a0
 [<ffffffff810d1ad2>] ? audit_syscall_entry+0x272/0x2a0
 [<ffffffff811731b1>] sys_write+0x51/0x90
 [<ffffffff8100b172>] system_call_fastpath+0x16/0x1b

Environment

  • Red Hat Enterprise Linux 5
  • Red Hat Enterprise Linux 6.1
  • Extended Filesystem with journaling (ext3 and ext4)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In