Tasks

A task is the unit of work that runs on each individual host when IBM® Spectrum Symphony workload is running. The task consists of a message request (input) and, when completed by a service, a response (output).

To find task summary or incompleted attempts

To view properties about a specific task, locate the task in the session it belongs to and click on the task ID. The Summary tab lists details of a specific task associated with the session. The Incomplete Attempts tab shows details of each attempt for the same task. If the task succeeded on the first attempt, no incomplete attempt information displays. This tab shows the attempt history only when persistIncompleteAttemptHistory=all is configured in the application profile.

Task properties


Property Description
Task ID Unique identifier for each task.
Task Status State of the task (Running, Pending, Canceled, Yielded, Resuming, Error, or Done).
Submitted Time and date the task was created in the session.
Started Time and date when SSM sends the task to SIM.
Ended Time and date the task stopped running.
Compute Host Host where the task is executed (if task reran, may include up to five of the latest hosts).

Docker Container ID

The ID of the Docker container if Docker is enabled for the service instance.
Last Failure Reason The reason reported for the tasks’s most recent failure, if applicable. Note that task can successfully finish in the Done state and still have a failure reason. A task in the Done state must have failed previously, but succeeded on its most recent attempt.
Common Data Updates Total number of common data updates available to this task.

This number indicates:

  • For a running task - the number of updates available to the task.
  • For a done task - the number of updates that were available when the task was last run.
  • For a pending task - the number of updates currently available to the session.
  • For a canceled task - the number of updates that were available when the task was canceled.
  • For a task in error state -the number of updates that were available when the task was last run.
Task Tag An optional identifier for tasks.
Input Size Size of the message that IBM Spectrum Symphony received from the client and passed to the service. This data size may differ from the raw input data size depending on which feature set is being used by the application; for example, the data size may be smaller when compared to the raw data size if the application enables the data compression feature.
Output Size Size of the message that IBM Spectrum Symphony received from the service and passed to the client. This data size may differ from the raw output data size depending on which feature set is being used by the application; for example, the data size may be smaller when compared to the raw data size if the application enables the data compression feature.
Comment Comment field if the task is killed by a user and the user entered a comment.
SI PID The process ID for the service instance on which the task ran.
Data Compression Enabled or disabled. If enabled, input/output data is compressed, if data size is greater than threshold setting.
Compression Threshold Specifies the data size (in kilobytes) at which compression is triggered; that is, if data size is greater than threshold setting, the data will be compressed.
Raw Input Size The initial size of the input data when it was passed from the client to IBM Spectrum Symphony. This is the data size before the data is acted upon by any feature set that is being used by the application.
Raw Output Size The initial size of the output data when it was passed from the service to IBM Spectrum Symphony. This is the data size before the data is acted upon by any feature set that is being used by the application.
Input Compressed Indicates whether the input data was actually compressed by the system. If compression is enabled, only data larger than the threshold will be compressed.
Output Compressed Indicates whether the output data was actually compressed by the system. If compression is enabled, only data larger than the threshold will be compressed.
Direct Data Transfer Enabled or disabled. If enabled, task application data is transmitted directly between the client and service.
Resource Preference The resource preference expression associated with the task.
Task Received Indicates whether done, error, and canceled tasks will be received by the client.
Child Sessions Session IDs of all child sessions assigned to the slot.
Slot Owner The owner of the slot.
Competing Tasks Indicates the competing tasks on the slot.
Backfill Indicates a back-filled task.
Current Run Task Indicates the current running task.
Number Competing Tasks Number of competing tasks (running and yielded) on the slot.
User Status The status of the task executed.

This user status is user-defined in the service code; it is not a value the system defines.

User Progress A visual indicator depicting the progress for a task. If you move the mouse pointer over this progress bar, the progress displays as a percentage.

This user progress is user-defined in the service code; it is not a value the system defines.

Task Priority The priority of the task.
Execution Time Time interval between the time and date the task started running (as specified in the Started column) and the time and date the task stopped running (as specified in the Ended column).
SIM PID Service instance manager process ID for the task.
Retried Number of incomplete attempts by retrying.
Preempted Number of incomplete attempts by preempting.
Reclaimed Number of incomplete attempts by reclaiming.
Retried Without Penalty Number of incomplete attempts by retrying without penalty.
Session Suspended Number of times the system tried to rerun the task but did not complete the attempt because the session suspended.
SIM Communication Lost Number of times the system tried to rerun the task but did not complete the attempt because SIM communication was lost (this includes the host being unavailable).