Skip to content

CostsExample1 is in an infinite loop. #31

Closed

Description

@zijie1024

I tried running CostsExample1, and according to the console, the program appears to be in an infinite loop.

Image

Activity

  1. manoelcampos commented on Oct 20, 2026

    @manoelcampos
    Contributor

    Thanks for reporting. The issue was actually in the CloudSim Plus framework, not in the example: when some VMs couldn't be placed and there was a single datacenter, the broker kept retrying to create them right away, ignoring the configured retry delay and max number of retries. It was fixed in cloudsimplus/cloudsimplus#577.

    CostsExample1 was also updated in #37 to disable VM creation retry. This way, users running the example with a previous framework version won't hit the issue.

  2. self-assigned this
    on Oct 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions