Repository navigation
Milestone
Description
Describe the bug
After killing a Gym server or it errors out, sometimes the following messages may still linger in the terminal afterwards
[2025-10-29 22:34:10,962 E 87220 4226978] rpc_client.h:201: Failed to connect to GCS within 60 seconds. GCS may have been killed. It's either GCS is terminated by `ray stop` or is killed unexpectedly. If it is killed unexpectedly, see the log file gcs_server.out. https://docs.ray.io/en/master/ray-observability/user-guides/configure-logging.html#logging-directory-structure. The program will terminate.
[2025-10-29 22:34:10,962 E 87219 4226980] rpc_client.h:201: Failed to connect to GCS within 60 seconds. GCS may have been killed. It's either GCS is terminated by `ray stop` or is killed unexpectedly. If it is killed unexpectedly, see the log file gcs_server.out. https://docs.ray.io/en/master/ray-observability/user-guides/configure-logging.html#logging-directory-structure. The program will terminate.
[2025-10-29 22:34:10,978 E 87225 4227072] rpc_client.h:201: Failed to connect to GCS within 60 seconds. GCS may have been killed. It's either GCS is terminated by `ray stop` or is killed unexpectedly. If it is killed unexpectedly, see the log file gcs_server.out. https://docs.ray.io/en/master/ray-observability/user-guides/configure-logging.html#logging-directory-structure. The program will terminate.
[2025-10-29 22:34:10,983 E 87216 4227037] rpc_client.h:201: Failed to connect to GCS within 60 seconds. GCS may have been killed. It's either GCS is terminated by `ray stop` or is killed unexpectedly. If it is killed unexpectedly, see the log file gcs_server.out. https://docs.ray.io/en/master/ray-observability/user-guides/configure-logging.html#logging-directory-structure. The program will terminate.
[2025-10-29 22:34:10,983 E 87221 4227010] rpc_client.h:201: Failed to connect to GCS within 60 seconds. GCS may have been killed. It's either GCS is terminated by `ray stop` or is killed unexpectedly. If it is killed unexpectedly, see the log file gcs_server.out. https://docs.ray.io/en/master/ray-observability/user-guides/configure-logging.html#logging-directory-structure. The program will terminate.These messages indicate there is still some process hanging around after the Gym process is killed. I've tried adding ray.shutdown everywhere but it doesn't work.
Steps/Code to reproduce bug
Need to repro it properly
Expected behavior
Configs
Environment details
Additional context
Metadata
Metadata
Assignees
Labels
No labels
Activity