Microsoft Assessment and Planning (MAP) Toolkit Team Blog

An agentless inventory, assessment, and reporting tool that can securely assess IT environments for various platform migrations— including Windows 8, Office 2013 and 365, Windows Server 2012, Hyper-V, Windows Azure, and Microsoft SQL Server 2012

MAP Toolkit may cause network saturation or machine to reboot

MAP Toolkit may cause network saturation or machine to reboot

  • Comments 2
  • Likes

Symptom:

Under some machine and network environments, the MAP Toolkit may cause the network to become saturated with activity and cause the machine running the MAP Toolkit to reboot.

Cause:

The MAP Toolkit has the ability to throttle itself on the machine that it is running on, to prevent the available resources from being fully consumed. The MAP Toolkit does not throttle itself based on the network availability. Therefore, in some cases it is possible for the MAP Toolkit to request more information from the target machines that cannot be handled by the network. When this happens, the network becomes saturated and the machine running MAP may reboot.

We continue to investigate the root cause of this issue. The appears to be in Windows Management Instrument (WMI), a Windows component that is used by the MAP Toolkit when inventorying an environment. A hotfix for Windows looks to help the situation. If applying this hotfix does not help, take a look at the workaround below. If both the hotfix and workaround does not help, please contact us at mapfdbk@microsoft.com, so we can investigate the issue with you.

Workaround:

You can use the method below to throttle the MAP Toolkit further to use less system and network resources. If this workaround does not solve the problem, please email us at the address provided in the support section.

  1. Shutdown MAP if it is running/li>
  2. Edit the %Program Files%\Microsoft Assessment and Planning Toolkit\bin\Microsoft.AssessmentPlatform.UI.Console.exe.config file and add the following lines into the “<appSettings>” section. These values in the first and second lines can be adjusted up or down as needed to maximize the performance while maintaining system stability, but these values must be greater than 3.

Edit: As of MAP 9.0, the file name has changed to MapToolkit.exe.config

<add key="Microsoft.AssessmentPlatform.InventoryEngine.InventoryService.DefaultMaxThreadsX86" value="52" />
<add key="Microsoft.AssessmentPlatform.InventoryEngine.InventoryService.DefaultMaxThreads" value="52" />
<add key="Microsoft.AssessmentPlatform.InventoryEngine.InventoryService.DefaultMinThreads" value="3" />
<add key="Microsoft.AssessmentPlatform.InventoryEngine.InventoryService.MaxThreadsLowerBound" value="2" />

NOTES:

  • The first two lines will set the maximum number of machines to inventory at the same time. You can adjust the maximum value up or down as needed to maximize the performance while maintaining system stability, but these values must be greater than 3. Changing these values may increase the inventory time.
  • The third line sets the minimum number of threads that MAP will use, changing this value is NOT recommended.

Support:

More information is always useful, so if you would like to help us gather more data, please send us an email at mapfdbk@microsoft.com and reference this post.

Comments
  • <p>I am glad I found this blog. &nbsp;I have been fighting this issue ever since I installed the MAP Toolkit 3 weeks ago (v6.5.4228.0). &nbsp;The application crashes in such a way that the computer instantly reboots without any warning. &nbsp;However, in my experience, it always crashes at the same point in the inventory process. &nbsp;As soon as the last computer is inventoried and just before the assessment phase the computer crashes and reboots.</p> <p>I tried to install the hotfix but got the error message &quot;The update is not applicable to your computer.&quot;</p> <p>I also added the lines to the config file, described in your Workaround and it made no difference. &nbsp;I set DefaultMaxThreadsX86 and DefaultMaxThreads to 10 and it still crashed at the same place.</p> <p>I am running Windows Server 2008 R2 Std SP1</p> <p>Captured below are the relevant Event Log entries.</p> <p>Faulting application name: svchost.exe, version: 6.1.7600.16385, time stamp: 0x4a5bc3c1</p> <p>Faulting module name: ntdll.dll, version: 6.1.7601.17725, time stamp: 0x4ec4aa8e</p> <p>Exception code: 0xc0000005</p> <p>Fault offset: 0x000000000002baad</p> <p>Faulting process id: 0x294</p> <p>Faulting application start time: 0x01cd431aa388b5ce</p> <p>Faulting application path: C:\Windows\system32\svchost.exe</p> <p>Faulting module path: C:\Windows\SYSTEM32\ntdll.dll</p> <p>Report Id: 5510ed76-af37-11e1-bbfa-000c29f7e468</p> <p>Fault bucket , type 0</p> <p>Event Name: APPCRASH</p> <p>Response: Not available</p> <p>Cab Id: 0</p> <p>Problem signature:</p> <p>P1: svchost.exe</p> <p>P2: 6.1.7600.16385</p> <p>P3: 4a5bc3c1</p> <p>P4: ntdll.dll</p> <p>P5: 6.1.7601.17725</p> <p>P6: 4ec4aa8e</p> <p>P7: c0000005</p> <p>P8: 000000000002baad</p> <p>P9: </p> <p>P10: </p> <p>Attached files:</p> <p>C:\Windows\ServiceProfiles\NetworkService\AppData\Local\Temp\WERED76.tmp.appcompat.txt</p> <p>C:\Windows\ServiceProfiles\NetworkService\AppData\Local\Temp\WEREDC6.tmp.WERInternalMetadata.xml</p> <p>C:\Windows\ServiceProfiles\NetworkService\AppData\Local\Temp\WEREDC7.tmp.hdmp</p> <p>C:\Windows\ServiceProfiles\NetworkService\AppData\Local\Temp\WERF21D.tmp.mdmp</p> <p>These files may be available here:</p> <p>C:\ProgramData\Microsoft\Windows\WER\ReportQueue\AppCrash_svchost.exe_e7cb50667080124af85d482bf2a6ef746dda79_cab_02dbf297</p> <p>Analysis symbol: </p> <p>Rechecking for solution: 0</p> <p>Report Id: 5510ed76-af37-11e1-bbfa-000c29f7e468</p>

Your comment has been posted.   Close
Thank you, your comment requires moderation so it may take a while to appear.   Close
Leave a Comment