# Frequent Nebula Service Hang Issue During VM Lifecycle Stage Changes

**URL:** <https://forum.opennebula.io/t/frequent-nebula-service-hang-issue-during-vm-lifecycle-stage-changes/14307>\
**Category:** Operations\
**Created:** [November 6, 2025, 3:51am UTC](https://forum.opennebula.io/t/frequent-nebula-service-hang-issue-during-vm-lifecycle-stage-changes/14307 "2025-11-06T03:51:05Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Senthil\_Kumar\_M](https://avatars.discourse-cdn.com/v4/letter/s/4bbf92/32.png) [@Senthil\_Kumar\_M](https://forum.opennebula.io/u/Senthil_Kumar_M)\
**Post date:** [November 6, 2025, 3:51am UTC](https://forum.opennebula.io/t/frequent-nebula-service-hang-issue-during-vm-lifecycle-stage-changes/14307/1 "2025-11-06T03:51:05Z")

</div>

Dear Nebula Team,

We have observed that the Nebula service frequently gets stuck during **VM lifecycle stage transitions.**

For example, when more than 20+ actions occur simultaneously s **uch as power-off to running, prolog to boot, or boot to running,** the process often hangs. During this time, the logs stop updating in real time, as seen when running:

**tail -f /var/log/one/\<vm\_id\>.log**

No further log entries are generated until we restart the Nebula service. Once restarted, the logs resume and the VM states begin changing normally again.

This suggests that the Nebula service becomes unresponsive during high-concurrency operations or multiple simultaneous state transitions. Could you please help us understand the root cause of this behavior?

Is this a known limitation or **expected behavior of Nebula,** or can any configuration parameters in **oned.conf** be adjusted to prevent such frequent hangs?

currently I need to restart the Nebula service often to recover from these situations and would appreciate your guidance on achieving a **permanent or configuration-based fix.**

**Thanks & Regards,**

**Senthil Kumar M**

---

<div class="post-metadata">

**Author:** ![brunorro](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/brunorro/32/7590_2.png) [@brunorro](https://forum.opennebula.io/u/brunorro)\
**Post date:** [November 6, 2025, 2:57pm UTC](https://forum.opennebula.io/t/frequent-nebula-service-hang-issue-during-vm-lifecycle-stage-changes/14307/2 "2025-11-06T14:57:45Z")

</div>

Hello,

- Which version of OpenNebula are you running? If it is under 7.0 can you check the scheduler log on `/var/log/one/sched.log`?
- Is the frontend that you are running OpenNebula in also a host (thus, does it run any VM)?

I have not experienced OpenNebula frontend problems for that amount of operations except on environments with very tight resources

Thank you

---

<div class="post-metadata">

**Author:** ![Senthil\_Kumar\_M](https://avatars.discourse-cdn.com/v4/letter/s/4bbf92/32.png) [@Senthil\_Kumar\_M](https://forum.opennebula.io/u/Senthil_Kumar_M)\
**Post date:** [November 7, 2025, 8:57am UTC](https://forum.opennebula.io/t/frequent-nebula-service-hang-issue-during-vm-lifecycle-stage-changes/14307/3 "2025-11-07T08:57:02Z")

</div>

Hello,

Thank you for your response.

1. I am currently using **OpenNebula version 6.4.5**.

2. The **front-end server is not acting as a hypervisor** ; it does not run any virtual machines.

let me know why its happening for me? any suggestions?

---

<div class="post-metadata">

**Author:** ![Senthil\_Kumar\_M](https://avatars.discourse-cdn.com/v4/letter/s/4bbf92/32.png) [@Senthil\_Kumar\_M](https://forum.opennebula.io/u/Senthil_Kumar_M)\
**Post date:** [November 10, 2025, 11:32am UTC](https://forum.opennebula.io/t/frequent-nebula-service-hang-issue-during-vm-lifecycle-stage-changes/14307/4 "2025-11-10T11:32:14Z")

</div>

Hello TEAM,

Any Suggestions?

---

<div class="post-metadata">

**Author:** ![Senthil\_Kumar\_M](https://avatars.discourse-cdn.com/v4/letter/s/4bbf92/32.png) [@Senthil\_Kumar\_M](https://forum.opennebula.io/u/Senthil_Kumar_M)\
**Post date:** [November 11, 2025, 7:03am UTC](https://forum.opennebula.io/t/frequent-nebula-service-hang-issue-during-vm-lifecycle-stage-changes/14307/5 "2025-11-11T07:03:34Z")

</div>

Dear Team,

Your suggestion will help me lot in this issue.

---

<div class="post-metadata">

**Author:** ![brunorro](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/brunorro/32/7590_2.png) [@brunorro](https://forum.opennebula.io/u/brunorro)\
**Post date:** [November 12, 2025, 5:09pm UTC](https://forum.opennebula.io/t/frequent-nebula-service-hang-issue-during-vm-lifecycle-stage-changes/14307/6 "2025-11-12T17:09:57Z")

</div>

Hello again,

Which database are you using? If it is mysql or mariadb can you check if there are slow queries on `/var/log/one/oned.log`?

> **[Database Maintenance — OpenNebula 6.4.7 documentation](https://docs.opennebula.io/6.4/installation_and_configuration/opennebula_services/database.html?highlight=indexes)**

In that case, you can execute the following in the OpenNebula database

```auto
ALTER TABLE vm_pool DROP INDEX ftidx;
ALTER TABLE vm_pool ADD FULLTEXT INDEX ftidx (search_token);

```

Cheers

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex031/uploads/opennebula/original/2X/1/14d66f1130b9cd292905f575da9b68a9f574dd03.png) [@system](https://forum.opennebula.io/u/system)\
**Post date:** [December 12, 2025, 5:10pm UTC](https://forum.opennebula.io/t/frequent-nebula-service-hang-issue-during-vm-lifecycle-stage-changes/14307/7 "2025-12-12T17:10:40Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
