Server thread hitch warning (network / sync / server) on vanilla RedM server

Server Artifact Version: 13544 (but same issue with the last recomended version 7290)
Operating System (Windows/Linux): Ubuntu-24.04 (by WSL2 with Windows 11 Host)
Error screenshot (if any):

Crash files (if any):
Server config (server.cfg):

##          Only change the IP if you're using a server with multiple         ##
##              network interfaces, otherwise change the port only.           ##
##----------------------------------------------------------------------------##
endpoint_add_tcp "0.0.0.0:30120"
endpoint_add_udp "0.0.0.0:30120"

##----------------------------------------------------------------------------##
##                              Start the DB config                           ##
##----------------------------------------------------------------------------##

# exec mysql.cfg

##----------------------------------------------------------------------------##
##                                Start the basics                            ##
##----------------------------------------------------------------------------##

# ensure mapmanager
# ensure spawnmanager
# ensure basic-gamemode
# ensure chat
# ensure sessionmanager-rdr3

##----------------------------------------------------------------------------##
##                  Start the admin + Phoenix framework config                ##
##----------------------------------------------------------------------------##

# exec resources.cfg
# exec admins.cfg

##----------------------------------------------------------------------------##
##                              Start other config                            ##
##----------------------------------------------------------------------------##

# exec server_internal.cfg

Path to server files:
Path to cfx-server-data files:

Describe your issue For a few weeks now, my RedM server (on Linux with Docker and WSL2 Server Artifact Version: 7290) has been displaying “network thread hitch warning”, “server thread hitch warning” and “sync thread hitch warning” warnings in a loop. Initially I thought it was related to my code so I modified the configuration file to remove my code, then since the problem persisted, I took the latest version of the artifact server, since the problem persisted, I disabled everything even the basic resources in the configuration file. The problem still persists. So I searched on the internet then here in this forum and I did not find a topic corresponding to my problem.

If anyone has any ideas on where the problem is and how to fix it, I’m all ears.

I just did an additional test. I started a fresh instance of the RedM server without going through Docker, but directly in Ubuntu (WSL2) and I get the same result…

After various searches, it seems to be specific to the WSL environment where there is a lag of x seconds between the host system (Windows) and the virtualized system (Ubuntu):

Once the commands (as Administrator) are executed from the host system (Windows) the date between the two systems is correct again

image
image

So far I haven’t had any “Server thread hitch warning” logs.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.