OpenVZ Forum


Home » General » Support » GameServer out of memory
Re: GameServer out of memory [message #1934 is a reply to message #1929] Wed, 08 March 2006 16:38 Go to previous messageGo to previous message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

In VPS you should look into /proc/userbeancounters, not /proc/meminfo. It is user beancounters which limit VPS memory.

If you see there is some parameter for which failcnt (last column) is more than zero, you have to increase it (say, multiply both barrier and limit by 1.5 then apply using vzctl set NNN --paramname new_barrier:new_limit --save). Then, do vzcfgcheck /etc/sysconfig/vz-scripts/NNN.conf and if there are some errors, fix them as suggested.

Run your app again and watch /proc/user_beancounters. If failcnt grows, increase the appropriate parameter again, and do not forget to check new VPS config using vzcfgcheck.

That way you will end up with an optimal config for a VPS running your particular application.


Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: vzpkgcache issues on amd64
Next Topic: vps's not working for internet only localy!
Goto Forum:
  


Current Time: Sat Jul 13 17:27:22 GMT 2024

Total time taken to generate the page: 0.02303 seconds