# High system resources consumption detected for datasources

**URL:** <https://community.dynatrace.com/t/high-system-resources-consumption-detected-for-datasources/40132>\
**Category:** Extensions\
**Tags:** snmp, extensions\
**Created:** [June 8, 2023, 8:52pm UTC](https://community.dynatrace.com/t/high-system-resources-consumption-detected-for-datasources/40132 "2023-06-08T20:52:37Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![AntonioSousa](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antoniosousa/32/50_2.png) [@AntonioSousa](https://community.dynatrace.com/u/AntonioSousa)\
**Post date:** [June 8, 2023, 8:52pm UTC](https://community.dynatrace.com/t/high-system-resources-consumption-detected-for-datasources/40132/1 "2023-06-08T20:52:37Z")

</div>

I have an environment with ActiveGates that are used mainly for extensions v2, with SNMP & traps. Lots of them…

I’m trying to optimize the number of AGs, but as I reduce them, I bump into these SFM logs:

- High system resources consumption detected for datasources (hard limit). Rejecting configuration ef008f30-b5c2-33d1-ad87-9020f3c892a8
- Failed to assign monitoring configuration to ActiveGate. Reason: High system resources consumption detected for datasources (soft limit)

Now, monitoring the dsfm metrics, I don’t see high CPU usage, nor memory. JVM heap memory and CPU doesn’t seem very different before/after changes…

How would I discover which resource is most being needed, so I can eventually give it more? CPU? Memory?

---

<div class="post-metadata">

**Author:** ![AntonioSousa](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antoniosousa/32/50_2.png) [@AntonioSousa](https://community.dynatrace.com/u/AntonioSousa)\
**Post date:** [June 8, 2023, 9:23pm UTC](https://community.dynatrace.com/t/high-system-resources-consumption-detected-for-datasources/40132/2 "2023-06-08T21:23:04Z")

</div>

I forgot to say that the ActiveGates are already in “High limits” for their performance profile.

In the meantime, I also discovered this page,

> **[Dedicated performance profile configuration](https://docs.dynatrace.com/docs/ingest-from/extensions/advanced-configuration/dedicated-performance-profile)**
>
> Configure the dedicated performance profile mode to optimize the performance of your ActiveGate host.

that has a neat custom.properties example for disabling things that might not be needed.

I also can’t go for “Dedicated limits” because I also need extensions v1…

---

<div class="post-metadata">

**Author:** ![jegron](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/jegron/32/12797_2.png) [@jegron](https://community.dynatrace.com/u/jegron)\
**Post date:** [June 9, 2023, 6:54pm UTC](https://community.dynatrace.com/t/high-system-resources-consumption-detected-for-datasources/40132/3 "2023-06-09T18:54:01Z")

</div>

Hi&nbsp;[@AntonioSousa](https://community.dynatrace.com/user/17213)&nbsp;!

Interesting. Did you check AG limit ?

> **[About Extensions](https://docs.dynatrace.com/docs/ingest-from/extensions/concepts)**
>
> Learn how Dynatrace Extensions work, from the Extension Execution Controller and ActiveGate groups to performance profiles, packages, and data sources.

 ![jegron_0-1686336807544.png](https://global.discourse-cdn.com/dynatrace/original/2X/f/f2cd6a9375f3a38cbd235ab47e04090d2357fdde.png)

---

<div class="post-metadata">

**Author:** ![AntonioSousa](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antoniosousa/32/50_2.png) [@AntonioSousa](https://community.dynatrace.com/u/AntonioSousa)\
**Post date:** [June 9, 2023, 8:51pm UTC](https://community.dynatrace.com/t/high-system-resources-consumption-detected-for-datasources/40132/4 "2023-06-09T20:51:44Z")

</div>

[@jegron](https://community.dynatrace.com/user/47129),

Thanks for pointing this out. I had already seen this when I had changed to “High limits”, but had not associated it this time.

So the soft/hard limits should be the ones you point to, but now I’m trying to figure out what of the two, CPU or/and memory, are affecting me…

---

<div class="post-metadata">

**Author:** ![AntonioSousa](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antoniosousa/32/50_2.png) [@AntonioSousa](https://community.dynatrace.com/u/AntonioSousa)\
**Post date:** [June 18, 2023, 6:31pm UTC](https://community.dynatrace.com/t/high-system-resources-consumption-detected-for-datasources/40132/5 "2023-06-18T18:31:54Z")

</div>

I have also managed to reduce ActiveGate memory usage by inserting the following two lines in launcheruserconfig.conf

-java.xmx.absolute\_part=2000  
-java.xmx.relative\_part=0

I got the idea from [Dedicated performance profile configuration — Dynatrace Docs](https://www.dynatrace.com/support/help/extend-dynatrace/extensions20/dedicated-performance-profile)

but I really had to put the two lines, because in my case Xmx would be around ~3500M if I only put the first one. Now it’s -Xmx2000M

---

<div class="post-metadata">

**Author:** ![Yosi\_Neuman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/yosi_neuman/32/9845_2.png) [@Yosi\_Neuman](https://community.dynatrace.com/u/Yosi_Neuman)\
**Post date:** [May 19, 2024, 9:47am UTC](https://community.dynatrace.com/t/high-system-resources-consumption-detected-for-datasources/40132/6 "2024-05-19T09:47:21Z")

</div>

HI&nbsp;[@AntonioSousa](https://community.dynatrace.com/user/17213)

Did you get answer for this one from support?

We have see the same error message from Elasticsearch extension (1.0.7) running on **OA**

Thanks for any input on what can be done !

Yos

---

<div class="post-metadata">

**Author:** ![AntonioSousa](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antoniosousa/32/50_2.png) [@AntonioSousa](https://community.dynatrace.com/u/AntonioSousa)\
**Post date:** [May 19, 2024, 8:03pm UTC](https://community.dynatrace.com/t/high-system-resources-consumption-detected-for-datasources/40132/7 "2024-05-19T20:03:58Z")

</div>

[@Yosi\_Neuman](https://community.dynatrace.com/user/6931),

I have not been working with OA EF2 extensions.

Regarding this AG context, I did not go through Support, as these type of tweaks are not easy to discuss.  
I went for the “dedicated” performance profile, and tweaked the ActiveGate memory, as referenced above. Please note that when I refer to ActiveGate here, is to the main AG module, which typically does the routing. As mine AGs are only for extensions, I reduced the gateway memory, as it is not needed, thus giving more memory for EF2 extensions.

---

<div class="post-metadata">

**Author:** ![arild\_palencia3](https://avatars.discourse-cdn.com/v4/letter/a/4491bb/32.png) [@arild\_palencia3](https://community.dynatrace.com/u/arild_palencia3)\
**Post date:** [August 14, 2024, 7:14am UTC](https://community.dynatrace.com/t/high-system-resources-consumption-detected-for-datasources/40132/8 "2024-08-14T07:14:22Z")

</div>

[@AntonioSousa](https://community.dynatrace.com/user/17213)&nbsp;this adjustment is essential for the stability of monitoring of 3rd parties with the Extension AGs. Thank you for this tip, it really improved our monitoring of MQ and DB2
