OpenVZ Forum


Home » General » Support » GameServer out of memory
Re: GameServer out of memory [message #2102 is a reply to message #1936] Mon, 20 March 2006 13:31 Go to previous message
dev is currently offline  dev
Messages: 1693
Registered: September 2005
Location: Moscow
Senior Member

This output shows that you have configured too tight resource restrictions for your VPS.

the last column in /proc/user_beancounters output shows you which resource was experiencing shortage.
in your case it is kmemsize, privvmpages, tcprcvbuf.
you can increase these limits using:

# vzctl set <VPSID> --kmemsize barrier:limit --save
# vzctl set <VPSID> --privvmpages barrier:limit --save
# vzctl set <VPSID> --tcprcvbuf barrier:limit --save

in your case I would try to increase it, something like this:

vzctl set 111 --kmemsize 10000000:11000000 --tcprcvbuf 5242880:5842880 --save

Also, check whether you game server has parameter which allows to limit its memory desires. I found the following parameters for cod2:
Quote:


set com_hunkMegs "96" // Amount of memory dedicated to server
set com_zoneMegs "32" // File memory


here: http://www.codboards.com/lofiversion/index.php/t8798.html



http://static.openvz.org/userbars/openvz-developer.png

[Updated on: Mon, 20 March 2006 13:37]

Report message to a moderator

 
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: Sun Aug 11 08:07:43 GMT 2024

Total time taken to generate the page: 0.02945 seconds