|
|
Re: about openVZ support thread problem [message #35744 is a reply to message #35743] |
Mon, 20 April 2009 09:57 ![Go to previous message Go to previous message](/theme/ovz3/images/up.png) ![Go to next message Go to next message](/theme/ovz3/images/down.png) |
christ.qi
Messages: 6 Registered: April 2009 Location: BeiJing
|
Junior Member |
|
|
maratrus wrote on Mon, 20 April 2009 17:52 | Hi,
Quote: |
Cannot allocate memory
|
Check /proc/user_beancounters.
|
[root@vz2 /]# cat /proc/user_beancounters
Version: 2.5
uid resource held maxheld barrier limit failcnt
102: kmemsize 1486663 1799810 11055923 11377049 0
lockedpages 0 0 256 256 0
privvmpages 4772 7230 65536 69632 0
shmpages 46 46 21504 21504 0
dummy 0 0 0 0 0
numproc 19 24 240 240 0
physpages 2344 2717 0 2147483647 0
vmguarpages 0 0 33792 2147483647 0
oomguarpages 2344 2717 26112 2147483647 0
numtcpsock 4 4 360 360 0
numflock 3 4 188 206 0
numpty 1 1 16 16 0
numsiginfo 0 2 256 256 0
tcpsndbuf 35776 0 1720320 2703360 0
tcprcvbuf 65536 0 1720320 2703360 0
othersockbuf 6708 8620 1126080 2097152 0
dgramrcvbuf 0 8380 262144 262144 0
numothersock 6 8 360 360 0
dcachesize 0 0 3409920 3624960 0
numfile 367 499 9312 9312 0
dummy 0 0 0 0 0
dummy 0 0 0 0 0
dummy 0 0 0 0 0
numiptent 4 4 128 128 0
[Updated on: Mon, 20 April 2009 10:01] Report message to a moderator
|
|
|
|
|
|
Re: about openVZ support thread problem [message #35767 is a reply to message #35753] |
Tue, 21 April 2009 09:22 ![Go to previous message Go to previous message](/theme/ovz3/images/up.png) |
christ.qi
Messages: 6 Registered: April 2009 Location: BeiJing
|
Junior Member |
|
|
thank you
Finally solved the problem
modif privvmpages=6553500 problem solved.
privvmpages Memory allocation limit, in pages
Thanks again for post all.
非常感谢各位。
这个问题终于解决了。
解决办法是增大privvmpages的数量
privvmpages Memory allocation limit, in pages
是我看过http://wiki.openvz.org/UBC 之后才知道UBC里面包含了openVZ很多非常重要的 参数。
非常感谢 两位外国朋友。maratrus 和 schjeall 。
|
|
|