Are you running windows? If so. Open up task manager and click the performace tab.
After that run the server.
You will probably see something go to 100%. Leave the server running for a little bit after its booted. So you get like 3-4 running slow messages. Keeping track of what part of your pc is running slow.
I know java on Linux is a bit different (such as when deleting files it doesn’t actually delete them but just changes the name so its ignored by the file viewer but listing all files there in java will show it).
But you have me completely stumped.
Im surpised your not noticing it. 48 seconds is a long time in computer time to skip.
If you have another computer capable of running a server (preferably on another os). Then try it on that.
Also im not sure how linux deals with system time. If your not noticing it. It could be that your server is running fine but the system clock is out of sync with seconds or just not moving at all.
The message you see is saying “When Minecraft checked the time jumped foward compared to last tick. Either the minecraft server has been stuck for a significant amount of time (long time between checks), or the server time changed forwards”
The server time changing forwards without your knowledge is extremely unlikely, and if it did happen, wouldn’t happen too often.
Which leaves the other possibility, the Minecraft server is pausing for too long between checks sometimes.
A common source of this problem is Java GC/Garbage Collection. Java needs to pause the server for a short time in order to clean up garbage in memory that is no longer needed. This takes longer the more ram you have.
The garbage collector needs to be tuned for different applications, at the moment, “screen -dmS mcmodded java -Xmx20g -Xms20g -jar forge-1.10.2-126.96.36.1991-universal.jar” isn’t passing it the arguments needed to tune the garbage collection for realtime game work.
@Aikar invented the timings system that created the report you showed, he is very knowledgeable in tuning the Garbage Collection for Minecraft.
As per my previous post, Please read his suggestions and implement them.
but error appears every 10 minutes
Less often than before, but appears.
all messages are the same
[16:56:14] [Server thread/WARN]: Can’t keep up! Did the system time change, or is the server overloaded? Running 8766ms behind, skipping 175 tick(s)
[16:56:06] [Server thread/WARN]: Time ran backwards! Did the system time change?
[17:04:28] [Server thread/WARN]: Can’t keep up! Did the system time change, or is the server overloaded? Running 8760ms behind, skipping 175 tick(s)
[17:04:22] [Server thread/WARN]: Time ran backwards! Did the system time change?
[17:09:35] [Server thread/WARN]: Can’t keep up! Did the system time change, or is the server overloaded? Running 8758ms behind, skipping 175 tick(s)
[17:09:27] [Server thread/WARN]: Time ran backwards! Did the system time change?
[17:18:13] [Server thread/WARN]: Can’t keep up! Did the system time change, or is the server overloaded? Running 8761ms behind, skipping 175 tick(s)
[17:18:08] [Server thread/WARN]: Time ran backwards! Did the system time change?
I didn’t see the time ran backwards one, Maybe your clock really is being updated that often, very very strange it’s getting that far out of sync. Contact your server host, something is wrong with your VM / hardware in a critical way.
i have a similar problem, i started my server a few minutes ago and i don’t know how to leave ticks behind i play on a macbook and it says: Can’t keep up! Is the server overloaded? Running 2506ms or 50 ticks behind
This error is almost inevitable, even with un-modded ‘Vanilla’ Minecraft. I’ve been testing the latest release (1.13) on my i7, and even a server with only two players (view distance=10) gets that occasionally. You can probably reduce it’s frequency by lowering the server view distance, or via more extreme measures (such as turning off mobs, or the nether).
Actually, there is one other big source of server lag that can be minimised: world generation. That’s about the most taxing thing a server can do. If you set a world border and then use a plugin or mod to pre-generate the map (preferably on an empty server), then Wgen lag becomes a thing of the past. Unless you expand the world border.
if it says time ran backwards its commonly because java is stupid and at a time when it goes from 12:00 to 1:00 it sees it when backwards. also when it skips ticks i wouldn’t worry if its like 40 or something because thats common on modded servers but if its more that 50 and its common occurrence then you have a problem.