How do you analyze a dump file for high CPU

To analyze a dump file with WinDbg for high CPU usage, follow these steps: This command will show you the threads with the highest CPU usage at the top of the list. Replace <thread_number> with the actual thread number from the !runaway output. This command will show you the functions and modules involved in theContinue reading “How do you analyze a dump file for high CPU”

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 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

Application Request Routing (ARR) affinity in Azure Web Apps and why it might not be the best choice for certain scenarios. ARR affinity is a feature that enables “sticky sessions” by ensuring that subsequent requests from a client are routed to the same instance of a web app. While this can be useful in someContinue reading “Reasons to avoid ARR affinity in Azure Web apps”

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”

Azure Memory Management and App Service plans

When you create an app in App Service, it is put into an App Service plan. When the app runs, it runs on all the VM instances configured in the App Service plan. If multiple apps are in the same App Service plan, they all share the same VM instances. If you have multiple deploymentContinue reading “Azure Memory Management and App Service plans”