Page MenuHomeFeedback Tracker

Linux Server #shutdown takes 2 minutes to completely shutdown
Closed, ResolvedPublic

Description

On my 1.19 experimental Linux dedicated server, #shutdown command takes about 2 minutes to completely terminate the server process.

 7:59:59 BattlEye Server: Command received: #lock Result: OK
 8:00:14 BattlEye Server: Command received: #shutdown Result: OK
 8:00:14 Dedicated host finished (SIGINT signal).
 8:02:01 RESOURCES (E): ==== Resource leaks ====

 8:02:01 RESOURCES (E): DZ/animals/animations/cow_skeleton/resting_2_run_R72.anm   1

 8:02:01 RESOURCES (E): DZ/animals/animations/cow_skeleton/stand_grazing_2_walk_opt_L144.anm   1

 8:02:01 RESOURCES (E): DZ/animals/animations/cow_skeleton/stand_grazing_2_walk_opt_L72.anm   1

(... many more resources ...)

 8:02:01 RESOURCES (E): DZ/anims/anm/infected/moves/obstacles/z_obstacle_210cm.anm   1

 8:02:01 RESOURCES (E): DZ/anims/anm/infected/moves/obstacles/z_obstacle_50cm.anm   1

 8:02:01 RESOURCES (E): DZ/anims/anm/infected/moves/obstacles/z_obstacle_50cm_inplace.anm   1

 8:02:02  --- Termination successfully completed ---
src/tier1/fileio.cpp (5164) : m_vecRegisteredWriters.Count() == 0
src/tier1/fileio.cpp (5164) : m_vecRegisteredWriters.Count() == 0
 8:02:02 Memory should be free now.
 8:02:02   2592064 B not deallocated

Details

Severity
None
Resolution
Open
Reproducibility
Always
Operating System
Linux x64
Operating System Version
Debian GNU/Linux 11 (bullseye)
Category
Server
Steps To Reproduce

send #shutdown command via rcon.

Additional Information

CPU: AMD Ryzen 5 3600
Memory: 64 GB
NVME SSD: SAMSUNG MZVLB512HAJQ
Distro: Debian GNU/Linux 11 (bullseye)
Arch: x86_64
Kernel: 5.10.0-19-amd64
glibc: 2.31

Event Timeline

jawollja created this task.Oct 20 2022, 4:24 PM
Geez changed the task status from New to Acknowledged.Oct 24 2022, 12:11 PM
jawollja added a comment.EditedOct 24 2022, 8:10 PM

Has this already been addressed in todays experimental patch?
The #shutdown command is much faster now!

19:59:59 BattlEye Server: Command received: #lock Result: OK
20:00:14 BattlEye Server: Command received: #shutdown Result: OK
20:00:14 Dedicated host finished (SIGINT signal).
20:00:16 RESOURCES (E): ==== Resource leaks ====

20:00:16 RESOURCES (E): DZ/animals/animations/cow_skeleton/resting_2_run_R72.anm   1

20:00:16 RESOURCES (E): DZ/animals/animations/cow_skeleton/stand_grazing_2_walk_opt_L144.anm   1

20:00:16 RESOURCES (E): DZ/animals/animations/cow_skeleton/stand_grazing_2_walk_opt_L72.anm   1

(... many more resources ...)

20:00:16 RESOURCES (E): DZ/animals/animations/hen_skeleton/stand_eating_idle_1.anm   1

20:00:16 RESOURCES (E): DZ/animals/animations/hen_skeleton/run.anm   1

20:00:16 RESOURCES (E): DZ/animals/animations/hen_skeleton/run_turn_R144.anm   1

20:00:16  --- Termination successfully completed ---
src/tier1/fileio.cpp (5164) : m_vecRegisteredWriters.Count() == 0
src/tier1/fileio.cpp (5164) : m_vecRegisteredWriters.Count() == 0
20:00:16 Memory should be free now.
20:00:16   40198512 B not deallocated
Geez closed this task as Resolved.Jan 2 2024, 10:49 AM
Geez claimed this task.