Jump to content
MakeWebGames

I need some opinions


skooda

Recommended Posts

15USD per month is cutting it, 15USD per year is just blatantly outrageous.

A Linux kernel will run on the specs of the above mentioned, but it's really pushing it as a web-server. It's like putting the Hulk in a 2x2m room, it lives, but it can't do anything else.

Those are about the specs of a router, not a web server. So I'd highly suggest increasing your budget by a factor of ten, or going shared.

@a_bertrand: Yum will run, as well as the OS. But will soon become semi-unresponsive due primarily to excessive swapping.

Edited by Spudinski
Link to comment
Share on other sites

ok what about hostable.com I think I go with them

hostable is fine i use them, have yet ran into any problems. I'm using the deluxe package, I had won for 3 years, they have contests on facebook to get 3 free years but the domain is not included you have to purchase the domain for $10 or pick their free one. which is hostable.me

Link to comment
Share on other sites

I doubt those systems allow you to use swap... and from my own experience as well as seeing what others says like:

http://www.jaguarpc.com/forums/vps-dedicated/17826-any-way-limit-yums-memory-cpu-usage.html

It will simply not run with such low specs... So no I doubt it would even run yum, which means you can't install any package and you can't update / patch your installation. Not good at all.

Anyhow yes, running an apache, and hopefully a mysql on such small beast will not yield good results.

Link to comment
Share on other sites

I doubt those systems allow you to use swap... and from my own experience as well as seeing what others says like:

http://www.jaguarpc.com/forums/vps-dedicated/17826-any-way-limit-yums-memory-cpu-usage.html

It will simply not run with such low specs... So no I doubt it would even run yum, which means you can't install any package and you can't update / patch your installation. Not good at all.

Anyhow yes, running an apache, and hopefully a mysql on such small beast will not yield good results.

It will allow swap, Linux wouldn't be able to be installed without a swap configured. But as said, freeing memory would allow it to run.

CentOS will run on 128mb of memory: http://www.centos.org/product.html, additionally Ubuntu would also. Since those are the two popular choices for VPS owners, I'd consider it realistic(although not recommended).

Swapping and freeing memory can done in a number of ways, though. If one would need memory written to disk, sync would do the trick(even though it has limits), or you can kill off some applications.

When you think in theory of how the swapping is accomplished, it is possible for a system to run with less than minimal amounts of memory with some additional help.

Even if yum/apt fails it doesn't mean the OS is useless, it's always possible to compile applications yourself, where you would have more control over how much memory is spent.

Link to comment
Share on other sites

Sorry wrong, you can install linux without swap ;) and from my own experince with those kind of cheap VPS, they usually disable it as it burden too much the server containing the VPS. Even file based swap was disabled on the VPS I rented... for 2 months ;)

For the useless or not, sure you can run your own distribution even if you want, but do you think that many of the MWG visitors do have the knowledge to patch their system by hand / compiling kernel and more? I doubt. Also, I doubt many of those system get GCC and all the libs to compile anything, so you would need to get them somehow (forget wget as usually it is also not installed on many). So overall not a viable solution. I would say: at least 512Mb and you will not have issues.

For freeing up memory, sync will do basically nothing, as disk cache will be free up as soon as some soft require ram and the ram was used by the disk cache. So trying to free up memory by cleaning up the disk cache will not do any good. (http://www.linuxatemyram.com/index.html) use free -m to see really how much free (for software usage) ram you have.

Link to comment
Share on other sites

Sorry wrong, you can install linux without swap ;) and from my own experince with those kind of cheap VPS, they usually disable it as it burden too much the server containing the VPS. Even file based swap was disabled on the VPS I rented... for 2 months ;)

For the useless or not, sure you can run your own distribution even if you want, but do you think that many of the MWG visitors do have the knowledge to patch their system by hand / compiling kernel and more? I doubt. Also, I doubt many of those system get GCC and all the libs to compile anything, so you would need to get them somehow (forget wget as usually it is also not installed on many). So overall not a viable solution. I would say: at least 512Mb and you will not have issues.

For freeing up memory, sync will do basically nothing, as disk cache will be free up as soon as some soft require ram and the ram was used by the disk cache. So trying to free up memory by cleaning up the disk cache will not do any good. (http://www.linuxatemyram.com/index.html) use free -m to see really how much free (for software usage) ram you have.

Please continue...

Linux CentOS and Ubuntu will error in installation when no swap partition/file is configured. So please, please, tell me you you managed to install CentOS without a swap of any kind.

As for GCC(++), true, it's not default on all OS', but is easily installable as it's a small package.

As for sync: i]sync[/i] does write disk cache buffer to disk, yes. But seeing as Linux saves file read/write data into memory before committing changes to disk(performance), it does free up memory.

Simple test: Try to copy a 1GB file over ftp/sftp/http and run free, and then sync, and then free again.

+ The link you posted is invalid, it is possible to bypass disk cache reading, at least.

Link to comment
Share on other sites

Spudskin: odd the link works for me. For the swap: http://www.tipsandtutorials.net/how-to-remove-swap-space-centos.html

or if it doesn't work: http://www.centos.org/docs/5/html/Deployment_Guide-en-US/s1-swap-removing.html

So yes you can run without swap, and you will have 0 issues... at first ;)

Also, I can show you that some people have issues like I had which prevent them to create any swap:

http://forums.spry.com/centos-fedora-redhat/2781-trying-create-swap-my-centos-virtual-private-server.html

But please give links, or documentation if you have another opinion.

Just to give an hint of why it works without swap, think of bootable CD, do you think it would work if you cannot boot without swap? Where would the OS write the data? It doesn't... So basically it creates a memory disk for the small things you may write and mount it, but no swap for sure.

Link to comment
Share on other sites

Spudskin: odd the link works for me. For the swap: http://www.tipsandtutorials.net/how-to-remove-swap-space-centos.html

or if it doesn't work: http://www.centos.org/docs/5/html/Deployment_Guide-en-US/s1-swap-removing.html

So yes you can run without swap, and you will have 0 issues... at first ;)

I agree, a swap can be removed even though it's never a good idea(except in extraordinary cases).

But that's not what I'm saying, default installation requires a swap to be created.

Edit: true/false for CentOS and Ubuntu, a custom disk layout(not default) in installation process would allow for no swap to be configured.

 

Also, I can show you that some people have issues like I had which prevent them to create any swap:

http://forums.spry.com/centos-fedora...te-server.html

VPS much? It's an unpatched kernel bug on some versions of OpenVZ, I had the same issue some time ago.

It's not relevant, see: http://www.lowendbox.com/blog/how-to-tell-your-openvz-vps-is-swapping/

 

Just to give an hint of why it works without swap, think of bootable CD, do you think it would work if you cannot boot without swap? Where would the OS write the data? It doesn't... So basically it creates a memory disk for the small things you may write and mount it, but no swap for sure.

I'm pretty sure bootable CDs will create a swap file, along with many of the required OS files, on the disk. It would be improbable to think that an OS is bootable into memory alone, if it were the case, why would the suggested size for a swap be MEM x 4? (but I'll get back to you on this)

Edit: I guess I'm wrong on the last part, LiveCD doesn't always use a swap since there is the possibility that there are no disks. But, there is a writeable filesystem located in RAM. :eek:

Edited by Spudinski
Link to comment
Share on other sites

Yes you are right it's not a good idea. But I rented (as said) a cheap VPS which didn't had, and without the possibility to add one which ended up me complaining of the fact yum wasn't even working and they had to upgrade the ram for free. So again, that should not be the normal case, but with such very cheap VPS I would not expect much better.

Also, think as the following, imagine you rent a dedi server, with 4GB ram... and... by looking at it I can find one at 99 Euro per month (with 1 quad core and 2 HD of 500Gb) now... let's say the main host requires what... 700Mb of ram? thats leave 3.3 Gb of ram... devide that by 256Mb (which for me is really the min for a VPS) means you could host 12 VPS on your host (will be as slow as possible but shall run). Now let's take back our 99 Euro per month and divide it by the number of VPS (12) and we find 8.25 Euro per month for a VPS and that means gaining nothing out of it... so if you are cheaper than that, I wonder how you make the money.

Same server but with 16Gb of ram (cost 159 Euro per month)... let's say this time the main host take 1Gb and the 15gb remains for the VPS means we can host about 58 VPS you end up with a VPS at 2.74 Euro per month... much cheaper but now your CPU is... nearly non-existent. However that makes still more than 15$ a year... as we would end up at 43$ a year!

So I really really have an hard time to figure how those people really can sell a VPS at 15$ a year.

To make a long story short: don't trust when it's simply way too cheap.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...