# High CPU usage detected for python datasource running configuration 3fb4e1a6-fc85-3813-809d-b058de039a37. Restarting

**URL:** <https://community.dynatrace.com/t/high-cpu-usage-detected-for-python-datasource-running-configuration-3fb4e1a6-fc85-3813-809d-b058de039a37-restarting/48665>\
**Category:** Extensions\
**Tags:** python, extensions\
**Created:** [November 1, 2024, 10:57am UTC](https://community.dynatrace.com/t/high-cpu-usage-detected-for-python-datasource-running-configuration-3fb4e1a6-fc85-3813-809d-b058de039a37-restarting/48665 "2024-11-01T10:57:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![RobertDring](https://avatars.discourse-cdn.com/v4/letter/r/ed655f/32.png) [@RobertDring](https://community.dynatrace.com/u/RobertDring)\
**Post date:** [November 1, 2024, 10:57am UTC](https://community.dynatrace.com/t/high-cpu-usage-detected-for-python-datasource-running-configuration-3fb4e1a6-fc85-3813-809d-b058de039a37-restarting/48665/1 "2024-11-01T10:57:54Z")

</div>

We are having high CPU usage on one of our extensions resulting in failed overnight ingestion.&nbsp; What designates higg CPU usage on an extension, and what % is high ?

 ![RobertDring_0-1730458586412.png](https://global.discourse-cdn.com/dynatrace/original/3X/a/5/a57cfe52b6d4103f2b599c64de5db2fead662afe.png)

---

<div class="post-metadata">

**Author:** ![MostafaHussein](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/mostafahussein/32/2785_2.png) [@MostafaHussein](https://community.dynatrace.com/u/MostafaHussein)\
**Post date:** [November 1, 2024, 12:12pm UTC](https://community.dynatrace.com/t/high-cpu-usage-detected-for-python-datasource-running-configuration-3fb4e1a6-fc85-3813-809d-b058de039a37-restarting/48665/2 "2024-11-01T12:12:36Z")

</div>

check the code and see the recursive functions you’ve it may because of infinity recursion or processing big data records without limitation statements or chunking it.

---

<div class="post-metadata">

**Author:** ![Mike\_L](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/mike_l/32/11717_2.png) [@Mike\_L](https://community.dynatrace.com/u/Mike_L)\
**Post date:** [November 1, 2024, 12:43pm UTC](https://community.dynatrace.com/t/high-cpu-usage-detected-for-python-datasource-running-configuration-3fb4e1a6-fc85-3813-809d-b058de039a37-restarting/48665/3 "2024-11-01T12:43:29Z")

</div>

Here is the information about what the limits are for extensions:&nbsp;[About Extensions — Dynatrace Docs](https://docs.dynatrace.com/docs/extend-dynatrace/extensions20/extensions-concepts#ag-performance-profile)
