cancel
Showing results for 
Search instead for 
Did you mean: 

How to check available Threads (Application Threads) in J2EE

former_member265210
Active Participant

How to check available Threads (Application Threads) in J2EE

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member265210
Active Participant
0 Kudos

Step1: Telnet <hostname>

Step2: Account Name: <sid>adm

Password: *******

Step3: Telnet <hostname> <Telnet port>

Ex1: Telnet xyzhost 50008 note here instance is 00

Step4: login: administrator

Password:********

Step5: add debug

Step6: Debugmanager ThreadManager

If CurrentSize is equal to MaxSize then system is running out of threads.

By using this info we can know when to change/increase/decrease the Application Threads value.

raliwa
Discoverer
0 Kudos

This is from SAP KBA 1625458 - How to find the status of the threads being used by the J2EE server.

To find the status of the application and the system threads being used by the J2EE server, do the following:

  1. Open telnet connection to the server (eg: telnet <hostname>:<telnet port>) and login with a J2EE administrator user.
  2. > lsc (to list the available servernodes)
  3. > jump <servernode> (usually jump 0)
  4. > add debug (debug is a group of commands for monitoring of basic core managers).
  5. > debugmanager ThreadManager (gives the status of the system threads) and > debugmanager ApplicationThreadManager (gives the status of the application threads). For example:
  6. In the above example, CurrentSize shows the number of threads running at the moment and MaxSize shows the maximum number of threads that have been configured to reside in the thread pool. If the value of CurrentSize is equal to the MaxSize, then there are no more free threads available on the server. In such cases, add more threads (application or system threads) as per SAP Note 1016241 using the configtool application.