bitter-artist-18201
10/01/2025, 8:55 PM{"message": "process did not exit in time, killing process", "level": "ERROR", "name": "livekit.agents", "pid": 937, "job_id": "AJ_wnVBiitLCp57", "timestamp": "2025-07-07T11:58:07.817657+00:00"}
what does it mean?tall-airline-16756
10/01/2025, 8:55 PMtall-airline-16756
10/01/2025, 8:55 PM"process did not exit in time, killing process". This means that a supervised process, like an agent or worker, wasn't able to shut down gracefully within the set timeout period, so it had to be stopped forcefully.
This usually happens during the shutdown process when LiveKit sends a request for the process to close and waits for it to finish. If the process doesn't exit within the configured timeout (which is 60 seconds by default), the system logs this message and then forcefully terminates the process.
Some common reasons for this include:
• Cleanup or post-processing tasks taking longer than expected.
• The agent code not responding quickly to shutdown signals.
• Operations that block the process from exiting on time.
To help resolve this, you might want to make sure your agent finishes shutdown tasks promptly, or you can adjust the shutdown_process_timeout setting in your configuration to give it a bit more time. If you need any help with this, feel free to ask—I'm here to support you!
Sources: livekit-plugins/livekit-plugins-aws/livekit/plugins/aws/experimental/realti... | Job lifecycle | LiveKit Docs