VE Fails to start with dmesg error "err=-11". 64bit el5 patch. [message #32485] |
Tue, 12 August 2008 12:59 |
rickb
Messages: 368 Registered: October 2006
|
Senior Member |
|
|
Hello, I am moving some VEs to another node the latest 64bit el5 patch set (moving from 32bit el5 openvz). When I start the VE on the new server, the VE fails to start from vzctl with error:
VE is mounted
VE start failed
VE is unmounted
In dmesg, the following error appears:
CT: 124069: stopped
CT: 124069: failed to start with err=-11
I have moved about 40 VEs from a 32bit host to this 64bit host, about 60% worked fine, the other 40% exhibit this error. The VEs are 32bit software and the OS templates range from ce5, ubuntu8, ce4, debian4, fedoras.
vzquota-3.0.11-1
vzctl-lib-3.0.22-1
vzctl-3.0.22-1
Any information is appreciated.
Rick
-------------
Common Terms I post with: http://wiki.openvz.org/Category:Definitions
UBC. Learn it, love it, live it: http://wiki.openvz.org/Proc/user_beancounters
[Updated on: Tue, 12 August 2008 13:30] Report message to a moderator
|
|
|
|
|
|
Re: VE Fails to start with dmesg error "err=-11". 64bit el5 patch. [message #32489 is a reply to message #32488] |
Tue, 12 August 2008 15:07 |
rickb
Messages: 368 Registered: October 2006
|
Senior Member |
|
|
Thank you for the help.
[root@kool ~]# ulimit -a
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
scheduling priority (-e) 0
file size (blocks, -f) unlimited
pending signals (-i) 137216
max locked memory (kbytes, -l) 32
max memory size (kbytes, -m) unlimited
open files (-n) 1024
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
real-time priority (-r) 0
stack size (kbytes, -s) 10240
cpu time (seconds, -t) unlimited
max user processes (-u) 137216
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited
[root@kool ~]#
-------------
Common Terms I post with: http://wiki.openvz.org/Category:Definitions
UBC. Learn it, love it, live it: http://wiki.openvz.org/Proc/user_beancounters
|
|
|
|
Re: VE Fails to start with dmesg error "err=-11". 64bit el5 patch. [message #32492 is a reply to message #32491] |
Tue, 12 August 2008 15:43 |
rickb
Messages: 368 Registered: October 2006
|
Senior Member |
|
|
Seems this error is due to a kzalloc() failure. should I downgrade the kernel to the last release and retry?
high mem reports 0/0..?
[root@kool src]# cat /proc/meminfo
MemTotal: 16405428 kB
MemFree: 5352608 kB
Buffers: 1575036 kB
Cached: 5155936 kB
SwapCached: 1596 kB
Active: 6639644 kB
Inactive: 3217932 kB
HighTotal: 0 kB <<=========
HighFree: 0 kB <<=========
LowTotal: 16405428 kB
LowFree: 5352608 kB
SwapTotal: 4096524 kB
SwapFree: 4081160 kB
Dirty: 5712 kB
Writeback: 552 kB
AnonPages: 3124744 kB
Mapped: 579088 kB
Slab: 1008840 kB
PageTables: 56512 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
CommitLimit: 12299236 kB
Committed_AS: 12543696 kB
VmallocTotal: 34359738364 kB
VmallocUsed: 308236 kB
VmallocChunk: 34359425572 kB
HugePages_Total: 0
HugePages_Free: 0
HugePages_Rsvd: 0
Hugepagesize: 2048 kB
Rick
-------------
Common Terms I post with: http://wiki.openvz.org/Category:Definitions
UBC. Learn it, love it, live it: http://wiki.openvz.org/Proc/user_beancounters
[Updated on: Tue, 12 August 2008 17:56] Report message to a moderator
|
|
|
Re: VE Fails to start with dmesg error "err=-11". 64bit el5 patch. [message #32496 is a reply to message #32492] |
Tue, 12 August 2008 20:14 |
khorenko
Messages: 533 Registered: January 2006 Location: Moscow, Russia
|
Senior Member |
|
|
Hi again Rick,
you are running x86_64 kernel and all available memory on the node can be accessed directly as lowmem as there is no 4Gb addressing limitation. Thus highmem is reported as 0. That's normal.
Unable to start more than 46 Containers... this is definitely some resource limitation. Can you please try just in case to increase all your ulimits in two times and try once more? Just to be sure that the problem is not here.
Could you please also get a strace of vzctl start for the same Container when it goes ok and when it fails?
If this info won't help us i'll probably create a debug kernel for you to track which exactly place fails in kernel.
Thank you!
--
Konstantin
If your problem is solved - please, report it!
It's even more important than reporting the problem itself...
|
|
|
Re: VE Fails to start with dmesg error "err=-11". 64bit el5 patch. [message #32499 is a reply to message #32496] |
Tue, 12 August 2008 20:26 |
rickb
Messages: 368 Registered: October 2006
|
Senior Member |
|
|
Hi, I doubled all ulimit values, I see the same problem.
[root@kool bc]# ulimit -a
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
scheduling priority (-e) 0
file size (blocks, -f) unlimited
pending signals (-i) 237216
max locked memory (kbytes, -l) 64
max memory size (kbytes, -m) unlimited
open files (-n) 2048
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) 1619200
real-time priority (-r) 0
stack size (kbytes, -s) 20480
cpu time (seconds, -t) unlimited
max user processes (-u) 237216
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited
[root@kool bc]# vzctl start 9893392 --force
Starting VE ...
VE is mounted
VE start failed
VE is unmounted
[root@kool bc]#
[root@kool bc]# dmesg | grep 9893392| tail -10
CT: 9893392: stopped
CT: 9893392: failed to start with err=-11
CT: 9893392: stopped
CT: 9893392: failed to start with err=-11
CT: 9893392: stopped
CT: 9893392: failed to start with err=-11
[root@kool bc]#
I am going to downgrade the kernel tonight as I found another bug in this one, the read/write accounting in /proc/bc/<veid>/ioacct is nonexistent.
[root@kool bc]# egrep 'read|write' */ioacct | grep vfs -v | head -10
0/ioacct: read 0
0/ioacct: write 0
402099/ioacct: read 0
402099/ioacct: write 0
6813/ioacct: read 0
6813/ioacct: write 0
889205/ioacct: read 0
889205/ioacct: write 0
889431/ioacct: read 0
889431/ioacct: write 0
This is with patch patch-92.1.1.el5.028stab057.2-combined, I am going to downgrade to patch-53.1.19.el5.028stab053.14-combined tonight and I will report back if either of these problems are solved by this.
Rick
-------------
Common Terms I post with: http://wiki.openvz.org/Category:Definitions
UBC. Learn it, love it, live it: http://wiki.openvz.org/Proc/user_beancounters
[Updated on: Tue, 12 August 2008 20:29] Report message to a moderator
|
|
|
|
|
|
|