Clamp value of 50000 has been reached.

Document ID : KB000130943
Last Modified Date : 16/04/2019
Show Technical Document Details
Question:
The following message was output repeatedly in InfrastructerAgent.

[WARN] [IntroscopeAgent.InfrastructureAgent] Clamp value of 50000 has been reached. No more logging will occur
java.lang.Throwable: Clamp limit reached
at com.wily.util.feedback.AsynchFeedbackChannel$AsyncLoggingBehavior.log(AsynchFeedbackChannel.java:435)
at com.wily.util.feedback.AsynchFeedbackChannel.doLog(AsynchFeedbackChannel.java:276)
at com.wily.util.feedback.ABufferedApplicationFeedbackChannel.logbottleneck(ABufferedApplicationFeedbackChannel.java:85)
at com.wily.util.feedback.ADefaultModuleFeedbackChannel.log(ADefaultModuleFeedbackChannel.java:485)
at com.wily.util.feedback.ADefaultModuleFeedbackChannel.log(ADefaultModuleFeedbackChannel.java:479)
at com.wily.util.feedback.ADefaultModuleFeedbackChannel.debug(ADefaultModuleFeedbackChannel.java:449)
at com.wily.util.feedback.DelegatingFeedbackChannel.debug(DelegatingFeedbackChannel.java:15)
at com.wily.introscope.epagent.ClassPlugin.runClassWithPrintStream(ClassPlugin.java:190)
at com.wily.introscope.epagent.ClassPlugin.doRunPlugin(ClassPlugin.java:119)
at com.wily.introscope.epagent.EPAPlugin.runForever(EPAPlugin.java:232)
at com.wily.introscope.epagent.EPAPlugin.run(EPAPlugin.java:145)
at java.lang.Thread.run(Thread.java:748)

"Historical Metric Count" was less than 300.

Please tell me the cause.
Environment:
Agent 10.X
Answer:
This message is output when there are many messages repeatedly output in the log.

It can change the default value of 50000 by setting the following parameters at application startup.
-Dwily.AsyncLoggingClamp = <clamp_value>
Setting 500000 to <clamp_value> suppresses the output of the message of Clamp value of 50000 has been reached.

This wily.AsyncLoggingClamp is set to control when a large number of messages are logged at the time of product test, and it is possible to use it but it has not been published.