COWMODSКаталог модов

FullStack Watchdog

Make Watchdog crashes show all the code that was running for all threads

Автор: TelepathicGrunt3,3 млн46обновлён 22 нояб. 2023 г.
Утилиты

Описание

This is a tiny server-sided mod that makes it so that the logs show more information when the Watchdog system on the server has killed the server due to being deadlocked or stuck so long. The crash report log will now show all of the code that was running at the time of the deadlocked server. In other words, the full stacktrace of all threads instead of the normally truncated (shortened) version.

 

In theory, this should help with diagnosing what modded code or mixin has caused an "off-thread" to lock up. When a thread locks up, the server thread gets stuck and if it remains stuck for so long, the Watchdog kills it because a tick took too long to complete. It won't help solve all deadlock issues. But it might get you just enough info to track down the cause of a few deadlocks.

Image below is an example of before and after this mod is put on (Gallery tab shows image better):  Example of improvement

 

Yes you may ship this mod in a modpack. The client can also have this mod on but it won't do anything on client since the Watchdog system is only ran on servers. You can also run servers with this mod only on the server. Clients without this mod can still connect.

NOTE 1: NeoForge 20.4.107 and newer already has this mod merged into it! You do not need this mod in NeoForge for 1.20.4 MC or newer! https://github.com/neoforged/NeoForge/pull/512

NOTE 2: Fabric API 0.104.0+1.21.2 and newer already has this mod merged into it! You do not need this mod in Fabric for 1.21.2 MC or newer! https://github.com/FabricMC/fabric/pull/4052

Галерея

Example of how this mod improved watchdog crash logs

Последние версии

Все версии →
release

FullStack Watchdog (1.20.2 to 1.20.4 - MC Neoforge)

1.1.0+1.20.2-neoforge
22 нояб. 2023 г.505Minecraft: 1.20.2, 1.20.3, 1.20.4neoforge
Скачать
Что нового
### **(V.1.1.0 Changes) (1.20.2 Minecraft)** #### Major: Updated to 1.20.2 and to Neoforge
release

FullStack Watchdog (1.17.1 to 1.20.1 - MC Forge)

1.0.1+1.19.2-forge
13 апр. 2023 г.402,6 тыс.Minecraft: 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1forge, neoforge
Скачать
Что нового
### **(V.1.0.1 Changes) (1.19.2 Minecraft)** #### Major: Fix crash on actually running the game. Turns out I need to turn off remapping in the mixin for this target. ### **(V.1.0.0 Changes) (1.19.2 Minecraft)** #### Major: Initial release
release

FullStack Watchdog (1.17.1 to 1.21.1 - MC Fabric)

1.0.1+1.19.2-fabric
13 апр. 2023 г.2,9 млнMinecraft: 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1fabric
Скачать
Что нового
### **(V.1.0.1 Changes) (1.19.2 Minecraft)** #### Major: Fix crash on actually running the game. Turns out I need to turn off remapping in the mixin for this target. ### **(V.1.0.0 Changes) (1.19.2 Minecraft)** #### Major: Initial release
release

FullStack Watchdog (1.16.5 - MC Forge)

1.0.1+1.16.5-forge
13 апр. 2023 г.1,9 тыс.Minecraft: 1.16.5forge
Скачать
Что нового
### **(V.1.0.1 Changes) (1.19.2 Minecraft)** #### Major: Fix crash on actually running the game. Turns out I need to turn off remapping in the mixin for this target. ### **(V.1.0.0 Changes) (1.19.2 Minecraft)** #### Major: Initial release
release

FullStack Watchdog (1.16.5 - MC Fabric)

1.0.1+1.16.5-fabric
13 апр. 2023 г.336Minecraft: 1.16.5fabric
Скачать
Что нового
### **(V.1.0.1 Changes) (1.19.2 Minecraft)** #### Major: Fix crash on actually running the game. Turns out I need to turn off remapping in the mixin for this target. ### **(V.1.0.0 Changes) (1.19.2 Minecraft)** #### Major: Initial release