[v1.0] Shutdown of dedicated server gets stuck

Alexisblack

New member
Summary: (A short description of the bug)
Running 7d2d on dedicated server using pterodactyl. Server seems to run fine, until I want to shutdown. I have tried shutdown button as well as shutdown command using RCON. It always hangs after saving Persistent GamePrefs.
 

Game Version: (V1.0 b309)

OS/Version: Linux 

CPU Model: AMD Ryzen 5 3600X 6-Core Processor (cores: 12)

System Memory: 32 GB ECC 2666 MHz

Game mode: Dedicated Server

Did you wipe old saves? (Yes/No)

Yes
 

Did you start a new game? (Yes/No)

Yes
 

Did you validate your files? (Yes/No)

Yes
 

Are you using any mods? (Yes/No)
Yes, but the issue was occurring before mods installed as well. 


EAC on or off? On

Status: NEW

Bug Description:

Detailed steps to reproduce the bug:

1) Setup Dedicated Server

2) Shutdown Server

3) or Issue Shutdown command

Actual result: (description of what is occurring)

container@pterodactyl~ Server marked as stopping...
shutdown
2024-06-26T01:07:09 76.921 INF Executing command 'shutdown' by Telnet from 127.0.0.1:47130
Shutting server down...
2024-06-26T01:07:09 76.970 INF Preparing quit
2024-06-26T01:07:09 76.970 INF Disconnect
2024-06-26T01:07:09 76.971 INF [NET] ServerShutdown
2024-06-26T01:07:09 76.971 INF NET: Stopping server protocols
2024-06-26T01:07:09 77.115 INF NET: LiteNetLib server stopped
2024-06-26T01:07:09 77.117 INF SaveAndCleanupWorld
2024-06-26T01:07:09 77.146 INF Saving 0 of chunks took 20ms
2024-06-26T01:07:09 77.152 INF [Steamworks.NET] Exiting Lobby
2024-06-26T01:07:09 77.152 INF [EOS] Unregistering server
2024-06-26T01:07:09 77.153 INF [Steamworks.NET] Stopping server
2024-06-26T01:07:09 77.620 INF AstarManager Cleanup
2024-06-26T01:07:09 77.667 INF Clearing queues.
2024-06-26T01:07:09 77.667 INF Cleared queues.
2024-06-26T01:07:10 78.623 INF Clearing queues.
2024-06-26T01:07:10 78.623 INF Cleared queues.
2024-06-26T01:07:10 78.632 INF World.Unload
2024-06-26T01:07:10 78.642 INF Exited thread GenerateChunks
2024-06-26T01:07:10 78.648 INF Exited thread SaveChunks /home/container/.local/share/7DaysToDie/Saves/Navezgane/My Game/Region
2024-06-26T01:07:10 78.663 INF World.Cleanup
2024-06-26T01:07:10 78.664 INF Exited thread ChunkRegeneration
2024-06-26T01:07:10 78.669 INF Exited thread ChunkCalc
2024-06-26T01:07:10 78.670 INF Exited thread ChunkMeshBake
2024-06-26T01:07:10 78.687 INF Exited thread WaterSimulationApplyChanges
2024-06-26T01:07:10 78.690 INF VehicleManager saving 0 (0 + 0)
2024-06-26T01:07:10 78.693 INF VehicleManager saved 9 bytes
2024-06-26T01:07:10 78.694 INF DroneManager saving 0 (0 + 0)
2024-06-26T01:07:10 78.695 INF DroneManager saved 9 bytes
2024-06-26T01:07:10 78.696 INF TurretTracker saving 0 (0 + 0)
2024-06-26T01:07:10 78.697 INF TurretTracker saved 9 bytes
2024-06-26T01:07:10 78.705 INF Persistent GamePrefs saved




Expected result: (what you expect to occur)
 server shuts down

Link to Pastebin Output Log:
https://pastebin.com/KEjgn2Qg

 
Last edited by a moderator:
In your log, right at the beginning....

 

2024-06-26T01:05:52 0.028 WRN The vm.max_map_count setting is too low (65530) and may cause crashes. Follow these steps to increment it:
- Open /etc/sysctl.conf with a text editor: 'sudo editor /etc/sysctl.conf'
- Add or update the line: 'vm.max_map_count=262144'
- Save the file and exit the editor
- Apply the changes: 'sudo sysctl -p'




Follow the instructions.

 
Hey @SylenThunder,

I have followed these steps and the error is no longer in my logs, but I am still having shutdown issues.

 
Back
Top