Arcueid_Brunestud
Refugee
So in both A18 and A19 I've been having some troubles with a dedicated server. I'm running it on the same machine that i play the game on.
And generally i don't have issues, unless i get a map with fairly densely populated POIs. Base map and average maps seem fine.
The issue comes in the form of the server being in a state of lockup/desync. And the general symptoms are:
Its not really a full server crash at this point, and people are still "connected" but its as if the server is hung up on something.
One of 3 things can then occur.
Now the console still shows certain things, but generally only players connecting/disconnect. I've attached a screenshot of someone attempt to connect during this time also, where it doesn't even fill in any of the info, and puts in a seemingly default IP/port into the chat.
The output logs don't show anything as there's never any unifying thing between the incidents, and its just usually a full halt of activities in the log, outside of player disconnections.
I've monitored the resources, but memory and cpu usage seem to be fine; did a memtest just to be certain as well.
Overall nothing else is crashing/behaving this way which is why its so odd.
I have a Ryzen 9 3900X 3.79 GHz 12-Core; 32 GB of DDR4 ram (running at 2133), effectively triple that in a paging file.
Both the game and the server are running on an SSD.
I've hosted other games/game servers in the past, so this hasn't been an issue before, but obviously different game could have different conflicts.
I've been all around trying to figure this out but these are the only real factors that we've noticed.
[*]Happens a bit more right around the bloodmoon
[*]Happens if theres 2 or 8 players. (average is about 4 players on).
[*]Happens more if i'm specifically playing 7 days to die; (if i'm playing something else, and even if its something thats also memory/CPU-intensive it doens't seem to happen as much)
[*]The world does a small rollback after this, as it seems around the exact moment the server locks up thats where it last saved. Reloading the map causes a small rollback then; as this is desynced from player saves/inventory it can result in players getting duplicated or lost items depending on their last actions before this.
Overall haven't been able to track this one down, and its been infuriating trying to troubleshoot this one; as i can't seem to find a specific cause, rhyme, or reason. The only thing I can really say is its not a network issue as as the host, doing a localhost connection to my own game doesn't work.
I even once tried moving it from the dedicated server to the main game client and running it from there. This was considerably worse, because when the freeze occured it would take the game client with it.

And generally i don't have issues, unless i get a map with fairly densely populated POIs. Base map and average maps seem fine.
The issue comes in the form of the server being in a state of lockup/desync. And the general symptoms are:
- Zombies will stop really moving, they may stand up if shot/interacted with but then will only do the jerky standing animation.
- Sound effects stops occuring, such as reloading and footsteps.
- Lootable containers stop being able to be opened.
- All other players look to be walking in place.
- If you disconnect you generally can't re-connect. (more info below on this one).
Its not really a full server crash at this point, and people are still "connected" but its as if the server is hung up on something.
One of 3 things can then occur.
- The server fixes itself, doing a bit of a "catch-up".
- The server doesn't fix itself, but still accepts console commands allowing a "kickall", if its still taking console commands and all players disconnect, players can then reconnect.
- The server doesn't fix itself, and doesn't accept console commands. This requires a forcekill of the task in the task manager because it won't exit out no matter what you do.
As a note when the forcekill of the task occurs all connected players are disconnected, forcing them to the title screen. Which suggests some level of connection was being maintained to the clients; just the server itself was hung up on something.
Now the console still shows certain things, but generally only players connecting/disconnect. I've attached a screenshot of someone attempt to connect during this time also, where it doesn't even fill in any of the info, and puts in a seemingly default IP/port into the chat.
The output logs don't show anything as there's never any unifying thing between the incidents, and its just usually a full halt of activities in the log, outside of player disconnections.
I've monitored the resources, but memory and cpu usage seem to be fine; did a memtest just to be certain as well.
Overall nothing else is crashing/behaving this way which is why its so odd.
I have a Ryzen 9 3900X 3.79 GHz 12-Core; 32 GB of DDR4 ram (running at 2133), effectively triple that in a paging file.
Both the game and the server are running on an SSD.
I've hosted other games/game servers in the past, so this hasn't been an issue before, but obviously different game could have different conflicts.
I've been all around trying to figure this out but these are the only real factors that we've noticed.
- It tends to happen most on super densely POI populated maps.
the base map, and others seemed fine, its only these rare maps that it seems to occur on.
[*]Happens a bit more right around the bloodmoon
Though cutting the max zombies on the map down didn't help; and even with no zombies around its occured.
[*]Happens if theres 2 or 8 players. (average is about 4 players on).
[*]Happens more if i'm specifically playing 7 days to die; (if i'm playing something else, and even if its something thats also memory/CPU-intensive it doens't seem to happen as much)
Its still happened while i'm not playing, just less frequently.
[*]The world does a small rollback after this, as it seems around the exact moment the server locks up thats where it last saved. Reloading the map causes a small rollback then; as this is desynced from player saves/inventory it can result in players getting duplicated or lost items depending on their last actions before this.
I thought this meant it was an issue with it saving, but changing the save directory, double-ensuring the directory isn't read-only, and ensuring theres exclusion paths on the game and save folder didn't seem to help.
Overall haven't been able to track this one down, and its been infuriating trying to troubleshoot this one; as i can't seem to find a specific cause, rhyme, or reason. The only thing I can really say is its not a network issue as as the host, doing a localhost connection to my own game doesn't work.
I even once tried moving it from the dedicated server to the main game client and running it from there. This was considerably worse, because when the freeze occured it would take the game client with it.
