-
-
Notifications
You must be signed in to change notification settings - Fork 843
Open
Description
User story
As a server owner, I need LGSM to shutdown the server properly,
Game
don't starve
Linux distro
Other, Debian 12
Command
command: stop
Further information
system info
linux: debian 13
using docker image: gameservermanagers/gameserver:dst
linuxgsm@gameserver:/app$ cat /build-time.txt
Sat Oct 4 03:31:44 AM UTC 2025
When stopping the server, it will time out for 30 seconds and get a FAIL message
linuxgsm@gameserver:/app$ ./dstserver stop
[ .... ] Stopping dstserver: Graceful: CTRL+c: 14
[ .... ] Stopping dstserver: Graceful: CTRL+c: 20
[ ERROR ] Stopping dstserver: Graceful: CTRL+c: ... FAIL
[ OK ] Stopping dstserver: my dstserver
Then generate a core file in /data/serverfiles/data/
linuxgsm@gameserver:/app$ ls -l /data/serverfiles/data/
total 2454236
drwxr-xr-x 3 linuxgsm linuxgsm 139264 Oct 9 08:33 anim
drwxr-xr-x 2 linuxgsm linuxgsm 20480 Oct 9 08:33 bigportraits
-rw------- 1 linuxgsm linuxgsm 907001856 Oct 10 07:27 core.585905
-rw------- 1 linuxgsm linuxgsm 907014144 Oct 10 07:31 core.588298
-rw------- 1 linuxgsm linuxgsm 908115968 Oct 10 07:38 core.595532
drwxr-xr-x 2 linuxgsm linuxgsm 4096 Oct 9 08:33 databundles
drwxr-xr-x 2 linuxgsm linuxgsm 4096 Oct 9 08:33 fx
drwxr-xr-x 3 linuxgsm linuxgsm 4096 Oct 9 08:33 haptics
drwxr-xr-x 3 linuxgsm linuxgsm 77824 Oct 9 08:33 images
drwxr-xr-x 5 linuxgsm linuxgsm 4096 Oct 9 08:33 levels
drwxr-xr-x 2 linuxgsm linuxgsm 4096 Oct 9 08:33 minimap
drwxr-xr-x 2 linuxgsm linuxgsm 4096 Oct 9 08:33 movies
-rwxr-xr-x 1 linuxgsm linuxgsm 1226 Oct 9 08:33 scripts_readme.txt
drwxr-xr-x 2 linuxgsm linuxgsm 12288 Oct 9 08:33 sound
drwxr-xr-x 2 linuxgsm linuxgsm 4096 Oct 9 08:33 unsafedata
-rwxr-xr-x 1 linuxgsm linuxgsm 364 Oct 9 08:33 unsafedata_readme.txt
It looks like the system doesn't think the server shut down properly.
I tried to enter tmux and manually pressed ctrl+c, but it did not close the tmux window. I needed to press enter/ctrl+c again to close the tmux window.
Relevant log output
[00:00:23]: Server registered via geo DNS in ap-southeast-1
[00:00:23]: Sim paused
[00:00:39]: Available disk space for save files: 15041 MB
[00:00:40]: Serializing world: session/3CB791945692677C/0000000008
[00:00:40]: Truncating to snapshot #8...
[00:00:40]: - session/3CB791945692677C/0000000002
[00:00:40]: 1 file(s) removed
[00:00:40]: Removing server from lobby
[00:00:40]: [Shard] Stopping shard mode
[00:00:40]: [Steam] SendUserDisconnect for ''
[00:00:40]: Collecting garbage...
[00:00:40]: lua_gc took 0.32 seconds
[00:00:40]: ~ShardLuaProxy()
[00:00:40]: ~cEventLeaderboardProxy()
[00:00:40]: ~ItemServerLuaProxy()
[00:00:40]: ~InventoryLuaProxy()
[00:00:40]: ~NetworkLuaProxy()
[00:00:40]: ~SimLuaProxy()
[00:00:41]: lua_close took 0.35 seconds
[00:00:41]: Could not unload undefined prefab (elaina_autumn_fun_tool1)
[00:00:41]: Could not unload undefined prefab (elaina_autumn_fun_tool1_tmp)
[00:00:41]: Could not unload undefined prefab (elaina_tool_magic_wand_skins1)
[00:00:41]: Could not unload undefined prefab (elaina_tool_magic_wand_skins1_tmp)
[00:00:41]: Could not unload undefined prefab (elaina_tool_magic_wand_skins5)
[00:00:41]: Could not unload undefined prefab (elaina_tool_magic_wand_skins5_tmp)
[00:00:41]: Could not unload undefined prefab (elaina_tool_magic_wand_skins2)
[00:00:41]: Could not unload undefined prefab (elaina_tool_magic_wand_skins2_tmp)
[00:00:41]: Could not unload undefined prefab (elaina_tool_magic_wand_skins4)
[00:00:41]: Could not unload undefined prefab (elaina_tool_magic_wand_skins4_tmp)
[00:00:41]: Could not unload undefined prefab (elaina_tool_magic_wand_skins3)
[00:00:41]: Could not unload undefined prefab (elaina_tool_magic_wand_skins3_tmp)
[00:00:41]: Could not unload undefined prefab (monvfu_skins2)
[00:00:41]: Could not unload undefined prefab (monvfu_skins2_tmp)
[00:00:41]: Could not unload undefined prefab (monvfu_skins3)
[00:00:41]: Could not unload undefined prefab (monvfu_skins3_tmp)
[00:00:41]: Could not unload undefined prefab (monvfu_skins4)
[00:00:41]: Could not unload undefined prefab (monvfu_skins4_tmp)
[00:00:41]: Could not unload undefined prefab (elaina_tushan)
[00:00:41]: Could not unload undefined prefab (elaina_zgn)
[00:00:41]: Could not unload undefined prefab (elaina_ynkq)
[00:00:41]: Could not unload undefined prefab (elaina_mll)
[00:00:41]: Could not unload undefined prefab (elaina_hzs)
[00:00:41]: Could not unload undefined prefab (elaina_wr)
[00:00:41]: Could not unload undefined prefab (elaina_hly)
[00:00:41]: Could not unload undefined prefab (qiantiao)
[00:00:41]: Could not unload undefined prefab (elaina_qc)
[00:00:41]: Could not unload undefined prefab (elaina_npz2)
[00:00:41]: Could not unload undefined prefab (elaina_gete)
[00:00:41]: Could not unload undefined prefab (elaina_green_snake)
[00:00:41]: Could not unload undefined prefab (elaina_pink)
[00:00:41]: Could not unload undefined prefab (elaina_819)
[00:00:41]: Could not unload undefined prefab (elaina_zxyy)
[00:00:41]: Could not unload undefined prefab (elaina_magic_book1_skins1)
[00:00:41]: Could not unload undefined prefab (elaina_magic_book1_skins1_tmp)
[00:00:41]: Could not unload undefined prefab (elaina_indestructible_light_skins1)
[00:00:41]: Could not unload undefined prefab (elaina_indestructible_light_skins1_tmp)
[00:00:41]: Could not unload undefined prefab (elaina_pk_skins1)
[00:00:41]: Could not unload undefined prefab (elaina_pk_skins1_tmp)
[00:00:41]: Could not unload undefined prefab (elaina_pk_skins2)
[00:00:41]: Could not unload undefined prefab (elaina_pk_skins2_tmp)
[00:00:41]: Could not unload undefined prefab (elaina_pk_skins3)
[00:00:41]: Could not unload undefined prefab (elaina_pk_skins3_tmp)
[00:00:41]: Could not unload undefined prefab (elaina_gdq1)
[00:00:41]: Could not unload undefined prefab (elaina_gdq1_tmp)
[00:00:41]: Could not unload undefined prefab (mofa_hat_skins3)
[00:00:41]: Could not unload undefined prefab (mofa_hat_skins3_tmp)
[00:00:41]: Could not unload undefined prefab (mofa_hat_skins4)
[00:00:41]: Could not unload undefined prefab (mofa_hat_skins4_tmp)
[00:00:41]: Could not unload undefined prefab (elaina_magic_broom_skins1)
[00:00:41]: Could not unload undefined prefab (elaina_magic_broom_skins1_tmp)
[00:00:41]: Could not unload undefined prefab (elaina_magic_broom_skins2)
[00:00:41]: Could not unload undefined prefab (elaina_magic_broom_skins2_tmp)
[00:00:41]: Could not unload undefined prefab (elaina_bag_skins3)
[00:00:41]: Could not unload undefined prefab (elaina_bag_skins3_tmp)
[00:00:41]: Could not unload undefined prefab (red_fairyskirt_skins1)
[00:00:41]: Could not unload undefined prefab (red_fairyskirt_skins1_tmp)
[00:00:41]: Could not unload undefined prefab (magic_wand_skins1)
[00:00:41]: Could not unload undefined prefab (magic_wand_skins1_tmp)
[00:00:41]: Could not unload undefined prefab (magic_wand_skins2)
[00:00:41]: Could not unload undefined prefab (magic_wand_skins2_tmp)
[00:00:41]: Could not unload undefined prefab (magic_wand_skins4)
[00:00:41]: Could not unload undefined prefab (magic_wand_skins4_tmp)
[00:00:41]: Could not unload undefined prefab (magic_wand_skins3)
[00:00:41]: Could not unload undefined prefab (magic_wand_skins3_tmp)
[00:00:41]: Could not unload undefined prefab (magic_wand_skins5)
[00:00:41]: Could not unload undefined prefab (magic_wand_skins5_tmp)
[00:00:41]: Could not unload undefined prefab (magic_wand_skins7)
[00:00:41]: Could not unload undefined prefab (magic_wand_skins7_tmp)
[00:00:41]: Could not unload undefined prefab (magic_wand_skins8)
[00:00:41]: Could not unload undefined prefab (magic_wand_skins8_tmp)
[00:00:41]: Could not unload undefined prefab (magic_wand_skins9)
[00:00:41]: Could not unload undefined prefab (magic_wand_skins9_tmp)
[00:00:41]: Could not unload undefined prefab (magic_wand_skins10)
[00:00:41]: Could not unload undefined prefab (magic_wand_skins10_tmp)
[00:00:41]: Could not unload undefined prefab (magic_wand_skins12)
[00:00:41]: Could not unload undefined prefab (magic_wand_skins12_tmp)
[00:00:41]: Could not unload undefined prefab (magic_wand_xq_skins1)
[00:00:41]: Could not unload undefined prefab (magic_wand_xq_skins1_tmp)
[00:00:41]: Could not unload undefined prefab (magic_wand_xq_skins2)
[00:00:41]: Could not unload undefined prefab (magic_wand_xq_skins2_tmp)
[00:00:41]: Could not unload undefined prefab (magic_wand_xq_skins3)
[00:00:41]: Could not unload undefined prefab (magic_wand_xq_skins3_tmp)
[00:00:41]: Could not unload undefined prefab (magic_wand_xq_skins4)
[00:00:41]: Could not unload undefined prefab (magic_wand_xq_skins4_tmp)
[00:00:41]: Could not unload undefined prefab (magic_wand_xq_skins5)
[00:00:41]: Could not unload undefined prefab (magic_wand_xq_skins5_tmp)
[00:00:41]: Could not unload undefined prefab (magic_wand_skins11)
[00:00:41]: Could not unload undefined prefab (magic_wand_skins11_tmp)
[00:00:41]: Could not unload undefined prefab (elaina_most_brooch_skins1)
[00:00:41]: Could not unload undefined prefab (elaina_most_brooch_skins1_tmp)
[00:00:41]: Could not unload undefined prefab (elaina_most_brooch_skins2)
[00:00:41]: Could not unload undefined prefab (elaina_most_brooch_skins2_tmp)
[00:00:41]: Could not unload undefined prefab (magic_hat_skins5)
[00:00:41]: Could not unload undefined prefab (magic_hat_skins5_tmp)
[00:00:41]: Could not unload undefined prefab (magic_hat_skins6)
[00:00:41]: Could not unload undefined prefab (magic_hat_skins6_tmp)
[00:00:41]: Could not unload undefined prefab (magic_hat_skins7)
[00:00:41]: Could not unload undefined prefab (magic_hat_skins7_tmp)
[00:00:41]: Could not unload undefined prefab (magic_wand_cj_skins9)
[00:00:41]: Could not unload undefined prefab (magic_wand_cj_skins9_tmp)
[00:00:41]: Could not unload undefined prefab (magic_wand_cj_skins10)
[00:00:41]: Could not unload undefined prefab (magic_wand_cj_skins10_tmp)
[00:00:41]: Could not unload undefined prefab (elaina_hand_gift_skins1)
[00:00:41]: Could not unload undefined prefab (elaina_hand_gift_skins1_tmp)
[00:00:41]: Could not unload undefined prefab (elaina_hand_gift_skins2)
[00:00:41]: Could not unload undefined prefab (elaina_hand_gift_skins2_tmp)
[00:00:41]: Could not unload undefined prefab (elaina_box_skins1)
[00:00:41]: Could not unload undefined prefab (elaina_box_skins1_tmp)
[00:00:41]: CurlRequestManager::ClientThread::Main() complete
[00:00:41]: HttpClient2 discarded 0 callbacks.
[00:00:41]: Shutting down
Steps to reproduce
- ./dstserver stop
- wait 30s
- get FAIL and generate a core file in /data/serverfiles/data/
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
🆕 New Issues