All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
RAM, virtual memory, swap space
For some unsolved reason, UnixBench runs out of memory on my 256/384MB OpenVZ VPS (tailoredvps) at the Shell Scripts section. Support didn't think there was anything to fix, yet UnixBench runs on my 128/256 at BuyVM fine.
So I wrote a C++ program that continuously allocates 1MB chunks until no memory is available.
On tailoredvps, it ran out at ~ 350MB as expected. htop confirmed that all RAM was in use.
On BuyVM, it ran out at almost 3GB. The program didn't show up as using RAM in htop, but VIRT was at 3G.
What's going on? Is there a problem?
Another topic: Do most VPS providers not give swap space? Could I install my own swap space? What is vswap in simple terms?
Comments
Tailoredvps must be using older OpenVZ kernels with allocation based memory limits.
vswap in simple terms, it simply doesnt work !
heh..sorry had to.
At least not yet, hopefully it won't be long.
Do you used something like this code?
http://www.linuxatemyram.com/play.html
Because allocating and using RAM isn't the same.
And about the out of memory, as @ddmcintyre3 says, the RHEL5 kernel reports used memory "almost" based in the virtual memory. The RHEL6 kernels report used memory "almost" like in a real machine or Xen-KVM-VMware etc environments.