Swap Memory

ukhost4u

Member
Oct 30, 2008
95
0
6
Hello,

This might be a silly question but when we setup our OpenVZ systems we assign them a little SWAP file for use if the memory runs out.

The only problem is that the servers do run out of memory and the swap is never used?

Is this not usable in OpenVZ or have I missed something?

Thanks,

Paul Hughes
 
Hello,

This might be a silly question but when we setup our OpenVZ systems we assign them a little SWAP file for use if the memory runs out.

The only problem is that the servers do run out of memory and the swap is never used?

Is this not usable in OpenVZ or have I missed something?

Thanks,

Paul Hughes

swap and ram is just added as its currently not implemented to differ between ram and swap (will be possible in the future).

so using for ram 512 and for swap 256 is total 768.
but you can also just type for ram 256 and for ram 512, makes no difference.
 
Ah right, so currently it can't use SWAP in the format of hard drive space, it just assigns more RAM to the VPS.

This this a feature limit of Proxmox or OpenVZ?

Paul
 
Ah right, so currently it can't use SWAP in the format of hard drive space, it just assigns more RAM to the VPS.

This this a feature limit of Proxmox or OpenVZ?

Paul

openvz and the current kernel. future container implementations on newer kernels will support this.