Timeout for ray.get_actor() function

How severe does this issue affect your experience of using Ray?

  • High: It blocks me to complete my task.

I am creating actors with unique name and lifetime detached. Now sometimes, when I am trying to access it by name, the get_actor call is blocking the functionality (Though actor is alive). Is there any way to add timeout in ray.get_actor() function.

Hi @shyampatel ! The docs say the following:

This method is a sync call and it’ll timeout after 60s. This can be modified by setting OS env RAY_gcs_server_request_timeout_seconds before starting the cluster.

Can you try this out and see if it unblocks you?

Yes, get_actor is being released when I tested separately. Still, I am facing issue in my pipeline so I think there could be some other blocking issues. Thanks for your support.

Hi @shyampatel,

Anything else we can help you on this?

Actually Yes, But trying to reproduce the scenario so that it will be easier to explain. Will take some time and update here.

1 Like