Error 2912 No more threads<p> <p>Hi folks,</p> <p align=left> </p> <p align=left>Is this a known error? One of my hosts is showing as &quot;Needs Attention&quot; with this error alongside the Refresh Host - System Job Command:</p> <p align=left> <p align=left><font color="#3366ff">Error (2912)</font></p> <p align=left><font color="#3366ff">An internal error has occurred trying to contact an agent on the hyperv1.ms.domain.local server. </font></p> <p align=left><font color="#3366ff">(No more threads can be created in the system (0x800700A4)) </font></p><b> <p align=left><font color="#3366ff">Recommended Action</font></p></b> <p align=left><font color="#3366ff">Ensure the agent is installed and running. Ensure the WS-Management service is installed and running, then restart the agent.</font></p> <p align=left> </p> <p align=left>There's no pattern as to when I get this show up in the VMM console, whether the console is on my local workstation on or the VMM08 server. The host in question is a Server 2008 Enterprise box with 8 CPU cores, 20GB RAM, 300GB disk ... no errors in the event logs on either the host or VMM server.</p> <p align=left> </p> <p align=left>I've seen that error (0x800700A4) in Google searches, but don't see any circumstances which can possible relate to this environment. If I stop the WinRM service, which stops the VMM Agent, then restart the WMI service (and all the dependent services) then start VMM, it shows up just fine. The HyperV and VMM servers are fully patched.</p> <p align=left> </p> <p align=left>Any clues?</p> <p align=left> </p> <p align=left>Thanks</p> <p align=left>Tony</p> <p align=left> </p> <p align=left> </p> <p align=left> </p> <p></p> <p align=left></p>© 2009 Microsoft Corporation. All rights reserved.Mon, 16 Feb 2009 15:46:53 Zac48fd59-3de9-4191-8466-25bedee3f5b1http://social.technet.microsoft.com/Forums/en-US/virtualmachinemanager/thread/ac48fd59-3de9-4191-8466-25bedee3f5b1#ac48fd59-3de9-4191-8466-25bedee3f5b1http://social.technet.microsoft.com/Forums/en-US/virtualmachinemanager/thread/ac48fd59-3de9-4191-8466-25bedee3f5b1#ac48fd59-3de9-4191-8466-25bedee3f5b1Tony Fowliehttp://social.technet.microsoft.com/Profile/en-US/?user=Tony%20FowlieError 2912 No more threads<p> <p>Hi folks,</p> <p align=left> </p> <p align=left>Is this a known error? One of my hosts is showing as &quot;Needs Attention&quot; with this error alongside the Refresh Host - System Job Command:</p> <p align=left> <p align=left><font color="#3366ff">Error (2912)</font></p> <p align=left><font color="#3366ff">An internal error has occurred trying to contact an agent on the hyperv1.ms.domain.local server. </font></p> <p align=left><font color="#3366ff">(No more threads can be created in the system (0x800700A4)) </font></p><b> <p align=left><font color="#3366ff">Recommended Action</font></p></b> <p align=left><font color="#3366ff">Ensure the agent is installed and running. Ensure the WS-Management service is installed and running, then restart the agent.</font></p> <p align=left> </p> <p align=left>There's no pattern as to when I get this show up in the VMM console, whether the console is on my local workstation on or the VMM08 server. The host in question is a Server 2008 Enterprise box with 8 CPU cores, 20GB RAM, 300GB disk ... no errors in the event logs on either the host or VMM server.</p> <p align=left> </p> <p align=left>I've seen that error (0x800700A4) in Google searches, but don't see any circumstances which can possible relate to this environment. If I stop the WinRM service, which stops the VMM Agent, then restart the WMI service (and all the dependent services) then start VMM, it shows up just fine. The HyperV and VMM servers are fully patched.</p> <p align=left> </p> <p align=left>Any clues?</p> <p align=left> </p> <p align=left>Thanks</p> <p align=left>Tony</p> <p align=left> </p> <p align=left> </p> <p align=left> </p> <p></p> <p align=left></p>Mon, 15 Sep 2008 17:42:13 Z2008-09-22T18:24:00Zhttp://social.technet.microsoft.com/Forums/en-US/virtualmachinemanager/thread/ac48fd59-3de9-4191-8466-25bedee3f5b1#be74438b-ba27-4aef-830f-b5144e61767dhttp://social.technet.microsoft.com/Forums/en-US/virtualmachinemanager/thread/ac48fd59-3de9-4191-8466-25bedee3f5b1#be74438b-ba27-4aef-830f-b5144e61767dMatthew Mattoonhttp://social.technet.microsoft.com/Profile/en-US/?user=Matthew%20MattoonError 2912 No more threads<p align=left><font face=Arial size=2>Hi Tony,</font></p> <p align=left> </p> <p align=left>This sounds like it could be related to performance, how does your performance on the box look?  Occasionally WinRM will not be able to get any traction if the box is overloaded.  Based on the specs you described the likely candidate is your disk.  Can you please describe how your disks are configured.  The second possibility would be your network.  And third being your processor.</p> <p align=left> </p> <p align=left>-matt</p>Mon, 15 Sep 2008 18:41:49 Z2008-09-15T18:41:49Zhttp://social.technet.microsoft.com/Forums/en-US/virtualmachinemanager/thread/ac48fd59-3de9-4191-8466-25bedee3f5b1#85db3a3e-d460-43af-bd5f-2c6015597f1fhttp://social.technet.microsoft.com/Forums/en-US/virtualmachinemanager/thread/ac48fd59-3de9-4191-8466-25bedee3f5b1#85db3a3e-d460-43af-bd5f-2c6015597f1fTony Fowliehttp://social.technet.microsoft.com/Profile/en-US/?user=Tony%20FowlieError 2912 No more threads<p align=left><font face=Arial size=2>Hi Matt,</font></p> <p align=left> </p> <p align=left>Thanks for the note.</p> <p align=left> </p> <p align=left>Performance on the box is good - ran performance logging on it for the week last week, and there aren't any bottlenecks.</p> <p align=left> </p> <p align=left>2 x Quad 2.8GHz Xeon CPUs</p> <p align=left>20GB ECC RAM</p> <p align=left>2 x 72GB 15k RPM SCSI U320 Disks as RAID1 for O/S</p> <p align=left>6 x 72GB 15k RPM SCSI U320 Disks as RAID5 plus Hot Spare for Data</p> <p align=left>4 x 1Gbps NICs</p> <p align=left>Roles: Hyper-V</p> <p align=left>Features: SNMP </p> <p> </p> <p align=left>The five virtual machines on this host are extremely low priority machines - one development server, two developer test servers, one depreciated server running Lyris list manager, and one server with WSS3.0 for an IT blog which doesn't even get one post per day.</p> <p align=left>The five VMs have one CPU assigned each, and as a whole they use 6.5GB of RAM total. 215GB of the 340GB hard drive space is available. All five of these VMs were migrated from a smaller server running Virtual Server 2005.</p> <p align=left> </p> <p align=left>Obviously with SCVMM08 being beta we wouldn't be managing any major servers with it, and I'm hoping this is something we can get sorted by the RTM version (like the frequent console crashes, etc), because I *really* like SCVMM08!</p> <p> </p> <p align=left>Further thoughts? Appreciate the help.</p> <p align=left> </p> <p align=left>Thanks</p> <p align=left>Tony</p> <p align=left> </p>Mon, 15 Sep 2008 20:02:04 Z2008-09-15T20:02:04Zhttp://social.technet.microsoft.com/Forums/en-US/virtualmachinemanager/thread/ac48fd59-3de9-4191-8466-25bedee3f5b1#45f68b41-3cef-4123-b888-a225228e7130http://social.technet.microsoft.com/Forums/en-US/virtualmachinemanager/thread/ac48fd59-3de9-4191-8466-25bedee3f5b1#45f68b41-3cef-4123-b888-a225228e7130Matthew Mattoonhttp://social.technet.microsoft.com/Profile/en-US/?user=Matthew%20MattoonError 2912 No more threads<font size=2><span style="font-family:Arial">Hi Tony,<br><br>You shouldn't be seeing any performance issues.  How are the 4 x 1GB interfaces configured?  Are you doing any teaming, are you splitting the load over them?  How is all that handled?<br><br>Other than that it looks like it might just be saturation of the protocol.  Are you seeing the WinRM (WS-Managment) service failing or restarting?<br><br>-matt<br></span></font>Mon, 15 Sep 2008 20:13:13 Z2008-09-15T20:13:13Zhttp://social.technet.microsoft.com/Forums/en-US/virtualmachinemanager/thread/ac48fd59-3de9-4191-8466-25bedee3f5b1#3c4e560b-72e8-4fbe-bee6-4a6a7161bad7http://social.technet.microsoft.com/Forums/en-US/virtualmachinemanager/thread/ac48fd59-3de9-4191-8466-25bedee3f5b1#3c4e560b-72e8-4fbe-bee6-4a6a7161bad7Tony Fowliehttp://social.technet.microsoft.com/Profile/en-US/?user=Tony%20FowlieError 2912 No more threads<p>Hi again Matt,</p> <p align=left> </p> <p align=left>The four NICs have have been teamed using 802.3ad, with their TOE and Large Send Offload disabled. The performance of the VMs themselves has been stellar when users have been connected, and I never see the WMI or WinRM services indicating any kind of error.</p> <p align=left><font face=Arial size=2></font> </p> <p align=left>The thing that's odd is that I have another server with the lower hardware levels (16GB, 8CPU, 200GB Disk, 2x1Gbps), six busier VMs, and not a single problem with it.</p> <p align=left> </p> <p align=left>Thanks</p> <p align=left>Tony</p> <p align=left> </p>Mon, 15 Sep 2008 20:56:26 Z2008-09-15T20:56:26Zhttp://social.technet.microsoft.com/Forums/en-US/virtualmachinemanager/thread/ac48fd59-3de9-4191-8466-25bedee3f5b1#f775924c-a27e-48e1-9b55-396a97fe61e5http://social.technet.microsoft.com/Forums/en-US/virtualmachinemanager/thread/ac48fd59-3de9-4191-8466-25bedee3f5b1#f775924c-a27e-48e1-9b55-396a97fe61e5Matthew Mattoonhttp://social.technet.microsoft.com/Profile/en-US/?user=Matthew%20MattoonError 2912 No more threads<font size=2><span style="font-family:Arial">Hi Tony,<br><br>I am sorry I was not being clear (I am a bit scatter-brained today).  When I said that it looks like it might be the WS-Managment WinRM protocol that is saturating it I meant on the SCVMM server, not the VM host.  Can you describe your hardware on your SCVMM server as well as your environment - including how many hosts, how many VMs etc.<br><br><br>-matt<br></span></font>Mon, 15 Sep 2008 21:05:01 Z2008-09-15T21:05:01Zhttp://social.technet.microsoft.com/Forums/en-US/virtualmachinemanager/thread/ac48fd59-3de9-4191-8466-25bedee3f5b1#2041226f-b5ce-44cb-9c19-9f9c795d06a3http://social.technet.microsoft.com/Forums/en-US/virtualmachinemanager/thread/ac48fd59-3de9-4191-8466-25bedee3f5b1#2041226f-b5ce-44cb-9c19-9f9c795d06a3Tony Fowliehttp://social.technet.microsoft.com/Profile/en-US/?user=Tony%20FowlieError 2912 No more threads<p align=left><font face=Arial size=2>Hi Matt,</font></p> <p align=left> </p> <p align=left>Ah! No problem.</p> <p align=left> </p> <p align=left>The SCVMM server is virtual, and living on the host that is <strong>not</strong> having this problem. The SCVMM server is single processor, 2GB RAM, 2 x 60GB virtual disks, 1 x FE NIC.</p> <p align=left>The event log for the SCVMM server show no errors or warnings related to WinRM, WMI, VMM - except VMM service crashes as sometimes happen (the service is set to restart on failure).</p> <p align=left>We have a total of 2 hosts and 11 VMs. All VMs at this point in time are development, testing, or lab orientated, in other words only a handful of users each at any given time.</p> <p align=left> </p> <p align=left>Thanks</p> <p align=left>Tony</p> <p align=left> </p>Mon, 15 Sep 2008 21:23:21 Z2008-09-15T21:23:21Zhttp://social.technet.microsoft.com/Forums/en-US/virtualmachinemanager/thread/ac48fd59-3de9-4191-8466-25bedee3f5b1#6623aaac-c9ed-483f-82bf-50f1c2d517d5http://social.technet.microsoft.com/Forums/en-US/virtualmachinemanager/thread/ac48fd59-3de9-4191-8466-25bedee3f5b1#6623aaac-c9ed-483f-82bf-50f1c2d517d5Tony Fowliehttp://social.technet.microsoft.com/Profile/en-US/?user=Tony%20FowlieError 2912 No more threads<p align=left><font face=Arial size=2></font> </p> <p>One other thing ... if it's the SCVMM server that's having the issue, how come restarting WinRM/WMI/HyperV on the problem server clears up the status? Hm.</p> <p align=left> </p> <p align=left>Thanks</p> <p align=left>Tony</p> <p align=left> </p>Mon, 15 Sep 2008 21:26:40 Z2008-09-15T21:26:40Zhttp://social.technet.microsoft.com/Forums/en-US/virtualmachinemanager/thread/ac48fd59-3de9-4191-8466-25bedee3f5b1#49091b0d-a363-404a-a265-125b1b72e7cahttp://social.technet.microsoft.com/Forums/en-US/virtualmachinemanager/thread/ac48fd59-3de9-4191-8466-25bedee3f5b1#49091b0d-a363-404a-a265-125b1b72e7caMatthew Mattoonhttp://social.technet.microsoft.com/Profile/en-US/?user=Matthew%20MattoonError 2912 No more threads<font size=2><span style="font-family:Arial">Hi Tony,<br><br>Can you reproduce the issue?  In other words does this happen only on certain actions?<br>Also please describe the hardware on the host behind the VMM server?<br>How does the CPU on the SCVMM server as far as utilization look?<br><br>-matt<br></span></font>Mon, 15 Sep 2008 21:55:59 Z2008-09-15T21:55:59Zhttp://social.technet.microsoft.com/Forums/en-US/virtualmachinemanager/thread/ac48fd59-3de9-4191-8466-25bedee3f5b1#678cdbcd-0c5b-4f17-9ef6-de63faf46e39http://social.technet.microsoft.com/Forums/en-US/virtualmachinemanager/thread/ac48fd59-3de9-4191-8466-25bedee3f5b1#678cdbcd-0c5b-4f17-9ef6-de63faf46e39Tony Fowliehttp://social.technet.microsoft.com/Profile/en-US/?user=Tony%20FowlieError 2912 No more threads<p>Good morning Matt, and thanks for your continued assistance.</p> <p align=left> </p> <p align=left>I can't reproduce the issue at will, as I don't know what triggers it. For example three times yesterday when I started the VMM console the server showed up as Needing Attention, but just now when I opened the console for the first time this morning the server shows as OK.</p> <p align=left> </p> <p align=left>The host the VMM server is on is a 2 x Quad Core 2.8GHz, 12GB RAM, 400GB HDD, Dual Gb NICs, fairly quiet VMs.</p> <p align=left> </p> <p align=left>I'll run a performance trace on the SCVMM server this morning and email back in four hours to let you know about the CPU.</p> <p align=left> </p> <p align=left>Thanks</p> <p align=left>Tony</p> <p align=left> </p> <p align=left><font face=Arial size=2></font> </p>Tue, 16 Sep 2008 13:05:35 Z2008-09-16T13:05:35Zhttp://social.technet.microsoft.com/Forums/en-US/virtualmachinemanager/thread/ac48fd59-3de9-4191-8466-25bedee3f5b1#4fab9f4a-37ec-42c2-a069-13de6351989fhttp://social.technet.microsoft.com/Forums/en-US/virtualmachinemanager/thread/ac48fd59-3de9-4191-8466-25bedee3f5b1#4fab9f4a-37ec-42c2-a069-13de6351989fMatthew Mattoonhttp://social.technet.microsoft.com/Profile/en-US/?user=Matthew%20MattoonError 2912 No more threads<font size=2><span style="font-family:Arial">Hi Tony,<br><br>What happens when you force a VMHost-Refresh on that host?  Do you know how to use powershell?<br><br>-matt<br></span></font>Tue, 16 Sep 2008 16:40:06 Z2008-09-16T16:40:06Zhttp://social.technet.microsoft.com/Forums/en-US/virtualmachinemanager/thread/ac48fd59-3de9-4191-8466-25bedee3f5b1#d5c09efb-0f5e-4eba-ba03-3cde7bf2869bhttp://social.technet.microsoft.com/Forums/en-US/virtualmachinemanager/thread/ac48fd59-3de9-4191-8466-25bedee3f5b1#d5c09efb-0f5e-4eba-ba03-3cde7bf2869bTony Fowliehttp://social.technet.microsoft.com/Profile/en-US/?user=Tony%20FowlieError 2912 No more threads<p align=left><font face=Arial size=2>Hi Matt,</font></p> <p align=left> </p> <p align=left>CPU usage on the SCVMM server for the last four hours has averaged a little over 1%, with spikes up to 10% usage.</p> <p align=left> </p> <p align=left>When the server is showing as Needs Attention and I try refreshing the host I usually get:</p><span lang=EN> <p><font color="#3366ff">Error (2606)</font></p> <p><font color="#3366ff">Unable to perform the job because one or more of the selected objects are locked by another job. </font></p><b> <p><font color="#3366ff">Recommended Action</font></p></b> <p><font color="#3366ff">To find out which job is locking the object, in the Jobs view, group by Status, and find the running or canceling job for the object. When the job is complete, try again.</font></p></span> <p align=left> </p> <p align=left>But there is no active job listed in the Jobs view.</p> <p> </p> <p align=left>I'm comfortable with PowerShell, but lazy and tend to opt for the UI <img height=19 alt=Smile src="http://forums.microsoft.com/MSDN/emoticons/emotion-1.gif" width=19>  If you have any other suggestions for the next time the machine is in Needs Attention state I'll be happy to try them out.</p> <p align=left> </p> <p align=left>Thanks</p> <p align=left>Tony</p> <p align=left> </p>Tue, 16 Sep 2008 17:17:15 Z2008-09-16T17:17:15Zhttp://social.technet.microsoft.com/Forums/en-US/virtualmachinemanager/thread/ac48fd59-3de9-4191-8466-25bedee3f5b1#ad593af6-6d5d-45bb-bcb2-815981bb1c25http://social.technet.microsoft.com/Forums/en-US/virtualmachinemanager/thread/ac48fd59-3de9-4191-8466-25bedee3f5b1#ad593af6-6d5d-45bb-bcb2-815981bb1c25Tony Fowliehttp://social.technet.microsoft.com/Profile/en-US/?user=Tony%20FowlieError 2912 No more threads<p>And of course this morning there's no &quot;Attention Needed&quot; here either. It's making a liar out of me ...</p> <p align=left> </p> <p align=left><font face=Arial size=2></font> </p>Wed, 17 Sep 2008 12:25:47 Z2008-09-17T12:25:47Zhttp://social.technet.microsoft.com/Forums/en-US/virtualmachinemanager/thread/ac48fd59-3de9-4191-8466-25bedee3f5b1#98bd2f14-fe7c-4039-ba76-e485631c8de1http://social.technet.microsoft.com/Forums/en-US/virtualmachinemanager/thread/ac48fd59-3de9-4191-8466-25bedee3f5b1#98bd2f14-fe7c-4039-ba76-e485631c8de1Matthew Mattoonhttp://social.technet.microsoft.com/Profile/en-US/?user=Matthew%20MattoonError 2912 No more threads<div align=left>Hi Tony,<br><br>I somewhat suspected this. If it is a problem due to saturation of WinRM then it would be caused when multiple jobs are running. You could try starting up multiple host-level jobs, say some creating new vms, cloning, updating properties, attaching iso files, migrating vms. All of these will create management overhead and as such will require communication on the status of the job, if you have any sort of weakness in this area it will become apparent.<br><br>-matt<br></div>Wed, 17 Sep 2008 14:39:23 Z2008-09-22T18:24:00Zhttp://social.technet.microsoft.com/Forums/en-US/virtualmachinemanager/thread/ac48fd59-3de9-4191-8466-25bedee3f5b1#583aa803-ac10-4324-9600-d17b7936ffdahttp://social.technet.microsoft.com/Forums/en-US/virtualmachinemanager/thread/ac48fd59-3de9-4191-8466-25bedee3f5b1#583aa803-ac10-4324-9600-d17b7936ffdaRichard Dixonhttp://social.technet.microsoft.com/Profile/en-US/?user=Richard%20DixonError 2912 No more threads<p>Though I have not found the root cause, but I did find something of a workaround that quickly brings the Hyper V host back to a functional state. </p> <p>When I see the error of : <p>Error (2912)<br>An internal error has occurred trying to contact an agent on the servername.domain.com server. <br>(No more threads can be created in the system (0x800700A4)) <br><b>Recommended Action<br></b>Ensure the agent is installed and running. Ensure the WS-Management service is installed and running, then restart the agent. <p>I go to Services and Restart the &quot;<b>Windows Management Instrumentation</b>&quot; Service. Restarting this services also restarts the following services: (if they are on your server) <ul> <li>Hyper V Virtual Machine Management <li>Virtual Machine Manager Agent <li>Hyper-V Image Management Service <li>Hyper-V Networking Management Service <li>IP Helper <li>EMC PowerPath Service 5.1.2 <li>SMS Agent Host</li></ul> <p>Due to the type of services that are also restarted when doing this, and if the Hyper V host is in production. I would suggest doing this with caution and sending a user awareness notification for the temporary outage. Though the outage is small depending on how long it takes for certain services to start. <p>Because the <b>Hyper-V Image Management Service </b>is restarted. Users will not be able remote control a virtual machine or may be kicked off the VM remote control session. And if you are doing this while TS into the Hyper V host server, you may lose TS connectivity momentarily.</p>Fri, 30 Jan 2009 20:09:13 Z2009-01-30T20:15:50Z