Minecraft Server Help

sulumordna

Distinguished
Oct 16, 2011
182
0
18,710
Ok, I have a Minecraft server set up on a dedicated machine running a Pentium D 940, 1Gb Ram, and a 160 Gb IDE HHD running on LXLE Linux (based off Ubuntu 14.04). I have the server set already and have made a few test runs. The server works good but it lags annoyingly at times. An example is I break a block in the air and it will respawn and drop a few times, or objects like saplings will fall/disappear repeatedly about 3 or 4 times after "mining" a leaf block.

I have it running with a netgear wg111v3 wireless g usb network adapter. Is this what is causing my lag? I know with that cpu I can't have a lot of people on at the same time, that isn't a problem really as it will only be my 3 kids and 2 cousins that will ever get on it. It's only going to be for the "house" too, just the home N router. I am wondering if maybe it's also a lack of ram, I am planning on buying some used ddr2 on ebay here in the near future.

I am looking to what you guys think may be causing this issue. I did notice something like "Can't keep up" in terminal but I don't remember really. I plan on running it headless when I get all kinks worked out and this pc is only being used as a minecraft server.

Thanks in advanced for the help
 
Minecraft is very Ram and CPU intensive, your computer is very insufficient to run a minecraft server.

You may not need all of these parts, but it's what is necesarry to have a working computer:
PCPartPicker part list / Price breakdown by merchant

CPU: Intel Celeron G1820 2.7GHz Dual-Core Processor ($48.36 @ Newegg)
Motherboard: MSI H81M-E33 Micro ATX LGA1150 Motherboard ($44.99 @ Micro Center)
Memory: Corsair 4GB (2 x 2GB) DDR3-1333 Memory ($43.66 @ NCIX US)
Storage: Western Digital Caviar Blue 250GB 3.5" 7200RPM Internal Hard Drive ($33.18 @ Amazon)
Case: Apex SK-393-C ATX Mid Tower Case ($26.80 @ NCIX US)
Power Supply: SeaSonic 300W 80+ Bronze Certified ATX Power Supply ($39.99 @ Mwave)
Optical Drive: LG GH24NSB0 DVD/CD Writer ($14.99 @ NCIX US)
Operating System: Microsoft Windows 7 Home Premium SP1 (OEM) (64-bit) ($84.99 @ NCIX US)
Total: $336.96
Prices include shipping, taxes, and discounts when available

It should allow you to host the server for your small userbase.

You also shouldnt use Wireless to host a server, the server should have a dedicated cable, everyone else can use wireless if they want though.

Wireless G is fairly "bad" nowadays. N is what is current, but AC is going to replace N soon/already is.

The thing with ram is basically this:
DDR stands for double data rate, so "DDR Ram" is faster than well, ram that doesnt exist anymore.
DDR2 Ram is twice as fast as DDR ram.
DDR3 ram is twice as fast as DDR2 ram.

1GB of ram isn't enough for anything really, especially at DDR2.

4GBs should plenty for only 5 people, assuming they dont start running off in all different directions to purposefully make the world bigger and more memory intensive.
 

sulumordna

Distinguished
Oct 16, 2011
182
0
18,710


my internet sucks ATM, 6 mbps/dl 780ish/up on a good day ... DSL line. does internet matter since it's all going through the router? it's just for home use only, we don't have this issue when we open a regular single player game to LAN ... Maybe it is a cpu and memery issue.
 
Its likely a bit of both. It dosent matter if you are on the same network, an internet connection will still be impacting. If LAN works for you that will suffice until you can get a server up and running. There are server hosting sites, such as quality node. That can host the server for you, a server enough for ~20 people spread out, plus tnt tests (We were bored) was only $7/m.
 

sulumordna

Distinguished
Oct 16, 2011
182
0
18,710



while I appreciate the effort you went through to pick parts for me it's not what I asked. I'm not buying parts to build a whole new machine for a minecraft only server (that will not be played on either). Max users will be 5 on rare occasions but usually just 2 to 3. Plus the OS is not needed as I am using gnu/Linux for this project. Setting up and running the minecraft server was the fairly easy part. Now that think about it I did read a suggestion to run minecraft server with less ram for older machines, I'll need to reread that.

I have it on wifi because of where it is located, I can move it close to the router so I can use an Ethernet cable but it will make it a little bit of a hassle should I need to troubleshoot anything. I will try that first to see if it helps. aside from those issues it work surprisingly smooth (LXLE doesn't use much system resources ... it's based on Lubuntu but supposed to lighter for older hardware).

I will have a spare Athlon II x3 455 (and mobo) to use probably in a month so I think I may just use that and buy 8gb ddr3 value ram if the Ethernet cable doesn't help. I may try a wireless N adapter if I can find one that works with Linux (that's why I'm using a G adapter now ... my Ns aren't Linux friendly)
 

sulumordna

Distinguished
Oct 16, 2011
182
0
18,710


I will try connecting it directly to router first and see how it fairs. I may even try that with Puppy Linux or Damn Small Linux so I can have more resources for minecraft server.

I'm not looking to buy anything really, on most days this will be used by my youngest son and myself or my son and my daughter. If nothing works out with the Pentium D dual core or Athlon II x3 I will just continue it the way we have been by opening a single player game to LAN. The server hosting is a good idea but my kids will play Minecraft only for like a week or two then it's TF2, Roblox,Gary's Mod, or whatever else is "in" for that week, then come back to Minecraft ... LOL.

Anyways, I do appreciate the help and suggestions.
 


I had a feeling you wouldn't want to "build" a computer for it, but I thought i'd throw one together anyways as it doesnt take too much time.

The problem with the server and the clients being on wireless, is there is loss of data potential on both ends, so the client can lose data sending/receiving it from the router, and the server can lose data sending/receiving it from the router.

the biggest issue would be the RAM though, and the athlon and 8gbs should provide a significant room for your small user base.

It could also just be you need a good quality Wireless Router and adapters as well.
 

sulumordna

Distinguished
Oct 16, 2011
182
0
18,710
All my wifi gear netgear, the adapters for the windows machines are wireless N dual bands ... the Linux machines are using old wireless G adapters (the netgear Ns don't work with any distro of Linux) I do think it's time to replace the router though, drops signal way to often. Maybe a DD-WRT flash would help, it is a compatible model. Still haven't plugged it in with a cable, just been lazy. I will update if it helps at all for anyone else with the same problem.