How can i fix server lag?
Posted 14 February 2011 - 05:25 PM
Im trying to set up a server, and im so far, that now people can connect to my server, and i found out how to add more ram to my server, but my server is still lagging a lot. There's about 3 sec. delay on, and the world is loading very slow. We are only 2 on the server.
What can the problem be?
Thank you in advance.
Posted 14 February 2011 - 05:31 PM
That being said, make sure that your internet connection is snappy, most residential connections are choked on the upstream side.
Use your best computer as the server
Those are the easy fixes.
Posted 14 February 2011 - 06:31 PM
Posted 14 February 2011 - 07:28 PM
Posted 14 February 2011 - 07:40 PM
Was that 1Mb/s or 1MB/s
Also what was your latency?
I have a pretty crappy 1.75Mb/s (+- 0.03 Mb/s) connection with a 37ms Ping and I do not have significant lag. Although I only have at the most 4 or 5 people connecting. How full is your disk? What OS are you running?
Posted 14 February 2011 - 08:19 PM
Im running windows 7 64-bit, and there's 187 GB out of 596 GB free space on my HD.
Posted 14 February 2011 - 08:33 PM
I was running 1Mb for 4 for a while on my first server without much problem.
My guess here is that your RAM is holding you back.
You mentioned that you figured out how to upgrade it, but what is the total RAM now installed on the server computer?
Installing RAM usually allieviates some of your problems, but it depends on how much is in your machine.
Are you running a vanilla server, or do you have some mods installed?
Is the server running on the same computer you are playing Minecraft on?
Posted 14 February 2011 - 08:40 PM
I have 4 Gb RAM, and my server doesn't have any mods installed at all. I haven't any mods on my minecraft singleplayer too.
It's weird, because im used to run servers in other games, without problems.
Posted 14 February 2011 - 09:00 PM
^^ theres your problem! based on your symptoms and this, id say its far far far far far far far more likely that this is the culprit than bandwidth and ram.
I say that because if something is taking 3 seconds or more to occur, and your people arent out boating in different directions or just loading...its not likely those players are using up your available bandwidth as the proximate cause.
and seeing how minecraft can lag other parts of your computer (like, try running a dvd on one monitor and minecraft fullscreen on the other), id say its much more likely client+server running side-by-side is more of a likelihood than a few KB queue taking 3 seconds to get from your computer to your other players clients.
Posted 21 September 2013 - 10:28 AM
bad connection and then they open up and when I get into a server It lags like heck. I have perfect wifi and connection
on my computer also, so I don't know what the problem is.