myITforum.com

Welcome to myITforum.com Sign in | Join | Help
in Search

Richard's myITforum Blog

“After working at Microsoft for 5 years, I became the go-to-guy on various technologies and felt my focus shifting from SCCM. In my new role at SCCM Expert, I get to solely focus on SCCM 2007,” said Richard Dixon, Sr. Solutions Architect, SCCM Expert.

Virtual Machines found stuck with status "Starting" in Hyper-V- / workaround

Recently I found some of my virtual machines stuck in a starting state. When I right click on the VMs that's stuck in the starting state, I only receive the following options: Connect...; Settings...; Rename... and Help. (screen shot below).

image

I was unable to force Shut down the VM or Stop the VM using the context menus. Even after stopping and restarting all three of the Hyper-V services,

  1. Hyper-V Image Management Service
  2. Hyper-V Networking Management Service
  3. Hyper-V Virtual Machine Management

the VMs are still in the stuck state and still will not stop or continue to start.

I rebooted the Hyper-V server host, and the VMs are stay in the stuck state. I took a look at the Tasks manager to see if I saw either of the services using an abnormal amount of memory or anything out of the ordinary. Nothing really stood out as being strange. But I did notice a series of services running with the name of "vmwp.exe" with the description of Virtual Machine Worker Process. About as many as I had VMs configured on the Hyper-V host. I noticed that most of the processes was consuming around 4,000k to 5,000k of Memory (Private Working Set) or more. But 6 of these processes was only using just about 500k or 600k of memory. This was the exact amount of VMs I had stuck in the starting state.

So I decided to kill one of the processes that was around 500k, and as soon as I did, one of the VMs in the starting state kicked off like it was starting for the first time showing the starting percentage indicator then the VM started and status changed to Running. I didn't get a snap shot of the processes running with low memory for a VM that was stuck in the starting state, but I have posted a snap shot of what I'm referring to below.

Weird! This is how I resolved this issue I had. So hopefully this will help someone else, if anyone else if having this issue, and if so hopefully we'll find the right solution.

image 
Click the Image above to enlarge view.

Comments

 

Cyrebre said:

I had the same problem, I was stuck with a VM in a Stopping state. One of the vmwp.exe process was using constantly 4% of CPU, and when i killed it the VM restarted.

Thanks a lot for this investigation Mr Dixon !

June 10, 2009 2:19 AM
 

rdixon said:

Great. This worked. I've been looking for a resolution to this for some time now.

March 9, 2011 11:42 AM

About rdixon

Certified on every release of SMS/SCCM product and now major focus is on NAP Implementations.

This Blog

Syndication

News

SCCMNAP is a weblog and discussion forum dedicated to sharing, providing and bring together advanced expert knowledge from the technical community information related technologies for System Center Configuration Manager 2007 R2 & Network Access Protection. SCCMNAP shares industry standards and best practices from proven historical experience from mid to large size enterprises. SCCMNAP.COM Secure Your Environment!
Powered by Community Server (Commercial Edition), by Telligent Systems