search cancel

APM Java agent memory leak due to DNS lookup calls

book

Article ID: 202512

calendar_today

Updated On:

Products

CA Application Performance Management Agent (APM / Wily / Introscope) CA Application Performance Management (APM / Wily / Introscope) INTROSCOPE DX Application Performance Management

Issue/Introduction

APM Java agent is encountering memory leak when agent is unable to perform DNS calls properly.

We took the heap dump and analyzed the heap dump. We find that the APM Java agent class "com.wily.introscope.agent.dns.DnsServiceExecutor" is causing the memory leak.

 

Environment

Release : 10.7

Component : APM Agent

Resolution

Make sure that DNS name resolution works properly. Both Forward DNS lookup and Reverse DNS lookup should work good. Forward DNS lookup is using an Internet domain name to find an IP address and Reverse DNS lookup is using an Internet IP address to find a domain name.

Also, set the following values in IntroscopeAgent.profile.

# Use ...typical.pbl instead of ....full.pbl

introscope.autoprobe.directivesFile=weblogic-typical.pbl, ...... 

# Disable Smart Instrumentations

introscope.agent.deep.trace.enabled=true
introscope.agent.deep.errorsnapshot.enable=true
introscope.agent.deep.entrypoint.enabled=true
introscope.agent.deep.automatic.trace.crossprocess.enabled=true

Attachments