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.
Looks like you are running 9.7.1. Is that true?
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.
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
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.
Thank you for this will certinaly look into this and see if this resolves the issue
Thanks a lot
Was Matt's explanation helpful. Was the out with the ps command what you are expecting?
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.