OpenVZ Forum


Home » General » Support » *CLOSED* Memory
Re: Memory [message #12637 is a reply to message #12636] Sat, 05 May 2007 06:07 Go to previous messageGo to previous message
Hsilamot is currently offline  Hsilamot
Messages: 9
Registered: February 2007
Junior Member
i have get rid of the problem raising the kmemsize but whold like to know what should be the best size

root@man:[/]# cat /proc/user_beancounters
Version: 2.5
uid resource held maxheld barrier limit failcnt
128: kmemsize 7099477 18527131 1342177280 1342177280 20326611
lockedpages 0 8 4501 4501 0
privvmpages 136137 180944 153471 168818 379679
shmpages 731 9848 15347 15347 0
dummy 0 0 0 0 0
numproc 123 245 2048 3192 0
physpages 51203 84320 0 2147483647 0
vmguarpages 0 0 196000 2147483647 0
oomguarpages 51203 94088 153471 2147483647 0
numtcpsock 47 216 4000 4000 0
numflock 9 70 1000 1000 0
numpty 1 3 400 400 0
numsiginfo 0 88 1024 1024 0
tcpsndbuf 100080 2870928 14347059 30731059 19
tcprcvbuf 2400 521520 14347059 30731059 0
othersockbuf 39504 668112 7173529 23557529 0
dgramrcvbuf 0 120000 7173529 7173529 0
numothersock 34 96 2000 2000 0
dcachesize 727196 977248 20132038 20736000 0
numfile 1450 3751 36000 36000 0
dummy 0 0 0 0 0
dummy 0 0 0 0 0
dummy 0 0 0 0 0
numiptent 57 110 200 200 0

root@azx:[/etc/sysconfig/vz-scripts]# vzmemcheck -v
Output values in %
veid LowMem LowMem RAM MemSwap MemSwap Alloc Alloc Alloc
util commit util util commit util commit limit
117 0.48 10.50 1.60 0.62 20.37 4.20 20.37 22.28
128 1.99 388.96 20.74 6.63 62.96 17.24 68.27 64.88
137 1.10 10.50 21.02 6.72 20.37 12.19 20.37 22.28
140 0.34 2.35 2.31 0.96 3.17 2.42 3.17 3.17
141 0.24 2.35 1.45 0.55 0.78 1.92 0.78 3.17
142 0.24 2.35 1.00 0.53 0.78 1.90 0.78 3.17
143 0.25 2.35 1.45 0.55 0.78 1.92 0.78 3.17
148 1.24 5.25 10.36 3.31 19.78 7.81 19.78 21.69
------------------------------------------------------------ -------------
Summary: 5.89 424.61 59.94 19.87 128.96 49.62 134.28 143.82
root@azx:[/etc/sysconfig/vz-scripts]# vzmemcheck -v -A
Output values in Mbytes
veid LowMem LowMem RAM MemSwap MemSwap Alloc Alloc Alloc
util commit util util commit util commit limit
117 1.69 36.93 16.03 19.47 636.42 131.40 636.42 696.37
128 7.27 1367.92 214.35 214.35 1967.42 547.74 2133.55 2027.37
137 3.39 36.93 205.70 205.70 636.42 374.03 636.42 696.37
140 1.21 8.27 23.10 30.10 99.04 75.77 99.04 99.04
141 0.86 8.27 14.53 17.10 24.27 60.08 24.27 99.04
142 0.86 8.27 9.95 16.43 24.27 59.40 24.27 99.04
143 0.86 8.27 14.48 17.09 24.27 60.05 24.27 99.04
148 4.34 18.46 103.51 103.51 617.96 244.07 617.96 677.91
------------------------------------------------------------ -------------
Summary: 20.47 1493.32 601.64 623.75 4030.08 1552.53 4196.21 4494.20
351.00 351.00 999.00 3124.00 3124.00 3124.00 3124.00 3124.00

is the VE 128 the one with the CPanel

------------------------------------

Other question, do you know if there's a way to evade the "fork: memory allocation fail" when the memory is full (i think that because the vz sees the 1 gb of ram it tryes to allocate the memory, i whould like to know if there's some way that the virtualz only sees the ram that has available for himself)
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: High Load Issues
Next Topic: *SOLVED* Communication between HN and VE
Goto Forum:
  


Current Time: Fri Aug 16 15:40:21 GMT 2024

Total time taken to generate the page: 0.02850 seconds