To analyze a dump file for high CPU usage using WinDbg, you can follow these detailed steps: .sympath srvC:\Symbolshttp://msdl.microsoft.com/download/symbols User Mode TimeThread Time0:10c8 0 days 0:00:15.2182:064c 0 days 0:00:05.7893:0884 0 days 0:00:03.281 Child-SP RetAddr Call Site000000000014e548 00007ff6db12af54 myapp!SomeFunction+0x34000000000014e550 00007ff6db12b12a myapp!AnotherFunction+0x5e000000000014e580 00007ffa7a9b8182 kernel32!BaseThreadInitThunk+0x22000000000014e5b0 0000000000000000 ntdll!RtlUserThreadStart+0x34 OS Thread Id: 0x10c8 (0)Child SP IP Call Site000000000014e548 00007ff6db12af54 MyApp.Program.Main()000000000014e550Continue reading “How do you analyze a dump file for high CPU”
Author Archives: Christoph Corder
SOS symbol file
SOS commands are a set of debugging commands provided by the SOS Debugging Extension (SOS.dll) for use with WinDbg, Visual Studio, and other debuggers. The SOS Debugging Extension helps you debug managed code (C#, VB.NET, F#) by providing information about the internal CLR (Common Language Runtime) environment, such as details about the garbage collector, managedContinue reading “SOS symbol file”
How do you configure Windbg
To configure WinDbg, follow these steps: Replace C:\Symbols with the local directory where you want to store the downloaded symbols. This configuration tells WinDbg to download symbols from the Microsoft Symbol Server and cache them in the specified local directory. For a comprehensive list of WinDbg commands, refer to the WinDbg documentation. Remember that configuringContinue reading “How do you configure Windbg”
How do you call an AML endpoint in Python
To call an Azure Machine Learning (AML) endpoint with Python, you can use the requests library. Here’s an example of how to do this: Replace https://your-scoring-uri.azurewebsites.net/score with the actual scoring URI of your AML endpoint and your_api_key with the API key if your endpoint requires authentication Make sure to format the input data according toContinue reading “How do you call an AML endpoint in Python”
Reasons to avoid ARR affinity in Azure Web apps
ARR (Application Request Routing) affinity is a feature within Azure App Service that enables “sticky sessions” by ensuring that subsequent requests from a client are consistently routed to the same instance of a web application. While this can be advantageous in certain scenarios where session consistency is critical, it’s important to carefully weigh the potentialContinue reading “Reasons to avoid ARR affinity in Azure Web apps”
Configuring Autoscale in Azure
Here’s an example of how to configure autoscaling for an Azure App Service using the Azure portal:
How to enable stdout logging for a .Net core app using run from package
To enable stdout logging for an Azure .NET Core app running from a package, follow these steps: Next, modify your Program.cs file in your .NET Core app to configure the logger: This configuration will enable stdout logging for your Azure .NET Core app running from a package.
Using Auto-Heal to Capture Memory Dumps for Slow Requests
Azure auto heal is a powerful tool that can be used to capture vital information for any issues that may occur with your web applications. Every web app will eventually encounter some kind of issue, slowness, downtimes and the dreaded “intermittent issue”. With auto-heal you can mitigate the problem and even gather additional information toContinue reading “Using Auto-Heal to Capture Memory Dumps for Slow Requests”
Modifying Azure Web.config to capture failed requests
How FREB ( Failed Request Tracing) works: When you enable FREB it will monitor every request and store the information in memory. If the trigger is not hit, it will drop the information stored in memory. When the trigger you have configured is hit (ie 500, .aspx page, ect) it will write the info out toContinue reading “Modifying Azure Web.config to capture failed requests”
Optimizing Cost and Performance with Azure App Service Plans
When you create an app in App Service, it is put into an App Service plan. When the app When you deploy an app within an Azure App Service Plan, it runs across all the Virtual Machine (VM) instances configured in that plan. If you have multiple apps within the same App Service Plan, theyContinue reading “Optimizing Cost and Performance with Azure App Service Plans”