Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
Yes. This error is consistent with App Service plan/VM-level contention, not only an app-level session visible in Kudu.
Azure App Service allows only one profiling session at a time per VM. That limit is enforced across all apps and deployment slots in the same App Service plan. It applies to sessions started from Diagnose and solve problems, Kudu, and Application Insights Profiler for .NET. If another session is already running on the same VM, the profiler can fail to start and log errors such as:
-
Microsoft.ServiceProfiler.Exceptions.TooManyETWSessionException -
StartProfiler failed ... HRESULT: 0xE111005E
A visible absence of an active session in the Kudu UI for this app does not rule out contention from another app or slot sharing the same plan/VM.
Additional non-destructive checks from the customer side:
- Check whether other apps or deployment slots share the same App Service plan.
- Running slots also participate in profiler contention.
- If unused slots exist, stop them.
- Disable Profiler on apps that do not need profiling.
- This reduces contention and log noise.
- If profiling is enabled on staging slots, consider temporarily disabling it during deployments or slot swaps.
- Slot activity can trigger concurrent sessions.
- Open the Diagnostic Services site extension status page.
- In Azure portal, open the App Service.
- Select Advanced Tools > Go.
- In the Kudu site, append
/DiagnosticServicesto the URL. - Review installation state and any unexpected error shown for the .NET Profiler or Snapshot Debugger agents.
- If needed, stop the
ApplicationInsightsProfiler3WebJob for the specific app instance.- In Azure portal, go to the App Service.
- Under Settings, select WebJobs.
- Select
ApplicationInsightsProfiler3. - Select Stop and confirm.
- If the app is on a shared or free App Service plan, Profiler is not supported there. Use at least a Basic plan.
If the issue persists after checking shared apps/slots and the Diagnostic Services status page, the supported mitigation in the documentation is to reduce VM sharing pressure:
- Move some web apps to a different App Service plan.
- Stop unused deployment slots.
- Disable Profiler where it is not needed.
The provided documentation does not describe a customer-side action to clear a platform-side stuck profiling lock beyond those checks and mitigations.
References: