cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Narendra.Chaluchalamala
AppDynamics Team

Problem

Request Segment Data Queue holds the request snapshots captured by agent and sends details to controller every minute. For that minute, agent will hold all the request segment data in a queue and send it at one go. If there are many snapshots collected, the queue may not hold everything. So in that case, it might drop the snapshots and that is what is reflected in the logs below ...

 

 

Sample logs 

[AD Thread Pool-Global0] 09 Feb 2017 00:05:20,134 Request Segment Data reporter queue length limit of 1000kb reached.
[AD Thread Pool-Global0] 09 Feb 2017 00:05:20,135 Request Segment Data reporter queue length limit of 1000 reached. Dropping snapshots. You may consider increasing the value of 'max-snapshot-reporter-queue-size-kb' in app-agent-config.xml

 

Solution

1) Stop the agent
2) Add the listed line along with other properties in app-agent-config.xml file
Example:
<property name="max-snapshot-reporter-queue-size-kb" value="2000"/>
3) Start the agent

 

__________________________________________________________________________________

Was this helpful? Give it kudos [click on the thumbs up icon at the end of the article, bottom left corner] to let others know too!Was this helpful? Give it kudos [click on the thumbs up icon at the end of the article, bottom left corner] to let others know too!Do you have a question or need clarification? [Post Your Comment] Below. 

Comments
Udbhav.Verma
AppDynamics Team

Hi @Narendra.Chaluchalamala , does increasing the value of this property affect the heap memory usage of the the application?

Claudia.Landivar
Community Manager

Hello, @Udbhav.Verma 

I understand from @Anka.Thanneeru that aggressive settings will impact heap/CPU usage as an agent is entitled to collect more data. So, while you can increase the property value, it is recommended to do it incrementally, based on need, rather than aggressive increase.

Please let us know if that helps!
Claudia Landivar, Community Manager & Editor

Version history
Last update:
‎09-07-2018 01:22 PM
Updated by: