cloudsimplus / cloudsimplus

State-of-the-art Framework 🏗 for Cloud Computing ⛅️ Simulation: a modern, full-featured, easier-to-use, highly extensible 🧩, faster 🚀 and more accurate ☕️ Java 17+ tool for cloud computing research 🎓. Examples: https://github.com/cloudsimplus/cloudsimplus-examples

Home Page:https://cloudsimplus.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Simulation cannot be stopped when there are no available host resources to create a virtual machine

shijili opened this issue · comments

This is not a bug. This is the expected behavior. When there are not enough resources to place a cloudlet to a VM or a VM to a host, the simulation does not end if you do not tell it to do using the terminateAt call. The simulation keeps running and retries to place the VM (or the cloudlet) at the next time event that it is determined using minTimeBetweenEvents.

Thanks, I've prevented this by having an event listener terminate the simulation after a specified time