Thursday, April 25, 2013

Monitoring : Threads, Requests & Heap from console

To Monitor Current Heap -

Log in to Admin console
Select your server for which you want to monitor heap
On right hand side, click on Monitoring - > Performance tab






Where -


Heap Current Size   : The current size (in bytes) of the JVM heap.

Heap Free Current  : The current amount of memory (in bytes) that is available in the JVM heap.


Heap Free Percent  : Percentage of the maximum memory that is free.

Heap Size Max       : The maximum free memory configured for this JVM.


To Monitor Threads -

Log in to Admin console
Select your server for which you want to monitor heap
On right hand side, click on Monitoring - > Threads tab
 


Where -

IN  Self-Tuning Thread Pool

Active Execute Threads : 
An array of the threads currently processing work in the active thread pool.

Execute Thread Total Count : 
The total number of threads in the pool.

Executive Thread Idle Count :
The number of idle threads in the pool. This count does not include standby threads and stuck threads. The count indicates threads that are ready to pick up new work when it arrives

Queue Length :
The number of pending requests in the priority queue. This is the total of internal system requests and user requests.

Pending User Request Count :
The number of pending user requests in the priority queue. The priority queue contains requests from internal subsystems and users. This is just the count of all user requests.

Completed Request Count :
The number of completed requests in the priority queue.


Hogging Thread Count :
returns the threads that are being hogged by a request right now. These threads will either be declared as stuck after the configured timeout or will return to the pool before that. The self-tuning mechanism will backfill if necessary.

Stand By Thread Counts :
Returns the number of threads in the standby pool. Threads that are not needed to handle the present work load are designated as standby and added to the standby pool. These threads are activated when more threads are needed.

Throughput :
The mean number of requests completed per second


IN  Self-Tuning Thread Pool Threads

Name : Queue Name

Total Requests : The number of requests that have been processed by the queue.

Current Request : Returns a String representation of the request this thread is currently processing.

User : Returns the name of the ExecuteThread.

Idle :  Returns true if the execute thread has no work assigned to it.

Stuck :
Returns true if the execute thread is being hogged by a request for much more than the normal execution time as observed by the scheduler automatically. If this thread is still busy after the stuck thread max time, then it is declared as stuck.

Hogger :  Returns true if the execute thread is not a part of the active thread pool.

Stand By :  Returns the transaction that the execute thread is currently working on behalf of.

To Monitor Requests -

Log in to Admin console
Select your server for which you want to monitor heap
On right hand side, click on Monitoring - > Workload tab


 Pending Requests : The number of waiting requests in the queue or Pending requests that are waiting for an available thread.

Completed Requests : The number of requests that have been processed

Executing Requests : Number of requests that are currently executing.

Max Wait Time : The max time a request had to wait for a thread. Only requests whose execution is needed to satisfy the constraint are considered.

Deferred Requests :  Number of requests that are denied a thread for execution because the constraint is exceeded.

No comments: