[Lxc-users] 6mn to launch a VM (lxc hung_task_timeout_secs)
Daniel Lezcano
daniel.lezcano at free.fr
Thu Aug 19 21:23:50 UTC 2010
On 08/19/2010 11:18 AM, Sebastien Douche wrote:
> Hi folks,
> I have the problem each time I launch a VM (no more result with the
> sysctl setting). Any ideas to resolve this issue?
>
> The dmesg:
>
> [ 7560.404075] INFO: task mount:27788 blocked for more than 120 seconds.
> [ 7560.404123] "echo 0> /proc/sys/kernel/hung_task_timeout_secs"
> disables this message.
> [ 7560.404169] mount D 0000000000000002 0 27788 27701 0x00000004
> [ 7560.404175] ffff88012bc58710 0000000000000082 0000000000000286
> ffff88000540fa68
> [ 7560.404181] 0000000000000000 0000000000000286 000000000000f8a0
> ffff8800b80abfd8
> [ 7560.404186] 00000000000155c0 00000000000155c0 ffff88012db062e0
> ffff88012db065d8
> [ 7560.404191] Call Trace:
> [ 7560.404201] [<ffffffff811052ab>] ? bdi_sched_wait+0x0/0xe
> [ 7560.404206] [<ffffffff811052b4>] ? bdi_sched_wait+0x9/0xe
> [ 7560.404217] [<ffffffff812e5dc6>] ? __wait_on_bit+0x41/0x70
> [ 7560.404220] [<ffffffff811052ab>] ? bdi_sched_wait+0x0/0xe
> [ 7560.404224] [<ffffffff812e5e60>] ? out_of_line_wait_on_bit+0x6b/0x77
> [ 7560.404228] [<ffffffff81064adc>] ? wake_bit_function+0x0/0x23
> [ 7560.404232] [<ffffffff8110532c>] ? sync_inodes_sb+0x73/0x129
> [ 7560.404235] [<ffffffff81108e81>] ? __sync_filesystem+0x4b/0x70
> [ 7560.404240] [<ffffffff810ed562>] ? do_remount_sb+0x60/0x122
> [ 7560.404243] [<ffffffff81101a96>] ? do_mount+0x27a/0x792
> [ 7560.404246] [<ffffffff8110202e>] ? sys_mount+0x80/0xba
> [ 7560.404252] [<ffffffff81010b02>] ? system_call_fastpath+0x16/0x1b
> [ 7594.577136] br1: port 3(vethvaLKCB) entering disabled state
> [ 7594.592611] br1: port 3(vethvaLKCB) entering disabled state
> [ 7594.657095] br0: port 3(vethLxLiar) entering disabled state
> [ 7594.672608] br0: port 3(vethLxLiar) entering disabled state
> [ 7753.540023] device vethvh8sS7 entered promiscuous mode
> [ 7753.540839] ADDRCONF(NETDEV_UP): vethvh8sS7: link is not ready
> [ 7753.543136] device vethhNdkjz entered promiscuous mode
> [ 7753.543778] ADDRCONF(NETDEV_UP): vethhNdkjz: link is not ready
> [ 7753.546074] lo: Disabled Privacy Extensions
> [ 7753.602317] ADDRCONF(NETDEV_CHANGE): vethvh8sS7: link becomes ready
> [ 7753.602343] br1: port 3(vethvh8sS7) entering forwarding state
> [ 7753.605034] ADDRCONF(NETDEV_CHANGE): vethhNdkjz: link becomes ready
> [ 7753.605058] br0: port 3(vethhNdkjz) entering forwarding state
> [ 7763.612089] eth0: no IPv6 routers present
> [ 7763.912148] vethhNdkjz: no IPv6 routers present
> [ 7764.504028] eth1: no IPv6 routers present
> [ 7764.584042] vethvh8sS7: no IPv6 routers present
> [ 7920.404063] INFO: task mount:27993 blocked for more than 120 seconds.
> [ 7920.404096] "echo 0> /proc/sys/kernel/hung_task_timeout_secs"
> disables this message.
> [ 7920.404142] mount D 0000000000000002 0 27993 27986 0x00000000
> [ 7920.404148] ffff88012bc58710 0000000000000086 0000000000000286
> ffff88000540fa68
> [ 7920.404154] 0000000000000000 0000000000000286 000000000000f8a0
> ffff8800379e7fd8
> [ 7920.404159] 00000000000155c0 00000000000155c0 ffff88012db062e0
> ffff88012db065d8
> [ 7920.404164] Call Trace:
> [ 7920.404175] [<ffffffff811052ab>] ? bdi_sched_wait+0x0/0xe
> [ 7920.404179] [<ffffffff811052b4>] ? bdi_sched_wait+0x9/0xe
> [ 7920.404186] [<ffffffff812e5dc6>] ? __wait_on_bit+0x41/0x70
> [ 7920.404190] [<ffffffff811052ab>] ? bdi_sched_wait+0x0/0xe
> [ 7920.404199] [<ffffffff812e5e60>] ? out_of_line_wait_on_bit+0x6b/0x77
> [ 7920.404203] [<ffffffff81064adc>] ? wake_bit_function+0x0/0x23
> [ 7920.404207] [<ffffffff8110532c>] ? sync_inodes_sb+0x73/0x129
> [ 7920.404210] [<ffffffff81108e81>] ? __sync_filesystem+0x4b/0x70
> [ 7920.404214] [<ffffffff810ed562>] ? do_remount_sb+0x60/0x122
> [ 7920.404217] [<ffffffff81101a96>] ? do_mount+0x27a/0x792
> [ 7920.404221] [<ffffffff8110202e>] ? sys_mount+0x80/0xba
> [ 7920.404226] [<ffffffff81010b02>] ? system_call_fastpath+0x16/0x1b
> [ 8040.404062] INFO: task mount:27993 blocked for more than 120 seconds.
> [ 8040.404095] "echo 0> /proc/sys/kernel/hung_task_timeout_secs"
> disables this message.
> [ 8040.404141] mount D 0000000000000002 0 27993 27986 0x00000000
> [ 8040.404147] ffff88012bc58710 0000000000000086 0000000000000286
> ffff88000540fa68
> [ 8040.404152] 0000000000000000 0000000000000286 000000000000f8a0
> ffff8800379e7fd8
> [ 8040.404157] 00000000000155c0 00000000000155c0 ffff88012db062e0
> ffff88012db065d8
> [ 8040.404162] Call Trace:
> [ 8040.404173] [<ffffffff811052ab>] ? bdi_sched_wait+0x0/0xe
> [ 8040.404178] [<ffffffff811052b4>] ? bdi_sched_wait+0x9/0xe
> [ 8040.404184] [<ffffffff812e5dc6>] ? __wait_on_bit+0x41/0x70
> [ 8040.404188] [<ffffffff811052ab>] ? bdi_sched_wait+0x0/0xe
> [ 8040.404198] [<ffffffff812e5e60>] ? out_of_line_wait_on_bit+0x6b/0x77
> [ 8040.404202] [<ffffffff81064adc>] ? wake_bit_function+0x0/0x23
> [ 8040.404206] [<ffffffff8110532c>] ? sync_inodes_sb+0x73/0x129
> [ 8040.404209] [<ffffffff81108e81>] ? __sync_filesystem+0x4b/0x70
> [ 8040.404213] [<ffffffff810ed562>] ? do_remount_sb+0x60/0x122
> [ 8040.404216] [<ffffffff81101a96>] ? do_mount+0x27a/0x792
> [ 8040.404219] [<ffffffff8110202e>] ? sys_mount+0x80/0xba
> [ 8040.404224] [<ffffffff81010b02>] ? system_call_fastpath+0x16/0x1b
> [ 8294.916591] br0: port 3(vethhNdkjz) entering disabled state
> [ 8297.681117] br1: port 3(vethvh8sS7) entering disabled state
> [ 8297.692612] br1: port 3(vethvh8sS7) entering disabled state
> [ 8297.741114] br0: port 3(vethhNdkjz) entering disabled state
> [ 8297.756608] br0: port 3(vethhNdkjz) entering disabled state
> [ 8494.952238] device vethstOklh entered promiscuous mode
> [ 8494.953088] ADDRCONF(NETDEV_UP): vethstOklh: link is not ready
> [ 8494.955362] device vethGea6oo entered promiscuous mode
> [ 8494.956135] ADDRCONF(NETDEV_UP): vethGea6oo: link is not ready
> [ 8494.957137] lo: Disabled Privacy Extensions
> [ 8495.014322] ADDRCONF(NETDEV_CHANGE): vethstOklh: link becomes ready
> [ 8495.014349] br1: port 3(vethstOklh) entering forwarding state
> [ 8495.017046] ADDRCONF(NETDEV_CHANGE): vethGea6oo: link becomes ready
> [ 8495.017070] br0: port 3(vethGea6oo) entering forwarding state
> [ 8505.104061] eth1: no IPv6 routers present
> [ 8505.212171] eth0: no IPv6 routers present
> [ 8505.488094] vethstOklh: no IPv6 routers present
> [ 8505.984043] vethGea6oo: no IPv6 routers present
> [ 8640.404108] INFO: task mount:28529 blocked for more than 120 seconds.
> [ 8640.404141] "echo 0> /proc/sys/kernel/hung_task_timeout_secs"
> disables this message.
> [ 8640.404187] mount D 0000000000000002 0 28529 28522 0x00000000
> [ 8640.404194] ffff88012bc58710 0000000000000082 0000000000000286
> ffff88000540fa68
> [ 8640.404199] 0000000000000000 0000000000000286 000000000000f8a0
> ffff8800379e7fd8
> [ 8640.404204] 00000000000155c0 00000000000155c0 ffff88012cf2d4c0
> ffff88012cf2d7b8
> [ 8640.404209] Call Trace:
> [ 8640.404220] [<ffffffff811052ab>] ? bdi_sched_wait+0x0/0xe
> [ 8640.404225] [<ffffffff811052b4>] ? bdi_sched_wait+0x9/0xe
> [ 8640.404231] [<ffffffff812e5dc6>] ? __wait_on_bit+0x41/0x70
> [ 8640.404235] [<ffffffff811052ab>] ? bdi_sched_wait+0x0/0xe
> [ 8640.404244] [<ffffffff812e5e60>] ? out_of_line_wait_on_bit+0x6b/0x77
> [ 8640.404249] [<ffffffff81064adc>] ? wake_bit_function+0x0/0x23
> [ 8640.404252] [<ffffffff8110532c>] ? sync_inodes_sb+0x73/0x129
> [ 8640.404255] [<ffffffff81108e81>] ? __sync_filesystem+0x4b/0x70
> [ 8640.404259] [<ffffffff810ed562>] ? do_remount_sb+0x60/0x122
> [ 8640.404262] [<ffffffff81101a96>] ? do_mount+0x27a/0x792
> [ 8640.404266] [<ffffffff8110202e>] ? sys_mount+0x80/0xba
> [ 8640.404271] [<ffffffff81010b02>] ? system_call_fastpath+0x16/0x1b
> [ 8760.404061] INFO: task mount:28529 blocked for more than 120 seconds.
> [ 8760.404094] "echo 0> /proc/sys/kernel/hung_task_timeout_secs"
> disables this message.
> [ 8760.404140] mount D 0000000000000002 0 28529 28522 0x00000000
> [ 8760.404146] ffff88012bc58710 0000000000000082 0000000000000286
> ffff88000540fa68
> [ 8760.404152] 0000000000000000 0000000000000286 000000000000f8a0
> ffff8800379e7fd8
> [ 8760.404157] 00000000000155c0 00000000000155c0 ffff88012cf2d4c0
> ffff88012cf2d7b8
> [ 8760.404162] Call Trace:
> [ 8760.404173] [<ffffffff811052ab>] ? bdi_sched_wait+0x0/0xe
> [ 8760.404178] [<ffffffff811052b4>] ? bdi_sched_wait+0x9/0xe
> [ 8760.404184] [<ffffffff812e5dc6>] ? __wait_on_bit+0x41/0x70
> [ 8760.404188] [<ffffffff811052ab>] ? bdi_sched_wait+0x0/0xe
> [ 8760.404198] [<ffffffff812e5e60>] ? out_of_line_wait_on_bit+0x6b/0x77
> [ 8760.404202] [<ffffffff81064adc>] ? wake_bit_function+0x0/0x23
> [ 8760.404205] [<ffffffff8110532c>] ? sync_inodes_sb+0x73/0x129
> [ 8760.404209] [<ffffffff81108e81>] ? __sync_filesystem+0x4b/0x70
> [ 8760.404213] [<ffffffff810ed562>] ? do_remount_sb+0x60/0x122
> [ 8760.404216] [<ffffffff81101a96>] ? do_mount+0x27a/0x792
> [ 8760.404219] [<ffffffff8110202e>] ? sys_mount+0x80/0xba
> [ 8760.404224] [<ffffffff81010b02>] ? system_call_fastpath+0x16/0x1b
> [ 8880.404062] INFO: task mount:28529 blocked for more than 120 seconds.
> [ 8880.404095] "echo 0> /proc/sys/kernel/hung_task_timeout_secs"
> disables this message.
> [ 8880.404141] mount D 0000000000000002 0 28529 28522 0x00000000
> [ 8880.404147] ffff88012bc58710 0000000000000082 0000000000000286
> ffff88000540fa68
> [ 8880.404153] 0000000000000000 0000000000000286 000000000000f8a0
> ffff8800379e7fd8
> [ 8880.404158] 00000000000155c0 00000000000155c0 ffff88012cf2d4c0
> ffff88012cf2d7b8
> [ 8880.404163] Call Trace:
> [ 8880.404174] [<ffffffff811052ab>] ? bdi_sched_wait+0x0/0xe
> [ 8880.404178] [<ffffffff811052b4>] ? bdi_sched_wait+0x9/0xe
> [ 8880.404185] [<ffffffff812e5dc6>] ? __wait_on_bit+0x41/0x70
> [ 8880.404189] [<ffffffff811052ab>] ? bdi_sched_wait+0x0/0xe
> [ 8880.404198] [<ffffffff812e5e60>] ? out_of_line_wait_on_bit+0x6b/0x77
> [ 8880.404202] [<ffffffff81064adc>] ? wake_bit_function+0x0/0x23
> [ 8880.404205] [<ffffffff8110532c>] ? sync_inodes_sb+0x73/0x129
> [ 8880.404209] [<ffffffff81108e81>] ? __sync_filesystem+0x4b/0x70
> [ 8880.404213] [<ffffffff810ed562>] ? do_remount_sb+0x60/0x122
> [ 8880.404216] [<ffffffff81101a96>] ? do_mount+0x27a/0x792
> [ 8880.404219] [<ffffffff8110202e>] ? sys_mount+0x80/0xba
> [ 8880.404224] [<ffffffff81010b02>] ? system_call_fastpath+0x16/0x1b
Hmm, it is very probable the problem is located in the kernel. This kind
of warnings appears when a task is in a uninterruptible state and the
kernel compilation option CONFIG_DETECT_HUNG_TASK is set.
What is the kernel version ?
Thanks
-- Daniel
More information about the lxc-users
mailing list