Diagnostics Commander jetty.log shows several out of threads error message

If there are several "OUT OF THREADS" and "LOW ON THREADS" messages in the Commander jetty.log file and increasing jetty.threads.max from 200 to 600 in the webserver.properties file also does not resolve the problem, the reason is because there is not enough connections for the amount of probes. Each mediator needs 40 connections per probe plus 40.

Steps to take for the out of threads issue on the Diagnostics Commander Server:

• Edit the file "<MercuryDiagnostics_Install>\Server\etc\webserver.properties" and set:

jetty.threads.max=1000

• Stop the Diagnostics application running on Diagnostics commander server,

• Edit the file "<MercuryDiagnostics_Install>\Server\nanny\windows\dat\nanny\server.nanny" and replace the line:

start_nt=<MercuryDiagnostics_Install>\Server\jre\bin\javaw.exe^ -server -Xmx1200m -Dsun.net.client.defaultReadTimeout=70000 -Dsun.net.client.defaultConnectTimeout=30000 "-javaagent:<MercuryDiagnostics_Install>\Server\probe\lib\probeagent.jar" -classpath "<MercuryDiagnostics_Install>\Server\lib\mediator.jar;<MercuryDiagnostics_Install>\Server\lib\loading.jar;<MercuryDiagnostics_Install>\Server\lib\common.jar;<MercuryDiagnostics_Install>\Server\lib\mercury_picocontainer-1.1.jar" com.mercury.opal.mediator.util.DiagnosticsServer

with:

start_nt=<MercuryDiagnostics_Install>\Server\jre\bin\javaw.exe^ -server -Xmx1024m -Xms1024m -XX:MaxNewSize=448m -XX:NewSize=448m -XX:SurvivorRatio=6 -Dsun.net.client.defaultReadTimeout=70000 -Dsun.net.client.defaultConnectTimeout=30000 "-javaagent:<MercuryDiagnostics_Install>\Server\probe\lib\probeagent.jar" -classpath "<MercuryDiagnostics_Install>\Server\lib\mediator.jar;<MercuryDiagnostics_Install>\Server\lib\loading.jar;<MercuryDiagnostics_Install>\Server\lib\common.jar;<MercuryDiagnostics_Install>\Server\lib\mercury_picocontainer-1.1.jar" com.mercury.opal.mediator.util.DiagnosticsServer

• Start the Diagnostics application on Diagnostics commander server.

Where "<MercuryDiagnostics_Install>" is, for example, "E:\MercuryDiagnostics".

Leave a Comment