cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

This product reached the end of support date on March 31, 2021.

getting Instrumentation disabled during agent startup because of low memory on collector

Hany_Abadir
Participant

I'm seeing the above error in the Instrumentation State..

4 REPLIES 4

JamesKitson
Dynatrace Leader
Dynatrace Leader

If your collector is low on memory it will start by not instrumenting when new agents connect followed by de-instrumenting already connected agents if the memory situation becomes even worse. You'll need to resolve the memory issue to avoid this, sometimes a restart is a short term fix but you should check your hardware for the number of agents you have connected as well as try and be on the latest update in case there are any memory issues that have already been resolved.

James

gregg_kniss
Guide

@Hany A.You'll need to increase heap memory by setting a larger value for -Xmx in dtcollector.ini provided there is enough free memory available on the server hosting the collector service.

antonio_castro
Participant

@Hany A., Our collector memory usage improved after I upgraded from 6.1 to 6.5. You can increase heap as @Gregg K. suggeted or possibly leverage collector load balancing if applicable. If you increase heap then that setting applies to all collector instances running on the server so you need to make sure you have enough system memory to do so. As far as load balancing goes your remaining collectors in the group need to be able to handle the additional connections if a collector in the group is unavailable.

You can specify different memory settings per collector using the -INI option or other tricks, if needed.