[Users] vzctl start yields err=-12

John Knight jknight at geminimicro.com
Tue May 26 19:40:27 EDT 2009


Hi Greg,

I ran into this problem when building my own ovz kernel, and have since
noted some distro's stock kernels have this issue as well.  This seems to be
a symptom of a known bug tied to the kernel scheduling.

http://forum.openvz.org/index.php?t=msg&goto=27142&

To fix this issue, recompile your kernel with this option commented out:

#CONFIG_FAIR_USER_SCHED


#CONFIG_FAIR_GROUP_SCHED


GMSI - Gemini Microsystems
John Knight | Systems Engineer
jknight at geminimicro.com | (706) 255-9203



On Tue, May 26, 2009 at 6:47 PM, Gregor at HostGIS <gregor at hostgis.com>wrote:

> I am having a problem creating and starting a new VE.
> vzctl start gives me: mounted, container start failed, unmounting.
>
>
> dmesg shows only this:
> CT: 30: stopped
> CT: 30: failed to start with err=-12
>
> The verbose log (level 10) is no more useful to me:
>
> Starting container ...
> Running: /usr/sbin/vzquota show 30
> Running: /usr/sbin/vzquota on 30 -r 0 -b 104857700 -B 104857700 -i 20000100
> -I 20000100 -e 0 -n 0 -s 0
> Mounting root: /vz/root/30 /vz/private/30
> Container is mounted
> Set iptables mask 0x000017bf
> Set features mask 0000000000000000/0000000000000000
> Container start failed
> Running: /usr/sbin/vzquota stat 30 -f
> Running: vzquota setlimit 30 -b 104857600 -B 104857600 -i 20000000 -I
> 20000000 -e 0 -n 0
> Running: /usr/sbin/vzquota stat 30 -f
> Running: /usr/sbin/vzquota off 30
> Container is unmounted
>
>
> It can't possibly be a RAM shortage. This hardware has 24 GB physical, and
> only 9 is allocated amongst the other VEs. There are presently 8 VEs, and
> this would make 9 if it would start.
>
> Any thoughts on how I can debug this?
>
> --
> HostGIS, Open Source solutions for the global GIS community
> Greg Allensworth - SysAdmin, Programmer, GIS Person, Security
> Network+   Server+   A+   Security+
> _______________________________________________
> Users mailing list
> Users at openvz.org
> https://openvz.org/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://openvz.org/pipermail/users/attachments/20090526/c7abe0c7/attachment.html


More information about the Users mailing list