# What is "Background threads" and why all PurePath are broken

**URL:** <https://community.dynatrace.com/t/what-is-background-threads-and-why-all-purepath-are-broken/20411>\
**Category:** Open Q&A\
**Tags:** distributed-traces-classic, oneagent\
**Created:** [April 19, 2019, 3:20pm UTC](https://community.dynatrace.com/t/what-is-background-threads-and-why-all-purepath-are-broken/20411 "2019-04-19T15:20:46Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![imoskovko1](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/imoskovko1/32/3573_2.png) [@imoskovko1](https://community.dynatrace.com/u/imoskovko1)\
**Post date:** [April 19, 2019, 3:20pm UTC](https://community.dynatrace.com/t/what-is-background-threads-and-why-all-purepath-are-broken/20411/1 "2019-04-19T15:20:46Z")

</div>

Hello!

Can you explain what is “Background threads” and why all PurePath are broken?

Pic:

 ![20327-2019-04-19-181213.png](https://global.discourse-cdn.com/dynatrace/original/3X/7/8/7837c8302aceb87b4e0a2aa448ab5809f5ba563f.png)

Regards,

Igor

---

<div class="post-metadata">

**Author:** ![JamesKitson](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/jameskitson/32/22460_2.png) [@JamesKitson](https://community.dynatrace.com/u/JamesKitson)\
**Post date:** [April 19, 2019, 7:00pm UTC](https://community.dynatrace.com/t/what-is-background-threads-and-why-all-purepath-are-broken/20411/2 "2019-04-19T19:00:41Z")

</div>

Background activity services are described here: [https://www.dynatrace.com/support/help/shortlink/s…](https://www.dynatrace.com/support/help/shortlink/service-detection#background-activity-services)

Couldn’t tell from a screenshot why you’d be having capture errors, see if there’s any more details there and consider checking with support.

---

<div class="post-metadata">

**Author:** ![rodrigo\_alvare1](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/rodrigo_alvare1/32/1927_2.png) [@rodrigo\_alvare1](https://community.dynatrace.com/u/rodrigo_alvare1)\
**Post date:** [April 19, 2019, 7:51pm UTC](https://community.dynatrace.com/t/what-is-background-threads-and-why-all-purepath-are-broken/20411/3 "2019-04-19T19:51:03Z")

</div>

Hello Igor,

What you are sing there are corrupted purepahts on the process detected as “background process”. Corrupted Purepaths can have different reasons, like:

- Network issues, e.g. data from at least one agent does not arrive on the cluster
- Complexity issues, e.g. too many request attributes or custom service calls captured or timed-out requests

The Purepaths will show everything Oneagent grabbed so you look into what failed.

If it was a call out to some public resource that took too long or a call out to a host/process that was particularly burdened at the time. If you know what process is behind the purepath at the point of corruption, then you might be able to see explanations in the logs about why the subpath was dropped or lead to corruption of the larger path.

Regards

---

<div class="post-metadata">

**Author:** ![imoskovko1](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/imoskovko1/32/3573_2.png) [@imoskovko1](https://community.dynatrace.com/u/imoskovko1)\
**Post date:** [April 19, 2019, 8:28pm UTC](https://community.dynatrace.com/t/what-is-background-threads-and-why-all-purepath-are-broken/20411/4 "2019-04-19T20:28:54Z")

</div>

Frankly i red it and do not understand diff between foreground thread and background one. Would you be so kind to explain.

---

<div class="post-metadata">

**Author:** ![JamesKitson](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/jameskitson/32/22460_2.png) [@JamesKitson](https://community.dynatrace.com/u/JamesKitson)\
**Post date:** [April 22, 2019, 3:51pm UTC](https://community.dynatrace.com/t/what-is-background-threads-and-why-all-purepath-are-broken/20411/5 "2019-04-22T15:51:29Z")

</div>

This msdn post explains it pretty well: [Foreground and Background Threads - .NET | Microsoft Learn](https://docs.microsoft.com/en-us/dotnet/standard/threading/foreground-and-background-threads)

---

<div class="post-metadata">

**Author:** ![imoskovko1](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/imoskovko1/32/3573_2.png) [@imoskovko1](https://community.dynatrace.com/u/imoskovko1)\
**Post date:** [April 22, 2019, 5:24pm UTC](https://community.dynatrace.com/t/what-is-background-threads-and-why-all-purepath-are-broken/20411/6 "2019-04-22T17:24:29Z")

</div>

Kind thanks!

---

<div class="post-metadata">

**Author:** ![imoskovko1](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/imoskovko1/32/3573_2.png) [@imoskovko1](https://community.dynatrace.com/u/imoskovko1)\
**Post date:** [April 23, 2019, 9:11am UTC](https://community.dynatrace.com/t/what-is-background-threads-and-why-all-purepath-are-broken/20411/7 "2019-04-23T09:11:11Z")

</div>

Thank you James. After discussing it with our developers i understud. Do you know why all PurePaths for background thread are captured with error?

---

<div class="post-metadata">

**Author:** ![JamesKitson](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/jameskitson/32/22460_2.png) [@JamesKitson](https://community.dynatrace.com/u/JamesKitson)\
**Post date:** [April 23, 2019, 4:27pm UTC](https://community.dynatrace.com/t/what-is-background-threads-and-why-all-purepath-are-broken/20411/8 "2019-04-23T16:27:03Z")

</div>

No, can’t determine that from a screenshot. I would reach out to Dynatrace ONE or support if drilling into that PurePath doesn’t reveal anything more.
