[kwlug-disc] Add swap space while a centos server is live.

Steven Stillaway steve at stillaway.net
Wed Nov 2 14:01:32 EDT 2011


With OpenVZ, you are not going to be able to add RAM and I am pretty 
sure (99%) you are not going to be able to add SWAP.

In an OpenVZ VPS your kernel is shared, but all of your individual apps 
are isolated into it's own space and filesystem.  You can control your 
apps, but do make any kind of modifications to the kernel that needs to 
be done on the master.  So even if you create a swapfile, it will not be 
added into the shared kernel and used at all.

You can check out this: 
http://wiki.openvz.org/UBC_systemwide_configuration but it is kind of 
complex.

They have assigned 4GB of RAM that is dedicated for our use only.  The 
4GB of burstable RAM is shared by all the VPS on the system and 
allocated on an as required basis. Which means you can use it, but if 
other people want to use it as well, it will get shared back and forth.

Basically if you need lots of RAM (more then 4G in this case) and are 
really going to use it a VPS is probably not the way to go.

By all means though.  Turn off everything that you don't need to free up 
more of your 4GB for your use.

- Steven


On 02/11/11 4:18 AM, Colin K wrote:
> I have a feeling that this host may bank on the fact that we may never 
> properly use all of our resources kindof like a Gmail 7gigs thing Most 
> people never use it thats why we can offer it.  Sort of thing.
>
> But were a top20 server for minecraft on some of the minecraft server 
> lists we get some pretty heavy loyal and regular traffic.
>
> On Wed, Nov 2, 2011 at 4:16 AM, Colin K <colin at void11.com 
> <mailto:colin at void11.com>> wrote:
>
>     I'm not quite sure their company is @ http://redstonehost.com they
>     have a rough in description of their VPS's that they provide.
>
>     The main needs for a minecraft server is high availability of ram,
>     and a decent internet connection.  Basically it seems that the
>     java minecraft is based on requires alot of iops from the disks
>     for sending "Chunk" data (sections of the world) to the clients.
>
>
>     On Sun, Oct 30, 2011 at 9:35 AM, Raul Suarez <rarsa at yahoo.com
>     <mailto:rarsa at yahoo.com>> wrote:
>
>         It is possible to resize a partition with a system up but only
>         if you can unmount that partition. Not if it is your primary
>         partition.
>
>         From the command line you can use parted, or from a graphical
>         environment gparted or qtparted.
>
>         Based on the answer from your provider. Why do you need to add
>         the swap space and why they don't like it?
>         Raul Suarez
>
>         Technology consultant
>         Software, Hardware and Practices
>         _________________
>         Twitter: rarsamx
>         http://rarsa.blogspot.com/
>         An eclectic collection of random thoughts
>         ------------------------------------------------------------------------
>         *From:* Colin K <colin at void11.com <mailto:colin at void11.com>>
>         *To:* KWLug Discussion <kwlug-disc at kwlug.org
>         <mailto:kwlug-disc at kwlug.org>>
>         *Sent:* Saturday, October 29, 2011 6:42:16 PM
>         *Subject:* [kwlug-disc] Add swap space while a centos server
>         is live.
>
>         Is it at all possible to resize a partition in centos and add
>         a swap and enable it while a server is online.
>         if so what would commands of such an action look like?
>
>         _______________________________________________
>         kwlug-disc mailing list
>         kwlug-disc at kwlug.org <mailto:kwlug-disc at kwlug.org>
>         http://kwlug.org/mailman/listinfo/kwlug-disc_kwlug.org
>
>
>
>         _______________________________________________
>         kwlug-disc mailing list
>         kwlug-disc at kwlug.org <mailto:kwlug-disc at kwlug.org>
>         http://kwlug.org/mailman/listinfo/kwlug-disc_kwlug.org
>
>
>
>
> _______________________________________________
> kwlug-disc mailing list
> kwlug-disc at kwlug.org
> http://kwlug.org/mailman/listinfo/kwlug-disc_kwlug.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://kwlug.org/pipermail/kwlug-disc_kwlug.org/attachments/20111102/9cdfcaa3/attachment.html>


More information about the kwlug-disc mailing list