Re: [Lxc-users] 6mn to launch a VM (lxc hung_task_timeout_secs)

2010-08-20 Thread Daniel Lezcano
On 08/20/2010 09:16 AM, Sebastien Douche wrote:
 On Thu, Aug 19, 2010 at 23:23, Daniel Lezcanodaniel.lezc...@free.fr  wrote:


 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 ?
  
 # uname -a
 Linux srv3 2.6.32-trunk-amd64 #1 SMP Sun Jan 10 22:40:40 UTC 2010
 x86_64 GNU/Linux

 It's a Debian Squeeze (up to date). After some tests, it seems related
 with some device nodes creation (/dev/pts, /dev/shm...) but i'm not
 sure.


I think you hit a kernel bug. May be this one : 
https://bugzilla.kernel.org/show_bug.cgi?id=14430
Normally, a system container spawns instantaneously.

When the containers starts it does pivot_root and unmount all previous 
mount points belonging to the old rootfs.
Is it possible you have a particular mount on your system which triggers 
this problem ?

Thanks
   -- Daniel

--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
___
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users


Re: [Lxc-users] 6mn to launch a VM (lxc hung_task_timeout_secs)

2010-08-19 Thread Daniel Lezcano
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 0002 0 27788  27701 0x0004
 [ 7560.404175]  88012bc58710 0082 0286
 88000540fa68
 [ 7560.404181]   0286 f8a0
 8800b80abfd8
 [ 7560.404186]  000155c0 000155c0 88012db062e0
 88012db065d8
 [ 7560.404191] Call Trace:
 [ 7560.404201]  [811052ab] ? bdi_sched_wait+0x0/0xe
 [ 7560.404206]  [811052b4] ? bdi_sched_wait+0x9/0xe
 [ 7560.404217]  [812e5dc6] ? __wait_on_bit+0x41/0x70
 [ 7560.404220]  [811052ab] ? bdi_sched_wait+0x0/0xe
 [ 7560.404224]  [812e5e60] ? out_of_line_wait_on_bit+0x6b/0x77
 [ 7560.404228]  [81064adc] ? wake_bit_function+0x0/0x23
 [ 7560.404232]  [8110532c] ? sync_inodes_sb+0x73/0x129
 [ 7560.404235]  [81108e81] ? __sync_filesystem+0x4b/0x70
 [ 7560.404240]  [810ed562] ? do_remount_sb+0x60/0x122
 [ 7560.404243]  [81101a96] ? do_mount+0x27a/0x792
 [ 7560.404246]  [8110202e] ? sys_mount+0x80/0xba
 [ 7560.404252]  [81010b02] ? 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 0002 0 27993  27986 0x
 [ 7920.404148]  88012bc58710 0086 0286
 88000540fa68
 [ 7920.404154]   0286 f8a0
 8800379e7fd8
 [ 7920.404159]  000155c0 000155c0 88012db062e0
 88012db065d8
 [ 7920.404164] Call Trace:
 [ 7920.404175]  [811052ab] ? bdi_sched_wait+0x0/0xe
 [ 7920.404179]  [811052b4] ? bdi_sched_wait+0x9/0xe
 [ 7920.404186]  [812e5dc6] ? __wait_on_bit+0x41/0x70
 [ 7920.404190]  [811052ab] ? bdi_sched_wait+0x0/0xe
 [ 7920.404199]  [812e5e60] ? out_of_line_wait_on_bit+0x6b/0x77
 [ 7920.404203]  [81064adc] ? wake_bit_function+0x0/0x23
 [ 7920.404207]  [8110532c] ? sync_inodes_sb+0x73/0x129
 [ 7920.404210]  [81108e81] ? __sync_filesystem+0x4b/0x70
 [ 7920.404214]  [810ed562] ? do_remount_sb+0x60/0x122
 [ 7920.404217]  [81101a96] ? do_mount+0x27a/0x792
 [ 7920.404221]  [8110202e] ? sys_mount+0x80/0xba
 [ 7920.404226]  [81010b02] ? 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 0002 0 27993  27986 0x
 [ 8040.404147]  88012bc58710 0086 0286
 88000540fa68
 [ 8040.404152]   0286 f8a0
 8800379e7fd8
 [ 8040.404157]  000155c0 000155c0 88012db062e0
 88012db065d8
 [ 8040.404162] Call Trace:
 [ 8040.404173]  [811052ab] ? bdi_sched_wait+0x0/0xe
 [ 8040.404178]  [811052b4] ? bdi_sched_wait+0x9/0xe
 [ 8040.404184]  [812e5dc6] ? __wait_on_bit+0x41/0x70
 [ 8040.404188]  [811052ab] ? bdi_sched_wait+0x0/0xe
 [ 8040.404198]  [812e5e60] ? out_of_line_wait_on_bit+0x6b/0x77
 [ 8040.404202]  [81064adc] ? wake_bit_function+0x0/0x23
 [ 8040.404206]  [8110532c] ? sync_inodes_sb+0x73/0x129
 [ 8040.404209]  [81108e81] ? __sync_filesystem+0x4b/0x70
 [ 8040.404213]  [810ed562] ? do_remount_sb+0x60/0x122
 [ 8040.404216]  [81101a96] ? do_mount+0x27a/0x792
 [ 8040.404219]  [8110202e] ?