mojira.dev
MC-160943

Watchdog shuts down servers if it takes too long to reload data packs

See title, it's pretty self-explanatory.

If you use a reload command, and have big data packs to load (thus taking a long time), watchdog will actually shut down the server, while it is actually making progress in loading files.

Obviously it's easier to test on slower computers.

Steps to reproduce:

  1. Set up a server.

  2. Change the watchdog shutdown timer to a low value (eg 5)

  3. Use /reload.

  4. Observe the server being considered crashed.

Linked issues

Comments 3

As a workaround for this, I've found zipped data packs load far faster than unzipped ones. My 10,000 function data pack takes 1-2 minutes to load unzipped, but only about 2 seconds to load when zipped.

Can anyone confirm this? It's even easier to reproduce if you set the server's max-tick-time much lower.

user-f2760

(Unassigned)

Community Consensus

Data Packs, Networking

1.14.4, 19w37a, 19w38b, 19w45b, 1.16.1, ..., 1.19.3, 1.19.4, 1.20.1, 1.20.2, 23w43b

Retrieved