Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to resolve BROKEN stacks in PerfView for 64 bit process on Windows Server 2012 R2

I'm running perfview (just default collection) on a production system where the CPU is spiking to 100% for a couple of minutes strait. I get some useful results however i also get a bunch of BROKEN stacks.

The machine is Windows Server 2012 R2. The application is an exe that get's launched. The application is compiled in .NET 4.0 however the server is running .NET 4.6.1

The perfview help says that these BROKEN stacks for my situation are fixed in Windows 8 (i'm guessing also Windows Server 2012). My dlls are not ngen-ed but i don't think i have to since, well, the problem is fixed in Windows 8

Any thoughts?

like image 901
Mark Avatar asked Mar 21 '16 18:03

Mark


Video Answer


1 Answers

From PerfView Command Line Help:

Usage: PerfView EnableKernelStacks

On X64 machines if you have problems with broken stacks when the code is executing in the kernel, setting this option and rebooting may improve things

like image 64
Pavel Tsybulivskyi Avatar answered Oct 04 '22 16:10

Pavel Tsybulivskyi