OpenVZ Forum


Home » General » Support » Memory buffer as used memory.
Memory buffer as used memory. [message #48793] Tue, 04 December 2012 08:15
graczu is currently offline  graczu
Messages: 3
Registered: December 2012
Junior Member
Hello,

i starting a VPS with 5 GB ram limit

vzctl set 05 --swappages 0:2G --save
vzctl set 05 --kmemsize 5G --save
vzctl set 05 --vmguarpages 5G --save
vzctl set 05 --oomguarpages 5G --save
vzctl set 05 --privvmpages 5G --save


and i start my java aplication ( i starting with max 3 gb -xmx3g and xms756m ), and it's starting with about 1 GB of RAM and about 4 GB of ram in buffers ( don't know why ). And when the limit of aplication ram usage get 5 GB it's stuck the whole VPS.

Why buffered RAM is counting to the whole VPS ram?.
Is there any way to turn off that buffers?.

             total       used       free     shared    buffers     cached
Mem:          5120       4047       1072          0          0         37
-/+ buffers/cache:       4009       1110
Swap:         2048          0       2048
Previous Topic: Creating new venet for difrent gateway
Next Topic: vzctl suspend problem
Goto Forum:
  


Current Time: Thu Oct 03 21:38:10 GMT 2024

Total time taken to generate the page: 0.05458 seconds