Skip to content

[Bug]: Cannot run more than 61 VMs in parallel — NS_ERROR_FAILURE (0x80004005) #111

Description

@flybugz

Version

7.1.0

Host OS Type

Linux

Host OS name + version

debian 12

Host Architecture

x86

Guest OS Type

Linux

Guest Architecture

x86

Guest OS name + version

debian 12

Component

VBoxManage CLI

What happened?

lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 12 (bookworm)
Release: 12
Codename: bookworm

uname -r
6.1.0-37-amd64

vboxmanage --version
7.1.10r169112

I created a script to generate 100 minimal VMs.
When I try to start them one by one, the situation is always the same:

VM "loadtest-060" has been successfully started. [*] Starting loadtest-061 Waiting for VM "loadtest-061" to power on... VM "loadtest-061" has been successfully started. [*] Starting loadtest-062 Waiting for VM "loadtest-062" to power on... VBoxManage: error: The virtual machine 'loadtest-062' has terminated unexpectedly during startup with exit code 1 (0x1) VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component MachineWrap, interface IMachine [*] Starting loadtest-063 Waiting for VM "loadtest-063" to power on... VBoxManage: error: The virtual machine 'loadtest-063' has terminated unexpectedly during startup with exit code 1 (0x1) VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component MachineWrap, interface IMachine

If I stop loadtest-061, then I can start loadtest-062 without issues.
But I cannot run more than 61 VMs simultaneously. Any attempt to go beyond that results in the VM failing to start with the same error.

I tryed this test on different server with Deb 11 and different vms config, adjusted the ulimits, result the same
Afected versions only above 7.1+, with 7.0.x everything is fine can start 100+ vms without any issues

How can we reproduce this?

I created post on forum
https://forums.virtualbox.org/viewtopic.php?t=113816
download the scripts
setup the Variables
run...

if you need additional information let me know, I have my test env ready

Did you upload all of your necessary log files, screenshots, etc.?

  • Yes, I've uploaded all pertinent files to this issue.

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions