Linux - Virtualization and CloudThis forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I have an openvz server with 2Gb ram and would like to configure a vps for use all server resources (no swap).
vzsplit -n 1 -f vps1 -s 0
and have this setup:
Configuration file generated by vzsplit for 1 containers
on HN with total amount of physical mem 1998 Mb
low memory 1998 Mb, swap size 0 Mb, Max treads 8000
Resourse commit level 0:
Free resource distribution. Any parameters may be
1. Are youo using the most recent version of OVZ and the utilities?
2. I have never used '-n 1' with vzsplit. I recommend using '-n 2' for this instance to leave enough resource for the HOST to run properly. Remember, if the host has problems EVERY guest has problems!
3. I would not worry about swap. As long as swap is set up well on the host, the default settings for the guest work better (for most things) than any way you are going to manipulate them.
4. WHERE are you getting the OOM error? Is it from the guest, or from the host?
I have taken a blade with 512 Mb ram and 80Gig of hard space and made it an OpenVZ host with three guests (no X-windows, running web servers managed via web and command-line only) without errors. Your machine should not be underpowered for this unless you are running something big and nasty.
After you create your new split config, but before you create the guest, check your new file against the sample. You want to do a sanity check against the values, and make sure that none are missing in your new file. Vzsplit is a tool, not a solution: it has no way to read your mind or determine your preferences.
The OpenVZ site has forums and how-to documents (some WIKI style) that you can use as a resource for advice about values that you think may be wrong or misleading. Asking for help there may get the attention of the developers, who have the most recent data and advice.
Alas: I have NOT tried making a CentOS guest at version 5.6 using that template, so I have no test data to relate. I hope someone who does will chime it here.........