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".

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s