DX Application Performance Management

Expand all | Collapse all

Collection of processes

Jump to Best Answer
  • 1.  Collection of processes

    Posted 01-13-2017 08:45 AM
      |   view attached

    Hi

     

    Currently we have had a few issues with the amount of java proccesses building up and causing the system to fail.

     

    Is there anything we can do to prevent the amount of java proccesses building up?

     

    I have attached the logs for the processes.

     

    Thanks
    Alex

    Attachment(s)

    zip
    casupport log.txt.zip   20K 1 version


  • 2.  Re: Collection of processes

    Posted 01-13-2017 09:31 AM

    Looks like you are running 9.7.1. Is that true?



  • 3.  Re: Collection of processes

    Posted 01-13-2017 10:17 AM

    Yes



  • 4.  Re: Collection of processes
    Best Answer

    Posted 01-13-2017 11:05 AM

    Hi,

     

    To get an accurate number of java processes running on the system, please use ps -ef | grep java

     

    Using lsof will only show the output of file information about files opened by processes.  So the output you attached shows what files java has opened up.  This would be a normal output as java needs to open up libraries, jar files specifically for java, log files to write to, etc...

     

    Please upload the output of ps -ef | grep java from your system.

     

    Thanks,

    Matt



  • 5.  Re: Collection of processes

    Posted 01-16-2017 04:49 AM

    Hi Matt

     

    Thank you for the response.

     

    I have attached a photo of the outcome from ps -ef | grep java

     

    If you can't see it let me know


    Cheers

    Alex

     



  • 6.  Re: Collection of processes

    Posted 01-17-2017 08:44 AM

    So it appears that you have 3 Java processes.  In your screenshot:

     

    Process ID 16868 is for your EPAgent as defined by epaplugin directory.  

     

    Process ID 27181 is for your Enterprise Manager defined by the reference to Introscope_Enterprise_Manager.lax file.  

     

    Process ID 29300 is for your Webview as defined by the reference to Introscope_Webview.lax.  However in this line, why are you calling Agent.jar?

     

    I would recommend using a single server for the Enterprise Manager and Webview and another server for the EPAgent.



  • 7.  Re: Collection of processes

    Posted 01-17-2017 09:31 AM

    Hi Matt

     

    Thank you for this will certinaly look into this and see if this resolves the issue

     

    Thanks a lot

     

    Alex



  • 8.  Re: Collection of processes

    Posted 01-13-2017 12:05 PM

    Dear Alex:

    Was Matt's explanation helpful. Was the out with the ps command what you are expecting?

     

    Thanks

    Hal German



  • 9.  Re: Collection of processes

    Posted 01-17-2017 09:09 AM

    Hi Alex:

    I am going to mark this as answered since the original issue was more about dealing with lsof rather than ps. Matt has also responded to the ps output with a recommendation. So marking as answered. However, you are welcomed to ask follow-up questions if needed.

     

    Thanks

    Hal German