This article explains why AutoSys jobs may report a "Lost Control" status and how to proactively detect this failure even when standard STDOUT or STDERR logs are not generated.
STARTING or RUNNING state for an extended period before transitioning to FAILURE with the "Lost Control" description.A "Lost Control" status occurs when the AutoSys agent can no longer track the Process ID (PID) of a running job. This typically happens due to:
Because the tracking link (PID) is broken, the agent cannot capture the final output of the process, resulting in the absence of job logs.
To ensure visibility and proactive alerting for these events, follow these steps:
Ensure that mission-critical job definitions include the alarm_if_fail attribute set to 1. Since AutoSys treats a "Lost Control" event as a job FAILURE, this will trigger a JOBFAILURE alarm.
Configure your monitoring system to scan the event_demon log (e.g., event_demon.$AUTOSERV) for the following specific strings:
STATUS: FAILURELost control (Found in the extended event description)On the agent machine, you can verify these events by searching the runner_os_component.log for entries matching: Status(Lost control)
If you require automated detection, implement a PowerShell or Shell script to parse the event_demon log daily for these keywords. This ensures that failures occurring without standard log generation are captured and reported to your operations team.