Timings reports are similar to your PC’s Task Manager and help you find issues, especially lag. A timings report records all server activities and displays them visually.
Depending on your server software, the timings report is created differently. Basically, you need to start the recording first with the following command (except for Paper Spigot if settings are unchanged):
/timings start
While recording, use the server as usual so that any issues can be captured and later analyzed in detail. The recording should last at least 10 minutes or longer if possible.
To create and export the timings report, use this command:
/timings paste
After a few seconds, a message will appear confirming the export was successful. You can open the timings report via the provided link.
Once the timings report is exported and opened as described above, a window similar to this should appear:
First, examine the graph closely to check rough values at different recording points by hovering your mouse over the points.
To get the most accurate values indicating a possible server problem, narrow down the problematic time frame using the sliders below, as shown in the graph:
There are three columns in total. As shown in the screenshot below, box number 1 shows what percentage of a tick (20 ticks equal one second) the main process requires. You also see how often this process ran during the recording.
Box number 2 provides more precise values in milliseconds, but note that the time should never exceed 50ms. If it does, this triggers a chain reaction causing all other processes to backlog, ultimately leading to lag because the server can only process tasks with delay.
The Full Server Tick can usually be ignored since its values are always in the red zone, which is not a major problem.
You should definitely take a closer look at the color-highlighted values.
In this example, we look at the process for all entities (animals, monsters, items, etc.) since the values are already marked orange. This directly indicates a problem with too many entities on the server.
Maybe there are mob farms or massive mob spawning. If you have issues with too many entities, you can reduce spawn rates in settings or install plugins that limit entity counts and automatically remove them if needed.
As described above, the list generally always shows the main process. By clicking on a process, you can examine individual processes for each entity type in more detail. Also pay attention to columns 2 and 3 as mentioned earlier.
You will see that Minecraft::tickEntity - nms.EntitySkeleton executed many processes. Mob farms could be the cause here as well.
Another process with orange values is waiting blocks. Waiting blocks can be especially inefficient because the server must check the status of each waiting block every tick. Examples include falling sand, gravel, lava, and water.
For example, if a lot of water is used on a large farm, it can cause many problems. This issue can also occur when new chunks generate and water sources form in mountains within those chunks. The server must recalculate the status each time for the water to flow. Additionally, the server must create and load chunks, which is also a very intensive process.
You can perform all other investigations similarly, as the steps are identical for every other process. If you still need help interpreting the data, we are always here for you!
Sometimes problems are caused by plugins. To find out if a plugin is the culprit, you can temporarily remove plugins from the server and check the current state again.
If there is a plugin issue, you can also investigate it in the “Plugins” section. The values are also listed in three columns with the same structure as the normal server values above. The difference is that no main process is shown here, but the plugin itself. Still, you can open all processes by clicking and examine the values in detail.
