Skip to content

Commit 84f23b7

Browse files
committed
Expand on the Too-Many-Sessions section
1 parent 13ecffe commit 84f23b7

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

articles/azure-monitor/profiler/profiler-troubleshooting.md

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Currently, the only regions that require endpoint modifications are [Azure Gover
2323

2424
Profiler is supported on the [.NET Framework later than 4.6.2](https://dotnet.microsoft.com/download/dotnet-framework).
2525

26-
If your web app is an ASP.NET Core application, it must be running on the [latest supported ASP.NET Core runtime](https://dotnet.microsoft.com/download/dotnet/6.0).
26+
If your web app is an ASP.NET Core application, it must be running on the [latest supported ASP.NET Core runtime](https://dotnet.microsoft.com/download/dotnet/8.0).
2727

2828
## Are you using the right Azure service plan?
2929

@@ -138,11 +138,18 @@ When you configure Profiler, updates are made to the web app's settings. If nece
138138

139139
#### Too many active profiling sessions
140140

141-
You can enable Profiler on a maximum of four web apps that are running in the same service plan. If you have more than four, Profiler might throw the following error:
141+
Only one profiler session at a time is allowed on Azure App Service. This limit is enforced at the VM level across all applications running in an App Service Plan.
142+
This limit applies equally to profiling sessions started via *Diagnose and solve problems*, Kudu and Application Insights Profiler.
143+
If the Application Insights Profiler tries to start a session when another is already running, an error will be logged in the Application Log and also the continuous WebJob log for ApplicationInsightsProfiler3.
142144

143-
`Microsoft.ServiceProfiler.Exceptions.TooManyETWSessionException`
145+
You may see one of the following messages in the logs:
144146

145-
To solve it, move some web apps to a different service plan.
147+
- `Microsoft.ServiceProfiler.Exceptions.TooManyETWSessionException`
148+
- `Error: StartProfiler failed. Details: System.Runtime.InteropServices.COMException (0xE111005E): Exception from HRESULT: 0xE111005E`
149+
150+
The error code 0xE111005E indicates that the maximum number of active profiling sessions has been reached.
151+
152+
To avoid the error, move some web apps to a different service plan or disable the profiler on some of the applications.
146153

147154
#### Deployment error: Directory Not Empty 'D:\\home\\site\\wwwroot\\App_Data\\jobs'
148155

0 commit comments

Comments
 (0)