brief-potato-31614
12/14/2025, 3:57 PM[ERROR] livekit.agents: process did not exit in time, killing process
I’ve noticed that this error appears in the logs whenever my shutdown hook is not triggered. What could be the reason for this, and how can I determine whether the issue is coming from LiveKit itself or from my implementation? From the logs, it seems like the error is being emitted by LiveKit.
Also, what would be the best way to further investigate this and identify what might be causing the process not to shut down gracefully?lively-winter-88668
12/15/2025, 10:21 AMbrief-potato-31614
12/15/2025, 10:34 AMbrief-potato-31614
12/15/2025, 10:39 AMlively-winter-88668
12/15/2025, 11:02 AMbrief-potato-31614
12/15/2025, 12:00 PMgreat-bear-58988
12/16/2025, 7:00 PMshutting down job task nor the session closed log.
Failing session: RM_dspLmVgdrDav
Working session: RM_hFpMCLw5Mqr3great-bear-58988
12/16/2025, 7:01 PMgreat-bear-58988
12/16/2025, 7:11 PMshutdown the session manually before deleting the room, or does delete_room also trigger a shutdown event?lively-winter-88668
12/17/2025, 10:30 AMgreat-bear-58988
12/17/2025, 10:59 AMsession closed and shutting down job task)
Maybe the session never gets closed due to which, the shutdown webhook never gets calledgreat-bear-58988
12/18/2025, 8:07 PMrefined-appointment-81829
12/18/2025, 8:51 PMgreat-bear-58988
12/19/2025, 2:22 PMrefined-appointment-81829
12/19/2025, 2:23 PMgreat-bear-58988
12/19/2025, 2:25 PMrefined-appointment-81829
12/19/2025, 2:25 PMrefined-appointment-81829
12/19/2025, 2:25 PMrefined-appointment-81829
12/19/2025, 2:26 PMgreat-bear-58988
12/19/2025, 3:17 PMgreat-bear-58988
12/19/2025, 3:21 PMSIGTERM or SIGKILL . I don't think if stopTimeout is the issuerefined-appointment-81829
12/19/2025, 3:21 PMrefined-appointment-81829
12/19/2025, 3:26 PMrefined-appointment-81829
12/19/2025, 3:27 PMgreat-bear-58988
12/24/2025, 3:34 PMrefined-appointment-81829
12/24/2025, 4:16 PMrefined-appointment-81829
12/24/2025, 4:16 PM