*SOLVED* env_create error: Resource temporarily unavailable [message #11235] |
Thu, 15 March 2007 20:01 |
Olate
Messages: 5 Registered: March 2007
|
Junior Member |
|
|
I have just customised the config for one of our VPSs and just after creating it and trying to set the password, I get an error:
[root@186 ~]# vzctl set 301 --userpasswd root:password
Starting VE ...
VE is mounted
env_create error: Resource temporarily unavailable
VE start in progress...
VE is not running
Password change failed
Unable to stop: VE is not running
Config being used is:
ONBOOT="yes"
# UBC parameters (in form of barrier:limit)
# Primary parameters
AVNUMPROC="40:40"
NUMPROC="85:95"
NUMTCPSOCK="95:100"
NUMOTHERSOCK="95:100"
VMGUARPAGES="32768:262144"
# Secondary parameters
KMEMSIZE="16384:131072"
TCPSNDBUF="16384:131072"
TCPRCVBUF="16384:131072"
OTHERSOCKBUF="16384:131072"
DGRAMRCVBUF="16384:131072"
OOMGUARPAGES="16384:131072"
# Auxiliary parameters
LOCKEDPAGES="32:32"
SHMPAGES="8192:8192"
PRIVVMPAGES="16384:131072"
NUMFILE="2048:2048"
NUMFLOCK="100:110"
NUMPTY="16:16"
NUMSIGINFO="256:256"
DCACHESIZE="1048576:1097728"
PHYSPAGES="0:1048576"
NUMIPTENT="128:128"
# Disk quota parameters (in form of softlimit:hardlimit)
DISKSPACE="4194304:4194304"
DISKINODES="200000:220000"
QUOTATIME="0"
# CPU fair sheduler parameter
CPUUNITS="18317"
What is causing this resource unavailable error?
[Updated on: Fri, 16 March 2007 09:04] by Moderator Report message to a moderator
|
|
|
|
|
|
|
Re: env_create error: Resource temporarily unavailable [message #11260 is a reply to message #11254] |
Fri, 16 March 2007 11:03 |
|
I strongly suggest you to use vzcfgvalidate utility to check your VE config. For example, this is what it told me on your config:
Error: barrier should be equal limit for numproc (currently, 85:95)
Error: barrier should be equal limit for numtcpsock (currently, 95:100)
Error: barrier should be equal limit for numothersock (currently, 95:100)
Error: limit should be = 9223372036854775807 for vmguarpages (currently, 262144)
Error: limit should be = 9223372036854775807 for oomguarpages (currently, 131072)
Error: limit should be = 9223372036854775807 for physpages (currently, 1048576)
Error: kmemsize.bar should be > 2736128 (currently, 16384)
Warning: privvmpages.bar should be > 32768 (currently, 16384)
Error: tcpsndbuf.lim-tcpsndbuf.bar should be > 243200 (currently, 114688)
Error: othersockbuf.lim-othersockbuf.bar should be > 243200 (currently, 114688)
Warning: tcprcvbuf.lim-tcprcvbuf.bar should be > 243200 (currently, 114688)
Warning: tcprcvbuf.bar should be > 65536 (currently, 16384)
Warning: tcpsndbuf.bar should be > 65536 (currently, 16384)
Warning: dgramrcvbuf.bar should be > 32768 (currently, 16384)
Warning: othersockbuf.bar should be > 32768 (currently, 16384)
Kir Kolyshkin
|
|
|