The SIS records the following statistics for the SIP stack’s worker pool.
| 
 | 
The SIP stack used by the SIS maintains its own pool of worker threads for processing incoming SIP messages. | 
Threads — threadsTotal
Records the total number of…  | 
…threads in the worker pool.  | 
|---|---|
Increments…  | 
…when the worker pool starts a new thread to handle incoming work.  | 
Decrements…  | 
…when a worker thread terminates because it is no longer needed.  | 
Default rhino-stats view  | 
gauge  | 
Available threads — threadsAvailable
Records the total number of…  | 
…threads in the pool that are idle and available for work.  | 
|---|---|
Increments…  | 
…when a worker thread finishes its current task and begins waiting for more work.  | 
Decrements…  | 
…when a worker thread begins processing a new task.  | 
Default rhino-stats view  | 
gauge  | 
Queue size — queueSize
Records the total number of…  | 
…tasks waiting in the worker pool’s queue.  | 
|---|---|
Increments…  | 
…when a task is enqueued and there is no worker thread immediately available to process it.  | 
Decrements…  | 
…when a worker thread removes a task from the queue.  | 
Default rhino-stats view  | 
gauge  | 
Rejected tasks — rejects
Records the total number of…  | 
…tasks rejected because the queue was full.  | 
|---|---|
Increments…  | 
…when a task is unable to be enqueued because there is no space in the queue.  | 
Decrements…  | 
…never.  | 
Default rhino-stats view  | 
delta  | 
Suspended network reads — flowControlSuspends
Records the total number of…  | 
…times that network reads were suspended.  | 
|---|---|
Increments…  | 
…when the stack stops reading from a TCP socket because there is no space in the queue.  | 
Decrements…  | 
…never.  | 
Default rhino-stats view  | 
delta  | 
Resumed network reads — flowControlResumes
Records the total number of…  | 
…times that network reads were resumed.  | 
|---|---|
Increments…  | 
…when the stack resumes reading from a TCP socket because the queue is no longer full.  | 
Decrements…  | 
…never.  | 
Default rhino-stats view  | 
delta  | 
Task processing time — processingTime
Samples…  | 
…time spent by the SIP stack processing a message.  | 
|---|---|
When…  | 
From the time the worker thread begins processing the message… to the time the message is handed off to a higher layer (the SIS).  | 
Calculates…  | 
…the total time for the SIP stack to parse a message, update transaction state and pass the message up to the SIS.  | 
Task waiting time — queueTime
Samples…  | 
…time spent by tasks waiting in the queue.  | 
|---|---|
When…  | 
From the a task is placed on the queue… to the time the task is removed by a worker thread.  | 
Calculates…  | 
…the time spent waiting on the queue because no threads were available.  | 
