Since I'm running multiple VMs, I think I had my delays a bit short (ie. 5s) which might have caused this particular VM to crash. Will have to extend the delay.AllenL wrote:Hi,
I am running two WinXP guest on XP host for 1-2 weeks already. I use the VBoxVmService to start the machine every morning when the physical PC is started. I noticed that one of the VMs is not starting up properly every once in awhile. There was a time when it did not startup and I issued the stop command from VBoxVmService and opened it with VBox GUI (I guess in saved state or whatever state is was in). In the GUI, this guest did not boot so I forced the shutoff of the machine and restarted it and which it did.
I used the "savestate" function with the VBoxVmService instead of "poweroff". Does issuing the savestate function cause the non-startup of this guest VM?
Yes I did misunderstand Reading between the lines, you mentioned that the PauseShutdown is now global. However, in the VmServiceControl configuration file, there are still PauseShutdown for every VM. Does this mean that we have to place the same value on this parameter for all VMs? Is there a maximum delay time that we can only put here (ex. 60000 possible)?FB2000 wrote:Hi AllenL,
I think you misunderstood the parameter PauseShutdown. It's not the pause before initiate shutdown, but the pause after shutdown is initiated.
For version 2.0 (Red Dragon) and earlier, VM1 will start to shutdown, then waits for 10 secs, then VM0 starts to shutdown, then waits for 5 secs, then service shutdown. But we have a problem for this solution, there is a hard limit on how long a windows service can wait before system reboots. That means if there are multiple VMs all configured to wait for several seconds, some of them might not even get a chance to initiate shutdown before service was forced to shutdown.
This has already been corrected. Please see my reply to andrea at http://forums.virtualbox.org/viewtopic. ... 10#p154773. This change is not released yet but you could checkout from svn to use it.
I'm a bit confused with your statement above. You mentioned that this problem was already corrected but at the end of yor message, you mentioned that: "This change is not released yet but you could checkout from svn to use it." Does this mean that the Red Dragon version I downloaded has not been corrected for global PauseShutdown yet?
Sorry for the ignorance but can you tell me what you mean by "svn"? Thanks!