Mod FullStack Watchdog by telepathicgrunt
- 14.20 KB
- 1.20.1
- April 13, 2023
- April 12, 2023
- Server Utility
Name | FullStack Watchdog | Author | telepathicgrunt | Description | Make Watchdog crashes show all the code that was running for all threads |
---|---|---|---|---|---|
Information | Downloads: Version: 1.20.1 Size: 14.20 KB Updated at: April 12, 2023 Created at: April 13, 2023 | Tags | Server Utility |
This is a tiny server-side only mod that makes it so that when the server is deadlocked or stuck so long that the Watchdog system crashes it, the crash report log will now show all of the code that was running at the time of the deadlocked server. The full stacktrace of all threads instead of the normally truncated version.
In theory, this should help with diagnosing what modded code or mixin has caused an off-thread to lock up and thus, cause the server thread to get stuck so long that 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 (Image tab shows image better):
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 and clients can connect without needing the mod.