Serverside

Fixes / Server thread stalling

Operations · medium severity · found in the console

Server thread stalling

The server console prints a line like this.

What the console says

server thread hitch warning: timer interval of <ms> milliseconds

What it means

The server thread stalled for N ms. Players feel this as a freeze.

How to fix it

  1. Note what happens on the same cadence as the hitch — a save loop, a database write, a scheduled job.
  2. Check for a resource doing synchronous database work on a timer.
  3. A single hitch after a restart is normal warm-up; a repeating one during play is not.

When it is not this

One hitch proves nothing. Startup, a resource restart and a large join all produce a legitimate stall.