mojira.dev
MC-22688

Minecraft Server Performance Degrades Severely Over Time

Since one of the later 1.6 snapshots (I cannot recall which), minecraft servers have been unusable for me. The server starts up fine, but then over time the server gets unstable and the log just fills with cannot keep up messages. Timeouts begin to occur all the time and block lag occurs. This isn't a hardware issue, because the servers worked with 1.5 and lower with 20+ people on no problem. Now the server becomes unstable with no one on. I can however, host more than 20 people by just hosting it as a LAN world then giving my friends that port and forwarding it through the router. That results in no lag or performance degrading. RAM on server set to 6gb and computer has 16gb.

Linked issues

Attachments

Comments 19

anyone want to help fix this?

I guess the lag comes from Zombies. Look at this bug: https://mojang.atlassian.net/browse/MC-17630

I don't know though, because the issue occurs even when on peaceful or doMobSpawning= false is activated

What is the command line for starting the server ? Too less RAM for the JVM ?

I attached the launcher script to the bug report, the server max only ever has 5 people on it, but usually only 2. Lag is experienced with only one person as well.

9 more comments

Downloaded your world, played 10 minutes without any complain of the server (Server and client running on same machine)
Is there a specific location where to go ? Found a subway near spawn, drove it to it's end point.

This is very weird. I just tried playing on the same world, and the server didnt have any problems. It only sometimes does, but it happens 99% of the time. The Mac OS X 10.9 beta was just updated to build (13A524d) today, so that may have fixed the problem, but I don't know, I will try again tomorrow and see if the problem returns.

I can recreate the lag when creating Zombies, then MC-17630 kicks in.
The villagers around spawn are (deliberately) unreachable...

I have been able to confirm it is MC-17630 in certain circumstances. I think the latest build of Mac OS X 10.9 fixed the problem with the server having problems on peaceful worlds. Here is a screen-recording of the problem: https://www.youtube.com/watch?v=8rh-qTdBoY4

Thanks for the video. That's proof enough for MC-17630.

adsfasdf

(Unassigned)

Unconfirmed

Minecraft 1.6.1, Minecraft 1.6.2

Retrieved