FullStack Watchdog

Quick rating

FullStack Watchdog

No reviews yet

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

No Theme
No Genre
Server Utility
Mod Loaders
Forge
NeoForge
Fabric
Minecraft

Community voices

Reviews

Versions
Loading versions…
Match includes

Click once to include, again to exclude, again to clear

Rating Any
Any 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0
Min
Max
Play Status
Reviews
Time Played
hrs+
Verified developers only
Has developer response
List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your review has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

Compatibility

Supported Environments

Where It Runs
Server Only

Runs entirely on the server. Also works in singleplayer.

About

Project Details

Type
Mod
License
MIT License
Latest Version
FullStack Watchdog v1.1.0 (1.20.2 to 1.20.4 - MC Neoforge)
Authors
CurseForge
Modrinth

For authors

Embed Badge

If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

CurseForge ID
Modrinth ID

Resources

External Links

Source Issues Wiki Discord

About

Description

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 (Image tab shows image better)
showcaseoffullstacktracewatchdog-copy2.png

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

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

Screenshots

Gallery

  • Example of how this mod improved watchdog crash logs
    Example of how this mod improved watchdog crash logs
  • Example of how this mod improved watchdog crash logs
    Example of how this mod improved watchdog crash logs

Versions

Files

Relations

Project Relations

More like this

Similar Mods

Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.

On ModDex

Community snapshot

0
Ratings
0
Followers
1
In stacks

By the numbers

Statistics

25.4m
Total Downloads
CurseForge
22.7m
Modrinth
2.7m
Last Updated
CurseForge
Created
CurseForge
Modrinth
Last synced
When ModDex last fetched this project from CurseForge or Modrinth. Every project is re-checked on a schedule, and any project that ships a new file is synced automatically within hours of the release.
New file updates sync automatically
How syncing works