08 Jun 2023 09:52 PM
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:
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?
08 Jun 2023 10:23 PM - edited 08 Jun 2023 10:23 PM
I forgot to say that the ActiveGates are already in "High limits" for their performance profile.
In the meantime, I also discovered this page,
https://www.dynatrace.com/support/help/extend-dynatrace/extensions20/dedicated-performance-profile
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...
09 Jun 2023 07:54 PM
Hi @AntonioSousa !
Interesting. Did you check AG limit ?
https://www.dynatrace.com/support/help/extend-dynatrace/extensions20/extensions-concepts#limits
09 Jun 2023 09:51 PM
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...
18 Jun 2023 07:31 PM
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 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
19 May 2024 10:47 AM
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
19 May 2024 09:03 PM
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.
14 Aug 2024 08:14 AM
@AntonioSousa 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