How do you analyze a dump file for high CPU

To analyze a dump file for high CPU usage using WinDbg, you can follow these detailed steps: Set Up Your Environment: Begin by setting up WinDbg and ensuring you have the correct symbol paths configured. Symbols are critical for accurately interpreting the dump file and understanding what each thread and function call represents. .sympath srvC:\Symbolshttp://msdl.microsoft.com/download/symbolsContinue reading “How do you analyze a dump file for high CPU”

How do you configure Windbg

To configure WinDbg, follow these steps: Download and install WinDbg: Download the Debugging Tools for Windows from the Windows SDK and install them. Launch WinDbg: After installation, launch WinDbg from the Start menu or the installation directory. Configure symbol paths: To properly debug and analyze crash dumps, you need to configure the symbol paths. InContinue 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: Install the requests library if you haven’t already: Use the following Python code to call the AML endpoint: Replace https://your-scoring-uri.azurewebsites.net/score with the actual scoring URI of your AML endpoint and your_api_keyContinue 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: Navigate to the Azure portal and sign in. Go to your App Service resource. In the left-hand menu, click on Scale out (App Service plan) under the Settings section. Click on the Enable autoscale button. Provide a nameContinue reading “Configuring Autoscale in Azure”

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: In the Azure portal, navigate to your App Service. Go to the Configuration tab. Under the Application settings section, add or update the following settings: ASPNETCORE_ENVIRONMENT: Set the value to Development or any other non-production environment name. WEBSITE_RUN_FROM_PACKAGE:Continue reading “How to enable stdout logging for a .Net core app using run from 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”

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”

Azure Auto-heal

Azure auto heal is a powerful tool that can be used to mitigate and 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 additionalContinue reading “Azure Auto-heal”