Synthetic Monitoring
Browser monitors, HTTP monitors, synthetic locations.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Synthetic ActiveGates - Add CPU and Memory resources - node size didn't change

kayjayeff
Visitor

We recently added CPU and Memory resources to 3 synthetic AGs to change them from Small to Medium since capacity was around 100%. In the Dynatrace console it still sees 2 of them as Small and one shows as Medium. Do we need to update any configurations in the AG configs to make the console recognize and utilize the new resources ?

thanks.

-k.

17 REPLIES 17

AntonioSousa
DynaMight Guru
DynaMight Guru

@kayjayeff,

I believe you have restarted the AG?

Antonio Sousa

Yes sir ... It seems there are configuration settings for setting a percentage of Memory to use, so I would assume that the Synth AG would grab that percentage of memory for its uses after adding the memory to the server

the settings I found are these:
-java.xmx.absolute_part
-java.xmx.relative_part

HannahM
Dynatrace Guru
Dynatrace Guru

You need to reinstall the ActiveGate to pick up the newly added resources.

Synthetic SME and community advocate.

I can't imagine that is the case. Is that 100% true? You cannot adjust the memory settings on the AGs to make the software use more memory?

You can add more memory etc but the ActiveGate only checks for the settings on install so you need to uninstall and reinstall the ActiveGate to pick up the changes. It is usually a very quick process and the only thing you will need to do after that is add the Activegate back into the location it was previously part of.

Synthetic SME and community advocate.

OK, thank you for the information @HannahM 👍

@HannahM does this apply to non-synthetic activegates as well?

@kayjayeff1 ,

Yesterday I did this in an AG and it seemed to catch up with the new ammount of memory.

But it would be important if @HannahM could confirm it.

Antonio Sousa

@AntonioSousa yes, we did the same and it seems to have allocated additional memory to the AG process as well.  thanks! 🙂 

-k

Apologies, I was hoping to have a chance to test this. Our documentation for Synthetic states that you need to reinstall the Synthetic module to take advantage of the new resources; however, for other AG types, I believe it is, as you say, that the AG can use them without a reinstall. I would expect a restart of the services to be sufficient. 

Synthetic SME and community advocate.

No worries.  We added the memory and CPU and restarted and it grabbed them.  Thanks for checkin back in! 🙂 

sia_h
Dynatrace Champion
Dynatrace Champion

The action required after a RAM upgrade depends on whether the change affects the ActiveGate’s memory allocation or heap tier. From my understanding, these are the common actions. 

TypeRAM ChangeSame Allocation?ActionWhy?
Non-Synthetic16GB → 32GB YesRestartMemory % stays at 65%, restart applies new allocation
Non-Synthetic8GB → 16GBNoReinstall/UpdateMoves from 60% to 65% allocation, only set at install
Non-Synthetic4GB → 8GBNoReinstall/UpdateMoves from 55% to 60% allocation, only set at install
Non-Synthetic4GB → 16GBNoReinstall/UpdateMoves from 55% to 65% allocation, only set at install
Synthetic16GB → 32GBYesRestartHeap size stays, restart applies new RAM
Synthetic8GB → 16GBNoReinstall/UpdateHeap size changes, only set at install
Synthetic4GB → 8GBNoReinstall/UpdateHeap size changes, only set at install
Synthetic4GB → 16GBNoReinstall/UpdateHeap size changes, only set at install

@sia_h thank you.  That's a great chart to use as reference!

@sia_h ,

While this is a great chart, it doesn't make much sense!

It today's world, having to do a reinstall so that a program can use more memory, is quite frankly, to put it easy, unexplainable! While I understand they are Java processes and cannot do it in runtime, requiring a restart should be the maximum here.

And, btw, if I go from 32GB to 8 GB, what is needed? An uninstall?

 

Antonio Sousa

Hello everyone,

I am looking into the topic because we are having issues with execution of synthetic tests from a private location.

We have 39 Browser clickpaths and 21 HTTP tests running from a location that has a single Synthetic AG.
The AG had 2GBs of RAM and yesterday we upgraded it to 4GB. It has been restarted and not reinstalled/updated and I can see the new memory has been captured (the graph of memory usage):

SynthAGMemoryUsage.png

In my understanding this should be sufficient and does not need a reinstall as I can see the memory increase in DT?

Also what do you think about the resources and the amount of Synthetics? We are planning to add a second AG to the private location. Have you experienced such issues with Synthetics?

In the private Synthetic locations status I see this:

Capacity usage is greater than 80% for at least one type of synthetic monitor or failure of any ActiveGate can cause usage requirements to exceed maximum capacity.

Any suggestions would be helpful!

All the best,
Georgi

Dynatrace Associate | Monitoring Engineer | Product Owner - Observability

@Georgi_Vuldzhev ,
You have a good count of Browser clickpaths. The ammount of steps might also be impacting, besides CPU consumed by the browser. You would certainly be better with one more AG.

Antonio Sousa

Hi @AntonioSousa 

Thanks for the answer!

Currently the total amount of steps we have from all of the browser clickpaths are 320.

I was think it might be a good idea to have the opportunity to enter a specific time when the tests run. For example when you set it to run every hour to be able to say for example h:03 ot h:07, etc.

But we'll see after adding one more AG.

All the best,
Georgi

Dynatrace Associate | Monitoring Engineer | Product Owner - Observability

Featured Posts