Same error happened to us today, had 6 people on the server. New terrain being generated, definitely lots of chunks being loaded for multiple people, boom. 😞
We should probably also be following MC-42088, it is the same thing as this and it has another 15 related issues marked as duplicate.
Check MC-38160, we've been having an ongoing discussion about this for some time. MC-43685 seems to be related as well.
What I'm seeing is chunks/regions not getting unloaded, ever. So, over time, as the server grows, it just keeps using more and more RAM until eventually it grinds to a halt, writing out all of the files when only a few or even none should be active. I can see it still updating all the previously active region files with no one logged in anymore.
After watching the server for a while, with players logging in and out, I did notice the server is not freeing up chunks/regions like it used to. That is, even with no one logged in, the server was still updating all of the chunks that had been loaded for any of the previously logged in players. The mineshaft.dat file seems to grow in size relative to the loaded regions/chunks, and only gets regenerated as players revisit regions.
Anyone else seeing this. In the past, once players were out of regions, the server stopped writing to them; it would "unload" them. That doesn't seem to be happening anymore, it just keeps it all loaded and constantly updates all of those files.
I've been having the same issue and my Mineshaft.dat file is about 100k. I've been noticing the process has been using up all of the RAM allotted to it on the command line and basically appearing to GC in a nice loop every 15 seconds. This was definitely not an issue in 1.6.x.
Though I understand server needs grow as more stuff is added over time, e.g. taller worlds, it seems like people with hardware an order of magnitude greater than mine are also seeing the issue.
I have a 32-bit dual core atom, 1.6ghz, 1.5GB max memory. I used the DEFAULT world type for this server, fresh for 1.7.x. Just restarting the server clears up the issue for a while, until enough stuff gets loaded by the server, e.g. entities because someone goes near my animal farm, then it's game over. I've run two or three instances on the same box in the past with no issue. And I can do so now, except after a while it goes into GC looping nightmare mode.
8.2% of 4.5GB (w/ swap) when I started, slowly climbing up to 8.7% now after 10 min, CPU is 47/400%. Eventually that will go up to 33% mem at which point it will GC, but be at 47% CPU while it's not GCing, which I have suggested to people is a good time to work with lava. 🙂
[in a flyish voice] "Help me!!!"
@Galaxy
Yes, I agree, there shouldn't be any major problems, I'm at the original spawn on both servers and getting the issue on the larger one. Just a scenario I am seeing, might just be coincidence.
@Tony
Goes, server is fine, no one logged in, someone logs in, e.g. me, and server cries for help. Notice the "jgaracci moved wrongly!" at 01:32:46, that was me in a boat, the scenario I described in my previous comment.
server log
[01:25:01] [Server thread/INFO]: There are 0/20 players online:
[01:25:01] [Server thread/INFO]:
[01:26:01] [Server thread/INFO]: There are 0/20 players online:
[01:26:01] [Server thread/INFO]:
[01:27:01] [Server thread/INFO]: There are 0/20 players online:
[01:27:01] [Server thread/INFO]:
[01:28:01] [Server thread/INFO]: There are 0/20 players online:
[01:28:01] [Server thread/INFO]:
[01:28:41] [User Authenticator #220/INFO]: UUID of player jgaracci is EDITED OUT
[01:28:41] [Server thread/INFO]: jgaracci[/192.168.0.102:49618] logged in with entity id 1188752 at (-186.69999998807904, 74.0, 273.7186626432543)
[01:28:41] [Server thread/INFO]: jgaracci joined the game
[01:28:48] [Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 2140ms behind, skipping 42 tick(s)
[01:29:02] [Server thread/INFO]: There are 1/20 players online:
[01:29:02] [Server thread/INFO]: jgaracci
[01:29:07] [Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 5073ms behind, skipping 101 tick(s)
[01:29:24] [Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 4684ms behind, skipping 93 tick(s)
[01:29:42] [Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 5312ms behind, skipping 106 tick(s)
[01:30:00] [Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 5357ms behind, skipping 107 tick(s)
[01:30:01] [Server thread/INFO]: There are 1/20 players online:
[01:30:01] [Server thread/INFO]: jgaracci
[01:30:20] [Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 5907ms behind, skipping 118 tick(s)
[01:30:38] [Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 5082ms behind, skipping 101 tick(s)
[01:30:56] [Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 5530ms behind, skipping 110 tick(s)
[01:31:01] [Server thread/INFO]: There are 1/20 players online:
[01:31:01] [Server thread/INFO]: jgaracci
[01:31:11] [Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 5165ms behind, skipping 103 tick(s)
[01:31:30] [Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 5420ms behind, skipping 108 tick(s)
[01:31:48] [Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 4649ms behind, skipping 92 tick(s)
[01:32:01] [Server thread/INFO]: There are 1/20 players online:
[01:32:01] [Server thread/INFO]: jgaracci
[01:32:06] [Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 4831ms behind, skipping 96 tick(s)
[01:32:24] [Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 5270ms behind, skipping 105 tick(s)
[01:32:45] [Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 6433ms behind, skipping 128 tick(s)
[01:32:46] [Server thread/WARN]: jgaracci moved wrongly!
[01:32:59] [Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 4599ms behind, skipping 91 tick(s)
[01:33:01] [Server thread/INFO]: There are 1/20 players online:
[01:33:01] [Server thread/INFO]: jgaracci
[01:33:19] [Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 5565ms behind, skipping 111 tick(s)
[01:33:38] [Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 5543ms behind, skipping 110 tick(s)
[01:33:54] [Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 6074ms behind, skipping 121 tick(s)
[01:34:01] [Server thread/INFO]: There are 1/20 players online:
[01:34:01] [Server thread/INFO]: jgaracci
[01:34:12] [Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 6933ms behind, skipping 138 tick(s)
[01:34:30] [Server thread/WARN]: jgaracci moved wrongly!
[01:34:37] [Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 10532ms behind, skipping 210 tick(s)
[01:34:53] [Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 8546ms behind, skipping 170 tick(s)
[01:35:01] [Server thread/INFO]: There are 1/20 players online:
[01:35:01] [Server thread/INFO]: jgaracci
Same thing has been happening here too. with only me logged in, one core is pegged at 100%, lots of skipping ### ticks(s) messages. Stays that way for a bit after I log out, then drops down to negligible 4%. 1.5GB allocated, it's definitely not RAM, as it's using only 350MB right now.
This was a new world created for 1.7.2 where the world has grown to a decent size with about 20 unique players.
I created another server just to see what was happening, brand new, I only see this issue when someone logs in.
Perhaps once the world hits a certain size it is falling way behind process events/data.
I was travelling by boat on my main server and kept getting thrown back 100 blocks by the tsunami of server lag, but the boat was left where it should be. It was fun to suddenly be swimming in the deep ocean... but kind of annoying to have to swim back to my boat. 🙂 And very annoying to watch blocks re-appear after being dug/mined/chopped, etc.
"Help me obi-jeb-kenobi, you're my only hope"
Same issue with a fresh install on ubuntu this morning. Restarting the launcher caused it to work.
Definitely not limited to mac users.
I don't remember seeing the error message in the logs, but I did notice after running it a second time, the versions location was updated...
[media]Maybe that is helpful, maybe not. The first run was at 8:48, second at 8:52.