Question

Minecraft Sever, Help with optimization and advise from anyone who has experience using Linux

  • Posted on September 20, 2014
  • SpectrumXAsked by Justin

Hello Everyone :)

I am currently hosting a Vanilla Minecraft server on a 1 Gb Ubuntu Setup. I have at most 5 people playing at any given time.

I am wandering what i can do to fully optimize the server. It has got a bit of lag issues. I have read the guide on digital ocean on how to run a server. I don’t do the whole Xmx and Xms thing because i don’t see this doing anything?

Any ideas on how to make a dedicated server for Minecraft? I would appreciate anything from choosing what OS and weather 64 or 32 is best etc all the way to commands to make sure it is priority etc.

Any advise from people running a Minecraft server on digital ocean?

Thanks in advance! -Justin


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hi @Justin,

Well, my first suggestion would be to add SWAP to your Droplet. You can see how to do that here:

https://www.digitalocean.com/community/tutorials/how-to-add-swap-space-on-ubuntu-22-04

I won’t recommend more than a GB of SWAP to be added.

Regarding priority, you can’t simply just do that, other services also require RAM so you’ll need to make there is enough for everybody so to say, otherwise your Droplet will start killing processes.

As such, try with the SWAP and if that doesn’t work, I’ll suggest upgrading to the next plan.

The “Xmx” and “Xms” parameters on the command line, set the minimum and maximum amount of RAM Minecraft (java) can use. I don’t understand what you mean by “ANy ideas on how to make a dedicated server for Minecrafr”, since you’ve already implied that you’ve gotten one going, and that you’ve read DO’s tutorial.

64 bit servers, from my experience, are usually better. However, it is dependent on what version of Java you install. (I’m not to sure if Minecraft utilizes 64 bit anyway.)

I haven’t run any Minecraft servers on a DO server before, so I can’t offer any specific advise here.

There are plenty of Minecraft community with forums out there, you’d find better and more accurate information there.