Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with OpenID
Advertise on LowEndTalk.com

In this Discussion

Minecraft Servers. A bunch of questions!

Minecraft Servers. A bunch of questions!

liamwithersliamwithers Member
edited April 2012 in Help

Hey guys.. planning on setting up a minecraft server, but got a few questions which you may be able to help me with :).

Here's some information on what services I currently have:

BuyVM 256/512mb OpenVZ BuyVM 512/1024mb OpenVZ ChicagoVPS 2048mb OpenVZ

My other VPS's would never in a million years be anywhere near good enough to run Minecraft.

--

Ok, to the questions:

  1. How significant is ping? All my VPS services are based in North America. I'm based in the UK.
  2. I understand that minecraft will run better on xen than OpenVZ. Without having to purchase a new VPS, how well will Minecraft run on my current services?
  3. What is CPU usage like? I have a provider in mind who could supply this on a xen box, so long a CPU usage isn't mega-high
  4. What is RAM usage like? For OpenVZ and Xen if at all possible guys.. looking at usually below 6 online users.. never more than 8
  5. How would a VPS compare to some of the ready-built minecraft providers?

--

Anything else I should know?

Cheers guys :)

VPN.sh - Secure and affordable VPN services

«1

Comments

  • For the ChicagoVPS, it should not have a problem for ~15 players as long as you run a 32bit OS.

    Thanked by 1liamwithers
  • Buyvm with 4 gb swap :p

    I know, I'm Dale Maily.

  • @liamwithers said: I understand that minecraft will run better on xen than OpenVZ.

    Can you provide more info on this?

    I am no longer affiliated with IPXcore.
  • @Damian,

    It's a JAVA-based server emulator; it just uses/requires more RAM in OVZ than in Xen.

    AsuraHosting - Unmanaged VPS Services at an Affordable Price starting at $4/month.
  • NateN34NateN34 Member
    edited April 2012

    None from that list. OpenVZ is horrible for Java and Minecraft. Also Minecraft uses a LOT of CPU, so you might get booted off the nodes. Also I have heard things that some hosts are actually going around the nodes and intentionally killing the Minecraft Java processes, since it hits their node so hard.

    I would recommend Xen or KVM only.

    Back in the day I used to be able to run up to 20 players with no lag on a 1536 MB Xen ThrustVPS, so most likely any other Xen VPS may work. Another thing that people underestimate is how much CPU Minecraft actually uses......it will gladly eat a whole core and a bit of the others if the plugins are multi-threaded... So just get a Xen one with 1 Gig+ RAM and decent CPU and you should be good for ~15 players.

    Latency (ping) pretty much means nothing in Minecraft. Anything under ~160 ms and you will not notice it. I personally am from the central US and get ~160ish ping to my Hetzner box and I barely can tell.......sure there is a tad bit of delay, but it is more than 100% playable for even important PVP situations. Although some people on the West Coast have trash connections and because of the location higher latency, so they have some issues playing.

    Ready builts should almost always perform better. The nodes they are on servers that are setup and optimized to host Minecraft servers. On a VPS, they are usually overloaded to hell, can't handle Minecraft too well and everything is shared. A VPS provider will usually suspend you for using too much CPU, but a ready built server host will not.

  • JTRJTR Member

    Minecraft is rather RAM and CPU hungry these days, and it tends not to do well on OpenVZ. Nevertheless, the best option for you if you only have those three options would be ChicagoVPS.

  • Minecraft has ALWAYS been a massive CPU hog.

    That said, I run a Minecraft server on my ChicagoVPS 2GB OpenVZ, and it works great. CPU and RAM usage vary wildly based on mods being used, processor on your VPS, and other such things - but CVPS's hardware appears to be able to handle it.

  • If you're talking about the Java based MineCraft servers Vanilla/Bukkit, then yeah, it's a complete RAM hog.

    If you're not too fussed with the features, it might be worth looking into the alternative MineCraft servers: http://www.minecraftwiki.net/wiki/Custom_servers Drastically reduced memory usage on most of them.

    Well, there's something for you to consider ;)

  • I used it on Chicagos offer of 2GB, no problems so far

  • I ran a minecraft on my ChicagoVPS for a few months, it was fine. Put your world in a ramdisk (and back it up often), for a nice speed up. OpenVZ is fine for minecraft, sure memory allocation is a bit wonky, but you don't need a Xen VPS for it.

    The custom minecraft servers aren't really usable. They are all lacking a lot of features, and most are dead/zombie projects. There is one project that is pretty far along in Java and has bukkit support, but the project isn't really active :/. Memory usage is a bit less than the official MC server, but cpu usage is drastically lower.

    Thanked by 1Legendlink
  • @Kairus said: I ran a minecraft on my ChicagoVPS for a few months, it was fine. Put your world in a ramdisk (and back it up often), for a nice speed up. OpenVZ is fine for minecraft, sure memory allocation is a bit wonky, but you don't need a Xen VPS for it.

    mine works without ramdisk... lucky?

  • @netomx said: mine works without ramdisk... lucky?

    Of course it'll work, notice I said for a nice speed up.

  • @Kairus said: nice speed up.

    sorry, i'm @ work, so little time to look here :/

  • You can set limits on RAM when starting your server with the following command:

    java -Xmx1G -Xms1G -jar minecraft_server.jar

    where Xmx#G is your maximum usage in gigabytes, and -Xms#G is your minimum usage. Minecraft will always obey these limits - though naturally this won't help you if your issue is CPU usage.

  • JTRJTR Member

    @Ivraatiems said: You can set limits on RAM when starting your server with the following command:

    java -Xmx1G -Xms1G -jar minecraft_server.jar

    where Xmx#G is your maximum usage in gigabytes, and -Xms#G is your minimum usage. Minecraft will always obey these limits - though naturally this won't help you if your issue is CPU usage.

    You usually don't need to set Xms params, you can let the JVM decide on that.

  • IvraatiemsIvraatiems Member
    edited April 2012

    @JTR You don't have to - but I'm just going off what's recommended on the wiki: http://www.minecraftwiki.net/wiki/Tutorials/Setting_up_a_server

    It's what I do, and it works for me; it also allocates all of that RAM when you start Minecraft so that you don't run into issues later on with it trying to use RAM you don't have (because something else is using it).

  • Cheers guys :). Got it all setup now, just gonna make a few configuration changes, but it works :).

    @Ivraatiems said: java -Xmx1G -Xms1G -jar minecraft_server.jar

    Used that command :), cheers :D.

    Hopefully this will run ok for a good few users :).

    VPN.sh - Secure and affordable VPN services

  • Okay then.. looks like I'm set up :). Anybody around in a bout 20 minutes (6:30PM BST) who can hop on my server to see if it runs ok?

    :D

    VPN.sh - Secure and affordable VPN services

  • JacobJacob Member

    sure, Send me a PM with the IP, Etc.. ;)

  • PM sent :).. Anybody else wanna join? Just let me know here or PM me and I'll give you the details :)

    VPN.sh - Secure and affordable VPN services

  • So what kind of disk space does a typical Minecraft server owner use?

    I am no longer affiliated with IPXcore.
  • @Damian said: So what kind of disk space does a typical Minecraft server owner use?

    Around 5GB, if you delete your server.log from time to time.

    Starting Minecraft is pretty easy. Just get a VPS, and slap on SpaceBukkit, and your ready to go.

    ~ Jimmy VortexUnit. Who likes poptart.cats?
  • @Damian said: So what kind of disk space does a typical Minecraft server owner use?

    A pretty small amount. Large sized worlds are around 150mb, can probably go a bit bigger, but all of the minecraft files itself, plus a huge world is going to be under 500mb (even with multiple worlds I was able to run bukkit + a ton of plugins, around 8 people online, and fit all the minecraft files into a ramdisk on a 2GB ChicagoVPS).

  • @Kairus

    [root@mc ~]# du -h /minecraft/world
    28K     /minecraft/world/data
    2.0M    /minecraft/world/players
    1.2G    /minecraft/world/region
    160K    /minecraft/world/spout_meta
    1.2G    /minecraft/world
    [root@mc ~]# ls /minecraft/world/players|wc -l
    483
    FreeVPS.us - The oldest post to host VPS provider
  • @dmmcintyre3 interesting, never seen a world that big, how long has that one been around?

  • @Kairus since beta 1.8 when griefers took over and my backups were broken.

    FreeVPS.us - The oldest post to host VPS provider
  • I'm new in Minecraft, so I would like to ask this :

    If I'm not a premium user, can I run a Minecraft on my own VPS? I already install it in the VPS, but not able to play it.

    My blog | Server Uptime | I'm not working for any providers in here, all my comments just my own opinion.image
  • @ErawanArifNugroho said: If I'm not a premium user, can I run a Minecraft on my own VPS? I already install it in the VPS, but not able to play it.

    You can run the server yes, but you need to own the client to access it.

  • @ErawanArifNugroho said: I'm new in Minecraft, so I would like to ask this :

    If I'm not a premium user, can I run a Minecraft on my own VPS? I already install it in the VPS, but not able to play it.

    You can run the server, but you have to set:

    online-mode: false

    in the server.properties. You can log in as 'Player' and if someone has your server info, they can destroy the server quickly. However to log in as player, you have to have a client that can run in offline mode that doesn't require player authentication. It's advised to just purchase the game. $25 will save you a hassle and it's not even monthly.

    I find it funny that kids will get their parents to buy WoW for $15/month but when its a one-time fee of $25, all hell breaks loose.

    Stargaze - Lightspeed Beyond. Stargaze Minecraft Join Today. Vanilla Forums included.
  • @Blackstorm72 said: You can log in as 'Player' and if someone has your server info, they can destroy the server quickly. However to log in as player, you have to have a client that can run in offline mode that doesn't require player authentication.

    At the risk of encouraging piracy, AuthMe/AuthDB are great for this purpose..

    "We are in a prison drama. This is like The Shawshank Redemption, only with more tunneling through shit and no fucking redemption."
  • @Blackstorm72 : Thank you.

    I will try it again then. If I have unused funds for the game, maybe I will try to purchase it

    My blog | Server Uptime | I'm not working for any providers in here, all my comments just my own opinion.image
  • @ihatetonyy said: At the risk of encouraging piracy, AuthMe/AuthDB are great for this purpose..

    True true, we use that in ours. I don't encourage piracy, but there are solutions around it (that most use anyway) Our server will never support it, or ever use the offline mode.

    Stargaze - Lightspeed Beyond. Stargaze Minecraft Join Today. Vanilla Forums included.
  • KairusKairus Member
    edited April 2012

    @Blackstorm72 said: I find it funny that kids will get their parents to buy WoW for $15/month but when its a one-time fee of $25, all hell breaks loose.

    Or rent a VPS.

    There's also a way to mod the client so your name isn't "Player" and you can set what you want your name to be, I did it for a few friends that ended up buying the game because of it. (Maybe they should have a trial...) IMO, just buy the game, Notch & co are great people, and we'll see more good games come out of them.

  • Finally, I found a Minecraft Launcher which not asking for authorization. I've setup the Minecraft server as online-mode: false, and whitelists my username, and also allowing a 5 players in a SemoWeb 512MB OpenVZ 10TB Maybe I will try it now. Hehe

    I've tried with a 1GB by CloudLix, but always return in error.

    My blog | Server Uptime | I'm not working for any providers in here, all my comments just my own opinion.image
  • @ErawanArifNugroho said: I've tried with a 1GB by CloudLix, but always return in error.

    check the command line that runs minecraft, and lower the ram usage

  • Thank you. I've use the Ram for 512MB, but still can not started with CloudLix

    My blog | Server Uptime | I'm not working for any providers in here, all my comments just my own opinion.image
  • 512MB is about the lowest you can go and have a playable server - I don't recommend going over six slots with that, either. 1GB can handle quite a bit, though.

  • @ErawanArifNugroho said: Thank you. I've use the Ram for 512MB, but still can not started with CloudLix

    try 800mb

  • @Ivraatiems said: 512MB is about the lowest you can go and have a playable server - I don't recommend going over six slots with that, either. 1GB can handle quite a bit, though.

    Run the GC in another thread and use optimised Java, you can easily fit 10.

    The Original Daniel.

  • JTRJTR Member
    0: @dmmcintyre3 interesting, never seen a world that big, how long has that one been around?

    Mine's 1.1GB and it's only half-generated. I've heard of people running servers with 10GB map files.

  • @liamwithers said: BuyVM 256/512mb OpenVZ BuyVM 512/1024mb OpenVZ ChicagoVPS 2048mb OpenVZ

    i'm really glad to see they "can" run side by side.. :P

    /offtopic

    i'm afraid they will suspend your VPS because that CPU issue. but i could be wrong..

    Yes! I'm with Carstensz Pyramid Server Now stop asking me please :D
  • @Mon5t3r said: i'm really glad to see they "can" run side by side.. :P

    What do you mean?

    Currently running with 1GB RAM allocated to Minecraft server, and all seems to be running nicely :'). Had 8 players max online so far, and all ran smoothly :)

    VPN.sh - Secure and affordable VPN services

  • I've run a 1GB Minecraft on my ChicagoVPS with 15-20 people connected to it and my load was pretty low. It can be done - though it won't always be done. Depends on your host's hardware.

  • DamianDamian Member

    @liamwithers: What kind of CPU loading did you have with those 8 players?

    I am no longer affiliated with IPXcore.
  • @Damian sorry, I didn't check at the time D:.

    And 15-20 people connected on a 1GB ChicagoVPS? Fair play.. I've currently got mine set to 16 slots, although I'll be surprised if it handles 16 players on 1GB OpenVZ :O

    VPN.sh - Secure and affordable VPN services

  • @liamwithers said: And 15-20 people connected on a 1GB ChicagoVPS? Fair play.. I've currently got mine set to 16 slots, although I'll be surprised if it handles 16 players on 1GB OpenVZ :O

    Depends. Do you have more then 10 plugins? Probably no more then 12. Running just Vanilla? Bet it could squeeze 20-24 depending on map size.

    Using Debian Minimal with nothing else but MC? 16 is probably the limit as long as you don't have 20 plugins.

    It's based on map size, how far players go outside from the general spawn, how you use java args, and if any plugins use a memory footprint like it's no tomorrow. Lots of things depend on it.

    Stargaze - Lightspeed Beyond. Stargaze Minecraft Join Today. Vanilla Forums included.
  • Current server is Bukkit. Running only one or two plugins at the moment (for a friend, waiting on him to let me know what others he wants).

    Running on Ubuntu 10.04, on a server which also hosts two very low traffic web proxies for personal use. Got quite a lot of crap installed on there that isn't essential though.

    I know hardly anything about MC, but my friend told me that when there were 8 players in there, they were all doing loads of stuff to try and crash it, and it just wouldn't.. meaning that must be a good sign (y).

    If it can take 16 players, then I might have to consider selling these bad boys ;D.

    VPN.sh - Secure and affordable VPN services

  • Blackstorm72Blackstorm72 Member
    edited May 2012

    @liamwithers If your using Ubuntu 10.04 just as a server via SSH, Debian is better off with a small memory footprint. It's enough to make a difference on maybe an additional player or two.

    I know a lot about Minecraft (I run a production server) and there isn't really a way to crash a server unless they were to flood it or use a hacked client that has an ability to crash it. If your talking about griefing, that's another issue aside.

    With just 2 plugins and bukkit, you'd get about 18 players or so. If you tweak java a bit, you can push 20. If you get Craftbukkit++ from http://ci.getspout.org which is a better CPU and Memory version of Craftbukkit, you could get 20 or more depending on what you have as plugins.

    Not including SQL, or any intense plugins such as War or LWC. Again a lot of things will contribute to how much memory usage will run per player and map size as well.

    Stargaze - Lightspeed Beyond. Stargaze Minecraft Join Today. Vanilla Forums included.
  • Slightly OT, but apart from being familiar with -Xmx, folks using java on OpenVZ lebs should also be aware of the differences between JVMs. With the same arguments, I've often had IBMs JRE succeed on OpenVZ when both OpenJDK (the default) and Sun's failed. Sun's also has some fancy GC options which may be of help for Minecraft (or any other app) where you are trying to optimize say 512mb+ of memory instead of simply trying to get ito run on 128mb or so. YMMV, of course.

  • @Kairus said: interesting, never seen a world that big, how long has that one been around?

    I have two customers using about 80GB for their worlds and player metadata. They have a 450GB disk limit, so that doesn't matter, overselling is gay anyway.

Sign In or Register to comment.