So I have this vanilla server that me and my friends used to play on very often. After about a year of not playing, I decided to update it (from 1.6.2 to 1.8.3) and start playing on that world again. But once I started playing.....I remembered why I stopped. Lag. The server lags a RIDICULOUS amount, and everyone that uses it (including myself) crashes ALL the time, and the server sometimes crashes too.
I've ran other Minecraft servers on my computer before and they all ran WAY better than this one world in particular (even large modpack servers like FTB run way better than this one!!)
Could someone help me figure out why exactly this one world in particular lags so dang much? If you need anything else to help figure it out, just tell me what you need.
I'll link a download to the server file once it uploads, but until then any ideas for where random lag come from would be appreciated!
So I have this vanilla server that me and my friends used to play on very often. After about a year of not playing, I decided to update it (from 1.6.2 to 1.8.3) and start playing on that world again. But once I started playing.....I remembered why I stopped. Lag. The server lags a RIDICULOUS amount, and everyone that uses it (including myself) crashes ALL the time, and the server sometimes crashes too.
Could someone help me figure out why exactly this one world in particular lags so dang much? If you need anything else to help figure it out, just tell me what you need.
I'll link a download to the server file once it uploads, but until then any ideas for where random lag come from would be appreciated!
- U run this server on an standalone machine or on the same PC u playing Minecraft?
- What was u original Minecraft version u start this server/map.
Maybe u have to think about to give more ram to u server. Or in general use it on an Standalone Machine.
Minecraft 1.8.x need match CPU Power. On 1.6.x u can have 10 People on one server and on the same machine after going 1.8.x u only can handle 4-6 Player. (i wish Bukkit was back without injection tools to run.)
Make sure you have the official server from the official MC site (direct download)
There's a lot of talk going on about RAM. As a rule of thumb, you should never allocate more than half your RAM to a single process. If you have less than 4GB of RAM installed in your PC, I'd drop the server down to something a bit more modest. I seriously doubt it needs a full 2GB.
Try making a new world. There could be an oddly large amount of chickens in a cave or something (that's crashed my game before). If it still lags, you can always copy your old map back in.
Swap to Spigot and install ClearLag/PTweaks and see if that helps.
I don't see any major lag when I run it. Can you tell me what exactly the lag is?
For me, clearing up some of the entities while playing the world singleplayer fixed the lag, but when people play on it over the internet (including myself), It still lags horribly. (It's the only server I run that lags nearly that bad).
So, too many entities building up caused lag, but I fixed that. And....just connecting to it online caused lag for reasons I'm unsure of.
Well in multiplayer, more chunks are loaded 24/7 (24x24 chunk area) than in single player. If you get MCEdit, open the world, select a large portion of chunks near spawn, and delete entities then it may do the trick.
So I have this vanilla server that me and my friends used to play on very often. After about a year of not playing, I decided to update it (from 1.6.2 to 1.8.3) and start playing on that world again. But once I started playing.....I remembered why I stopped. Lag. The server lags a RIDICULOUS amount, and everyone that uses it (including myself) crashes ALL the time, and the server sometimes crashes too.
I've ran other Minecraft servers on my computer before and they all ran WAY better than this one world in particular (even large modpack servers like FTB run way better than this one!!)
Could someone help me figure out why exactly this one world in particular lags so dang much? If you need anything else to help figure it out, just tell me what you need.
I'll link a download to the server file once it uploads, but until then any ideas for where random lag come from would be appreciated!EDIT: Server download link: https://www.dropbox.com/sh/gxzgzia1b9bhrhr/AAC5-MWTv0JVgEoY3D2FZiiua?dl=0
Bump. Help would be appreciated.
I need some more information:
- U run this server on an standalone machine or on the same PC u playing Minecraft?
- What was u original Minecraft version u start this server/map.
Maybe u have to think about to give more ram to u server. Or in general use it on an Standalone Machine.
Minecraft 1.8.x need match CPU Power. On 1.6.x u can have 10 People on one server and on the same machine after going 1.8.x u only can handle 4-6 Player. (i wish Bukkit was back without injection tools to run.)
I run the server one the same PC I play minecraft. I do this with all the time, and this is the only one that lags nearly this much.
I THINK the original version was 1.5.2.
I only play with 1-3 people at a time on it (including myself. And it lags horribly even when I'm alone on it).
I updated it from 1.5.2 to each snapshot up to 1.6.2 and then, as previously stated, to 1.8.3, so yes there's going to be obvious chunk transitions.
I haven't changed the ram (2gb) since I made the server, and it didn't lag before.
If u only have 1 PC for minecraft and the server and only 4 Peopel play on this Server u can try this:
java -Xmx1024M -Xms1024M -jar minecraft_server.jar nogui
Work smothe on my side.
That doesn't work. Also that's less ram than I'm already giving it.
How many memory of RAM for Java did you set?
1gb*
Well, there's a few things that it might be:
So here's what I've found out: I set the difficulty to peaceful, and killed most of the mobs in the chunks near me, and then the lag was gone.
BUT the server wasn't portforwarded when I did that. I had to re-portforward and when I did.....then the crippling lag came back.
So... apparently there's a problem with hosting the world as a server, and not so much with just playing on the world at all.
I'll check this world out to see what the problem might be. It could be anything from excess entities to a redstone clock.
I don't see any major lag when I run it. Can you tell me what exactly the lag is?
For me, clearing up some of the entities while playing the world singleplayer fixed the lag, but when people play on it over the internet (including myself), It still lags horribly. (It's the only server I run that lags nearly that bad).
So, too many entities building up caused lag, but I fixed that. And....just connecting to it online caused lag for reasons I'm unsure of.
Well in multiplayer, more chunks are loaded 24/7 (24x24 chunk area) than in single player. If you get MCEdit, open the world, select a large portion of chunks near spawn, and delete entities then it may do the trick.
I don't see an option to delete entities. Could you tell me where it is?