Opened 11 years ago
Closed 11 years ago
#12858 closed defect (fixed)
VRDP crashing VM => Fixed in SVN
Reported by: | Alexandre Felipe Salgado Figueiredo | Owned by: | |
---|---|---|---|
Component: | host support | Version: | VirtualBox 4.3.8 |
Keywords: | VRDP | Cc: | |
Guest type: | Windows | Host type: | Windows |
Description
Hi,
I´ve being experiencing problems with VBoxSVC when more than 50 VM´s are started, it locks with 13 to 15 % of system resource utilization, and if I try to stop or save one VM, it keeps locking the files preventing to change configurations/restarting the VM. The only way to unlock the files is to stop all VM´s and reboot the Host (killing VBoxSVC after all VM´s down just messes up everything ). I use this environment to test our multiuser application , and I need an environment with 70-80 VM´s running (heterogeneous , with Windows XP, 2003 and 7 as guests ), memory is not an issue, as with all VM´s running I still have 15Gb free on the host.
The host is a Core i7 4870K , with 64Gb of memory running Windows 2012R2 Enterprise. The vhd/vdi files are stored in a RAID 5 array (pretty fast ).
Also starting on Virtual Box 4.3.6 higher, VRDP doesn´t work as expected, when there are multiple people connected it crashes the VM with this log ( actually this log is from version 4.3.8 ) :
Faulting application name: VirtualBox.exe, version: 4.3.8.0, time stamp: 0x530cd30d Faulting module name: VBoxVRDP.DLL, version: 0.0.0.0, time stamp: 0x530cd502 Exception code: 0xc0000005 Fault offset: 0x000000000001e85a Faulting process id: 0x1044 Faulting application start time: 0x01cf41d9afc6f1b3 Faulting application path: C:\Program Files\Oracle\VirtualBox\VirtualBox.exe Faulting module path: C:\Program Files\Oracle\VirtualBox\ExtensionPacks\Oracle_VM_VirtualBox_Extension_Pack\win.amd64\VBoxVRDP.DLL Report Id: f4b24832-b059-11e3-8924-4c72b97cdd2d
Questions :
1- I´ve researched a lot about number of VM´s limitation on Virtual Box and all I found is that it´s limited to the host resources ( or 128 VM´s ). 2- Is this VBoxSVC problem a configuration issue or a “bug” , i´ve not found anything about this behavior on the community 3- Is this VRDP crash problem ( and also huge slowness on 4.3.8 version) a configuration issue , limitation or bug ? 4- What more information I can supply to help figuring out these issues ?
Attachments (19)
Change History (48)
comment:1 by , 11 years ago
by , 11 years ago
Crashed VM Log ( in this log maybe there is some detail to help with the VBoxSVC issue )
comment:2 by , 11 years ago
There were no core dump when the VM Crash occured ( the only memory dump in this host is one about a faulty driver, not related with Virtual Box) , its just an entry on the Windows Application log , the most information i could get it is what is wrote above. The VBox.log of the crashed VM is attached, as i have rolled back to version 4.2.24 the VRDP crash is not heppening anymore, but the VBoxSVC issue with more than 50 VM´s starting still.
comment:3 by , 11 years ago
The attached log is from VBox 4.2.24. I need a log of the VM crash with VBox 4.3.8.
You have to enable crash dumps as described in:
http://msdn.microsoft.com/en-us/library/bb787181%28VS.85%29.aspx
by , 11 years ago
Attachment: | VBox.log.3 added |
---|
comment:4 by , 11 years ago
Sorry .. because i had to roll back to 4.2.24 so i can use the VM´s without random crashes. I´ve attached the log before i made the roll back . I´ve also enabled the crash dumps as described in the link you sent ( Thank you ! ).
I´ll update to 4.3.8 this night and tomorrow for sure we will have the error , then i´ll retrieve the dump and attach here.
( by the way do you have also, any clues about the VBoxSVC behaviour with more than 50 vm´s running ? Or we should treat this as another topic ? )
comment:5 by , 11 years ago
Thanks.
Technically the VBoxSVC issue with 50+ VMs is a different problem and is not related to the VRDP crash.
Please reproduce the 50+ VMs problem with VBox 4.3.8 and attach C:\Users\NAME\.VirtualBox\VBoxSVC.log
comment:6 by , 11 years ago
Ok ! This night, after i update to 4.3.8 again, i´ll start all VM´s , and let it running. Send you the logs as soon as these issues are presented.
by , 11 years ago
Attachment: | Host resorces utilization.JPG added |
---|
Host resources utilization with 71 VM´s started
by , 11 years ago
Attachment: | VBoxSVC CPU Utilization.JPG added |
---|
VBoxSVC CPU utilization with 71 VM´s running
by , 11 years ago
Attachment: | VBoxSVC.log.4.2.24 _ After all VM´s started and saved ( Host being rebooted ).txt added |
---|
VBoxSVC (4.2.24) log before update ( there were more or less 52 VM´s started ) all VM´s were saved. Host rebooted
by , 11 years ago
Attachment: | VBoxSVC_4.3.8 - 71 VMs started.txt.log added |
---|
VBoxSVC after upgrade to 4.3.8 , 71 VM´s started
comment:7 by , 11 years ago
Hi, I´ve just upgraded to 4.3.8 again , 71 VM´s started , the VBoxSVC is "locked" in 13-15% CPU utilization ( some screen shot´s also attached ), the VBoxSVC.log is also attached. I´ve attached also the log of the 4.2.24 version that was also with the VBoxSVC "locked" after i saved all VM´s and restarted the host , there are some error messages in the end.
Anytime now some of the VM´s should crash and i´ll also attach the dump.
Let me know if anything else is needed. Thank you very much for your help !
comment:8 by , 11 years ago
Thanks. Please also attach a new 4.3.8 VBoxSVC.log when you will finish the test. That is when you shutdown all VMs.
comment:9 by , 11 years ago
Hi, i´ve saved all VM´s and restarted the host, there was a VirtualBox.exe fail message (occurred many, many times , i believe one per VM that was on ) , attached the screen shot. Also the VBoxSVC log is attached.
by , 11 years ago
Attachment: | VBoxSVC _ 4.3.8 - Host Reboot.log added |
---|
4.3.8 VBoxSVC after 71 VM´s saved and host being reboot
comment:10 by , 11 years ago
One of the VM´s has just failed ( the VRDP problem ) and the dump was created, it´s attached.
by , 11 years ago
Attachment: | VirtualBox.exe.5436. VRDP Crash Dump.zip added |
---|
Core dump generated by the VRDP failure in one of the running VM
comment:11 by , 11 years ago
I´ve just upgraded to 4.8.10, the VBoxSVC issue remains , when the 51th VM is started it locks on 13-15% CPU utilization.
The VRDP issue has not happened yet; once , and if , it happens, i´ll post the log.
I´ve not seen any references of these issues on the change log of 4.3.10 , but installed anyway.
comment:13 by , 11 years ago
I´ve just updated to the new package of 4.3.10 , so far , 63 VM´s running, VBoxSVC with normal behaviour, no VRDP VM´s crash .
When i started the 64th VM the VBoxSVC presented the issue of consuming 13~15% CPU, before that the service was barelly consuming 1%.
I still watching for VRDP crashe.
by , 11 years ago
Attachment: | VirtualBox.exe.7800.zip added |
---|
comment:16 by , 11 years ago
Thanks. Please also attach the VBox.log of the crash.
Do you know what the VM was doing at the time of the crash? Did it crash at the time when a RDP client was disconnecting?
I've looked at the first dump, it is not yet clear why it crashed.
comment:17 by , 11 years ago
Sure ! I´ve attached the three VBox.log of those three crash dumps, hope this helps.
On all these three crashes we were just internet browsing using Internet Explorer.
On the first crash there were three people connected, one in our local network ( 1Gbps) , another in Argentina ( ~2Mbps ) and other in US ( ~5Mbps ), i can´t tell the exact failure time, when i connected ( i would be the fourth one , connecting through local network ) it was already crashed .
On the last two crashes , there were two people connected ( or connecting , couldn´t tell the exact failure time) but also on different network speeds, one was on the local network ( 1Gbps) , the other is in another in US , connected to our network through a IPSec VPN tunnel ( ~5Mpbs ).
by , 11 years ago
Attachment: | VBox.log _ VirtualBox.exe.5436 .txt added |
---|
by , 11 years ago
Attachment: | VBox.log _ VirtualBox.exe.7240 .txt added |
---|
by , 11 years ago
Attachment: | VBox.log _ VirtualBox.exe.7800 .txt added |
---|
comment:18 by , 11 years ago
Hi ! Me again ... another crash, this time, i got all details.
There were only one user, he logged on the Host, to send the Ctrl+Alt+del to the VM ( it´s a 2003R2 SP2 ) , minimized the VM logged off the host ; logged on the VDRP on the VM, used the VM ( Internet Browsing and a Cisco VPN connection ), and when he logged off, the VM crashed .
Attached, the dump and VBox.log of the VM.
Obs.: Would you like me to keep posting the crashes dump ?
by , 11 years ago
Attachment: | VBox.7424.log.txt added |
---|
by , 11 years ago
Attachment: | VirtualBox.exe.7424.zip added |
---|
comment:19 by , 11 years ago
Complementing ... when i said logged off the VRDP, i meant disconnected ( closed the RDP )
comment:20 by , 11 years ago
Thanks. So most likely the crash happens when a client disconnects.
I think that no more crash dumps are required.
comment:21 by , 11 years ago
Yes, it seems the crash happens when the client disconnect, because no one complaint that the VM crashed while they were using, so i only realize that the VM crashed when i log on the Host.
Now i´ll let you do your "magic" on these, good luck !
comment:22 by , 11 years ago
I think that the crash has been fixed. Please install:
If it still crashes, then please upload a dump and VBox.log of the crash.
comment:23 by , 11 years ago
Excellent ! I´ve just stopped all , restarted the host ( just to be sure it´s all clear ), updated the ExtPack and started the VM´s .
They are in use now... I´m watching them closelly, let you know the results.
comment:24 by , 11 years ago
Hi, so far no VM´s crashed ( kudos to sunlover ) , we´ve being heavilly using them, so if the issue persisted, for sure one of them would have crashed. We almost can call this VRDP crash issue closed ( let it running for more a couple of days, just to be sure ).
But the VBoxSVC lock issue still ... I forgot about it, and created a new VM, after attaching the VHD, the VBox Manager frozen, i´ve killed it and opened a new one, when i tried to change the VM settings, i got this message >
Failed to open a session for the virtual machine Microsoft2.
The machine 'Microsoft2' is already locked for a session (or being unlocked).
Result Code: VBOX_E_INVALID_OBJECT_STATE (0x80BB0007) Component: Machine Interface: IMachine {480cf695-2d8d-4256-9c7c-cce4184fa048}
I´ve saved all running VM´s, but all VirtualBox.exe still running ( but no program shows on the task manager ), i´ve attached both print screen.
Would you like to keep this ticket also to manager this VBoxSVC issue, or once the VRDP crash is fully confirmed as fixed ( i believe it is) , close this ticket and open a new one ?
by , 11 years ago
Attachment: | No VB VM´s running.JPG added |
---|
by , 11 years ago
Attachment: | Many VM´s Process running.JPG added |
---|
comment:25 by , 11 years ago
One more detail, i´ve asked the host to reboot, a Vbox Error popup showed up many times ( it seems one per "lost" running VirtualBox.exe process ) , attached the print screen.
No core dumps were generated.
by , 11 years ago
Attachment: | Vbox Error on Reboot.JPG added |
---|
comment:26 by , 11 years ago
Keywords: | VRDP added; VBoxSVC removed |
---|---|
Summary: | VBoxSVC locks with more than 50 VM`s running on the same host / VRDP crashing VM and slow → VRDP crashing VM |
Thanks for feedback.
Please open a new ticket for the VBoxSVC issue.
comment:27 by , 11 years ago
Hi,
We´ve being using all VM´s intensivelly for the last 4 days, no crashes or other issues related to VRDP.
From my point of view, we can call this issue closed !
Thank you very much for your support.
comment:28 by , 11 years ago
Summary: | VRDP crashing VM → VRDP crashing VM => Fixed in SVN |
---|
Thanks you for the feedback! We will close this ticket once the next VBox maintenance release is released.
Please attach a crash dump for the VRDP crash. See https://www.virtualbox.org/wiki/Core_dump for more info: "User mode crash dumps on Windows Vista and Windows 7" at the end of the page.
Also please attach VBox.log of a crashed VM.