AppD Archive

High memory usage

CommunityUser
Splunk Employee
Splunk Employee

Hi,

Iam facing memoy issues with tomcat. I have a Tomcat 7 Instance which does contian any application.

But i see the memory usage was raising more and at some point a Major GC was causing the memory to go down. I dont understand why the memory was riasing and GC was invoked when there are no applications runnings.

When i took the Histo for the process i see ,

17:         13604         435328  com.singularity.ee.controller.api.dto.transactionmonitor.transactiondefinition.RequestThreshold
 25:          6802         163248  com.singularity.ee.controller.api.dto.Threshold
 26:          3401         163248  com.singularity.ee.rest.controller.request.BTConfiguration
28:          3401         108832  com.singularity.ee.controller.api.dto.transactionmonitor.transactiondefinition.BTRequestThresholds
  31:          3402          81648  com.singularity.ee.controller.api.dto.StallConfiguration
  32:          3401          81624  com.singularity.ee.controller.api.dto.transactionmonitor.transactiondefinition.SLA
  37:          1146          64176  com.singularity.ee.controller.api.dto.transactionmonitor.transactiondefinition.StringMatch
  42:          1673          53536  com.singularity.ee.agent.appagent.services.transactionmonitor.common.ExitCallInfo
  48:          1673          40152  com.singularity.ee.agent.appagent.services.transactionmonitor.common.ue
  53:           718          34464  com.singularity.ee.agent.appagent.services.bciengine.tg
  63:           784          25088  com.singularity.ee.agent.appagent.services.bciengine.attributes.d
  67:           442          21216  com.singularity.ee.agent.util.d
  71:           844          20256  com.singularity.ee.agent.appagent.services.bciengine.mf
  73:           619          19808  com.singularity.ee.agent.appagent.services.bciengine.xf
  75:           473          18920  com.appdynamics.org.apache.xerces.dom.DeferredTextImpl
  78:           280          15680  com.appdynamics.org.apache.xerces.dom.DeferredElementImpl
  87:           300          12000  com.appdynamics.org.apache.xerces.dom.DeferredAttrImpl

  88:           497          11928  com.singularity.util.org.apache.log4j.CategoryKey

Iam very much concerned about the memory usage of app-dynamics.The version is 3.7.21.1-1.

Please suggest me on this , the app team thinks that app-dynamcis was using more memory causing often OOM.

 

0 Karma

Arun_Dasetty
Super Champion

Hi,

We extremely apologize for the issue you are seeing we do not expect such behavior from our agent and we see lot many customers on prod using same agent version and running without issues. As sharing heap dump files on this forum have file size restrictions can you quickly raise help ticket at https://help.appdynamics.com/tickets/new Or Send email to help@appdynamics.com 

While you raise ticket at help system, can you also attach agent logs here to see if any errors/config that could result in memory consumption here, please send zipped version of <agent_dir>/logs path  

Regards,

Arun

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

sorry , i was late . This is on my Client Machine and i cannot upload log files. Is there any other way to find the reasons for the memory usage.

0 Karma

Arun_Dasetty
Super Champion

Hi,

Can you see the agent configuration settings for this node or tier under the node associated  in UI are default or not (optimized). if it is customized check whether any settings such that BT detection or snapshpt collection for monitored BTs that could cause any issue in UI level.

Since you confirmed there is no webapp deployed we assume no BTs are discovered but we need to agent logs toconfirm that whehere any background tasks are monitored here as we see in hist list provided earlier the major usage  are around BT monitoring api. Also confirm the agent version. Hope that information helps.

Please remember without heap dump and agent logs it might be tough to find the root cause here.

Regards,

Arun

0 Karma
Get Updates on the Splunk Community!

See Splunk Platform & Observability Innovations at Cisco Live EMEA

Hi Splunkers, Learn about what’s next for Splunk Platform at Cisco Live EMEA.  Data silos are a big challenge ...

The OpenTelemetry Certified Associate (OTCA) Exam

What’s this OTCA exam? The Linux Foundation offers the OpenTelemetry Certified Associate (OTCA) credential to ...

From Manual to Agentic: Level Up Your SOC at Cisco Live

Welcome to the Era of the Agentic SOC   Are you tired of being a manual alert responder? The security ...