What are you searching for?

FullStack Watchdog

FullStack Watchdog

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

download 1.8M Downloads · favorite 43 Followers · Updated 2 years ago
Fabric Forge Neoforge Utility 1.16.5 1.17.1 1.18 1.18.1 1.18.2 +14 more

Versions

inventory_2
FullStack Watchdog (1.20.2 to 1.20.4 - MC Neoforge)

1.1.0+1.20.2-neoforge · 2 years ago · 12.71 KB

Release download
Neoforge 1.20.2 1.20.3 1.20.4
inventory_2
FullStack Watchdog (1.17.1 to 1.20.1 - MC Forge)

1.0.1+1.19.2-forge · 2 years ago · 14.20 KB

Release download
Forge Neoforge 1.17.1 1.18 1.18.1
inventory_2
FullStack Watchdog (1.17.1 to 1.21.1 - MC Fabric)

1.0.1+1.19.2-fabric · 2 years ago · 14.03 KB

Release download
Fabric 1.17.1 1.18 1.18.1
inventory_2
FullStack Watchdog (1.16.5 - MC Forge)

1.0.1+1.16.5-forge · 2 years ago · 13.93 KB

Release download
Forge 1.16.5
inventory_2
FullStack Watchdog (1.16.5 - MC Fabric)

1.0.1+1.16.5-fabric · 2 years ago · 13.75 KB

Release download
Fabric 1.16.5

About

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

open_in_new View on Modrinth
Categories
Compatibility
Client: Unsupported Server: Required
gavel MIT

Conversation

What are your thoughts?

Related projects

Optimization Utility
FerriteCore
FerriteCore

by malte0811

Memory usage optimizations

download 84.3M
favorite 12,712
Utility
Mod Menu
Mod Menu

by Prospector

Adds a mod menu to view the list of mods you have installed.

download 77.7M
favorite 22,127
Library Management Utility
YetAnotherConfigLib (YACL)
YetAnotherConfigLib (YACL)

by isxander

A builder-based configuration library for Minecraft!

download 66.1M
favorite 7,607
Adventure Transportation Utility
Xaero's Minimap
Xaero's Minimap

by thexaero

Displays a map of the nearby world terrain, players, mobs, entities in the corner of your screen. Lets you create waypoints which help you find the locations you've marked.

download 60.9M
favorite 13,668
lock Cookie consent

SkinMC uses cookies to provide functionality and features.