# Too many actors cause worker is done

**URL:** <https://discuss.ray.io/t/too-many-actors-cause-worker-is-done/22716>\
**Category:** Ray Core\
**Created:** [June 23, 2025, 12:33pm UTC](https://discuss.ray.io/t/too-many-actors-cause-worker-is-done/22716 "2025-06-23T12:33:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Zrant\_Andrew](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ray.io/zrant_andrew/32/4734_2.png) [@Zrant\_Andrew](https://discuss.ray.io/u/Zrant_Andrew)\
**Post date:** [June 23, 2025, 12:33pm UTC](https://discuss.ray.io/t/too-many-actors-cause-worker-is-done/22716/1 "2025-06-23T12:33:25Z")

</div>

**1. Severity of the issue: (select one)**  
Medium: Significantly affects my productivity but can find a workaround.

**2. Environment:**

- Ray version: 2.40
- Python version: 3.10

**3. What happened vs. what you expected:**

- Actual:  
My ray worker node is configured with 6 CPUs, and the actor’s num\_cpu is set to 0.01. Although this setting is not reasonable, this actor hardly requires CPU resources, so it is set relatively small. Theoretically, 600 actors can be scheduled. However, an error occurred when 200 actors were scheduled, saying “failed to lease a worker”. It shows that the node resources are insufficient. At this time, the CPU of this worker is fully utilized, and even CPU throttling occurs frequently. The memory is approximately at 94% of the water level. What could be the problem here?

29ac6bad29a5b035a7c56f402f61d82af56d2894b73ea9d32d4a8c10 with address: 10.66.147.247. This could be a result of using a large number of actors, or due to tasks blocked in ray.get() calls (see [Ray starts too many workers (and may crash) when using nested remote functions. · Issue #3644 · ray-project/ray · GitHub](https://github.com/ray-project/ray/issues/3644) for some discussion of workarounds).

 ![image](https://us1.discourse-cdn.com/flex020/uploads/ray/original/2X/5/5facc8ed4ecd2d699453c08ae3b14947644de000.jpeg)  
What could be the reason for this? It seems that the error is not very clear.

---

<div class="post-metadata">

**Author:** ![eoakes](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ray.io/eoakes/32/7825_2.png) [@eoakes](https://discuss.ray.io/u/eoakes)\
**Post date:** [July 8, 2025, 2:23pm UTC](https://discuss.ray.io/t/too-many-actors-cause-worker-is-done/22716/2 "2025-07-08T14:23:51Z")

</div>

Hi @Zrant_Andrew, you can use `ray.available_resources()` and `ray.nodes()` to see the current logical resource usage and availability while the workload is running. That might provide some clarity on what the actors are not able to be scheduled.
