Skip to content

Unterminated EtwSessions #897

@fuzolan

Description

@fuzolan

I have an app on IIS. It's a Core Project which runs under .net full framework.
Everything ist fine for some time and after a while a Error about the gc Metrics is thrown

[02:06:20 Warning] Elastic.Apm {SystemTotalCpuProvider} TraceEventSession initialization failed - GC metrics won't be collected System.Runtime.InteropServices.COMException (0x800705AA): Nicht gen�gend Systemressourcen, um den angeforderten Dienst auszuf�hren. (Ausnahme von HRESULT: 0x800705AA) bei System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo) bei Microsoft.Diagnostics.Tracing.Session.TraceEventSession.EnableProvider(Guid providerGuid, TraceEventLevel providerLevel, UInt64 matchAnyKeywords, TraceEventProviderOptions options) bei Elastic.Apm.Metrics.MetricsProvider.GcMetricsProvider.<.ctor>b__15_0()

If I start logman query -ets then multiple sessions are registered:
EtwSessionForCLRElasticApm_c4ec3ef4-a0ec-4728-9f2e-467f0f6c3873 Ablaufverfolgung Wird ausgeführt EtwSessionForCLRElasticApm_ed27d9c7-32d6-4fb6-89d6-1df9c94d1a13 Ablaufverfolgung Wird ausgeführt EtwSessionForCLRElasticApm_bb52852d-149b-4553-9ee4-c919410768d8 Ablaufverfolgung Wird ausgeführt EtwSessionForCLRElasticApm_13b0a9f6-4deb-41d1-93fd-3ae720d25f50 Ablaufverfolgung Wird ausgeführt EtwSessionForCLRElasticApm_af988b00-cf24-4aa2-9f95-323c998ff07f Ablaufverfolgung Wird ausgeführt EtwSessionForCLRElasticApm_b416b7d5-d038-47a1-a9a6-db4eaa82d6c3 Ablaufverfolgung Wird ausgeführt EtwSessionForCLRElasticApm_5a71802d-8e58-4611-abc2-649c658a8b59 Ablaufverfolgung Wird ausgeführt EtwSessionForCLRElasticApm_1b85478c-cee8-4a55-8744-615d60eab5bd Ablaufverfolgung Wird ausgeführt EtwSessionForCLRElasticApm_df4a69c2-a513-4a8e-9bfc-a675147520c8 Ablaufverfolgung Wird ausgeführt EtwSessionForCLRElasticApm_ce828e91-0b60-46d9-a685-90c388521aea Ablaufverfolgung Wird ausgeführt EtwSessionForCLRElasticApm_d09e3f1a-876d-4ee8-a20f-2004671d0f60 Ablaufverfolgung Wird ausgeführt EtwSessionForCLRElasticApm_929b327f-e251-4b08-8d26-8e5d03f03e57 Ablaufverfolgung Wird ausgeführt EtwSessionForCLRElasticApm_2091e548-8a59-452c-ad3e-170bab302aa9 Ablaufverfolgung Wird ausgeführt EtwSessionForCLRElasticApm_bc5e9af9-9f6b-43bd-b58e-006fcdfb50b8 Ablaufverfolgung Wird ausgeführt EtwSessionForCLRElasticApm_733a117d-4686-49ed-a6fe-e5094660b9f5 Ablaufverfolgung Wird ausgeführt EtwSessionForCLRElasticApm_f683fd92-0110-4db4-9659-cf1314102c94 Ablaufverfolgung Wird ausgeführt EtwSessionForCLRElasticApm_0cd42c20-c694-40ff-9a85-343152b6bdff Ablaufverfolgung Wird ausgeführt EtwSessionForCLRElasticApm_48b3f16b-a970-4798-af75-7c2b7abf0460 Ablaufverfolgung Wird ausgeführt EtwSessionForCLRElasticApm_5ae413de-18d4-4e44-a988-076ae2191b7e Ablaufverfolgung Wird ausgeführt EtwSessionForCLRElasticApm_ef80e1d6-cbee-46a5-859d-2ab1fd125e67 Ablaufverfolgung Wird ausgeführt EtwSessionForCLRElasticApm_602e5d76-d36f-418a-9f40-ca0e9d488a50 Ablaufverfolgung Wird ausgeführt

What should I do?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions