# APM library hangs

**URL:** <https://discuss.elastic.co/t/apm-library-hangs/334333>\
**Category:** APM\
**Tags:** dotnet\
**Created:** [May 25, 2023, 1:36pm UTC](https://discuss.elastic.co/t/apm-library-hangs/334333 "2023-05-25T13:36:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ola\_Bjuremo](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ola_bjuremo/32/121432_2.png) [@Ola\_Bjuremo](https://discuss.elastic.co/u/Ola_Bjuremo)\
**Post date:** [May 25, 2023, 1:36pm UTC](https://discuss.elastic.co/t/apm-library-hangs/334333/1 "2023-05-25T13:36:04Z")

</div>

We are using Elastic APM 1.19.0 in our .Net Framework [asp.net](http://asp.net) web.

Recently we have experienced problems with the APM library hanging with 100% CPU usage.  
All the threads on the web server are stuck on the same place, which is

`Elastic.Apm.Model.Transaction.SetLabel(string key, string value)`

Are there any known improvements within this area?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [June 22, 2023, 1:36pm UTC](https://discuss.elastic.co/t/apm-library-hangs/334333/2 "2023-06-22T13:36:53Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
