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