VM memory settings [message #37941] |
Wed, 04 November 2009 21:58 ![Go to next message Go to next message](/theme/ovz3/images/down.png) |
tradmin
Messages: 2 Registered: November 2009
|
Junior Member |
|
|
Hello
I ran into an issue where the VM errors out with
-bash: fork: Cannot allocate memory
From this output it looks like it's running out of memory or the host is limiting the amount of ram that can be used.
This is a 4GB server I'd like to be able to give this VM 3GB.
Version: 2.5
uid resource held maxheld barrier limit failcnt
11: kmemsize 12194045 13709435 12752512 12752512 181
lockedpages 0 0 256 256 3
privvmpages 156501 314456 786432 786432 841
shmpages 6917 17130 21504 21504 0
dummy 0 0 0 0 0
numproc 238 240 240 240 74707
physpages 85310 223632 0 2147483647 0
vmguarpages 0 0 786432 786432 0
oomguarpages 85438 223761 786432 786432 0
numtcpsock 151 360 360 360 26568
numflock 4 8 188 206 0
numpty 6 11 16 16 0
numsiginfo 0 55 256 256 0
tcpsndbuf 232544 1480232 1720320 2703360 0
tcprcvbuf 213304 1711952 1720320 2703360 0
othersockbuf 205692 679108 1126080 2097152 0
dgramrcvbuf 0 25140 262144 262144 0
numothersock 196 400 400 720 1559
dcachesize 333161 499043 3409920 3624960 0
numfile 4764 5293 9312 9312 0
dummy 0 0 0 0 0
dummy 0 0 0 0 0
dummy 0 0 0 0 0
numiptent 14 14 128 128 0
VEID CPUUNITS
-------------------------
0 1000
10 50000
11 250000
Current CPU utilization: 301000
Power of the node: 613169
Thanks for the help
|
|
|
|
|