Home โ€บ DevOps โ€บ AutoSys Job Stuck in STARTING: Why It Never Runs and How to Release It
Intermediate 3 min · November 07, 2026

AutoSys Job Stuck in STARTING: Why It Never Runs and How to Release It

An AutoSys job stuck in STARTING was sent to the agent but never acknowledged.

N
Naren Founder & Principal Engineer

20+ years shipping production infrastructure and CI/CD at scale. Everything here is grounded in real deployments.

Follow
✓ Production
production tested
November 08, 2026
last updated
2,128
articles · all by Naren
Before you start⏱ 6 min
  • ✓AutoSys JIL basics
 ● Production Incident 🔎 Debug Guide
⚡Quick Answer
  • STARTING = the scheduler sent the job; the agent hasn't acknowledged it yet.
  • Check the agent first: autoping -m MACHINE tells you if it's reachable.
  • Check disk space on the agent (df -h on its install and log folders): a full disk stops it acknowledging jobs.
  • Check the agent isn't at its job limit, and look for the job in the scheduler log ($AUTOUSER/out/event_demon.$AUTOSERV).
  • Fixing the cause doesn't release jobs already stuck: restart the agent, reset each job with sendevent -E CHANGE_STATUS, then start it again.
โœฆ Definition~90s read
What is AutoSys Job Stuck in STARTING?

STARTING (ST) means the AutoSys scheduler has sent the job to the agent on the target machine and is waiting for the agent to acknowledge it. A job that stays in STARTING is one the agent never confirmed: the problem is almost always on the agent side, not in your script.

โ˜…
STARTING is like a dispatcher who has radioed a driver and is waiting for "copy that".
Plain-English First

STARTING is like a dispatcher who has radioed a driver and is waiting for "copy that". If the radio is off, the driver's van is full, or the driver already has too many jobs, no reply comes back, and the job waits on the board forever.

Forty jobs on one machine, all in STARTING, none running. Force-starting them just puts them back in STARTING. That's because STARTING isn't about the job at all: it's the scheduler waiting for the agent to answer. This guide shows what the state means, how to find why the agent isn't answering, and how to release the jobs.

What STARTING Means

When a job's conditions are met, the scheduler sends a start request to the agent on the job's machine and sets the job to STARTING. When the agent has launched the process it reports back, and the job moves to RUNNING. A job that stays in STARTING is one where that acknowledgement never arrived. The script hasn't run, so its log won't help you.

find_stuck.shBASH
1
2
3
4
5
# Jobs currently in STARTING
autorep -J ALL | grep ' ST '

# Which machine are they on?
autorep -J FIN_LOAD_01 -q | grep machine
Output
FIN_LOAD_01 11/07/2026 02:00:01 ----- ST
FIN_LOAD_02 11/07/2026 02:00:01 ----- ST
machine: finbatch01
๐Ÿ”ฅSame machine = agent problem
If every stuck job runs on the same machine, the cause is almost certainly that agent or its host.
๐ŸŽฏ Key Takeaway
STARTING = sent to the agent, not yet acknowledged.

Cause 1: The Agent Is Down or Unreachable

If the agent service is stopped, the host is down, or a firewall blocks the agent's port, the start request never gets a reply. autoping tests the round trip from the scheduler to the agent and back, so it's the first command to run.

ping_agent.shBASH
1
autoping -m finbatch01
Output
CAUAJM_I_50023 AutoPinging Machine [finbatch01]
CAUAJM_I_50025 AutoPing WAS SUCCESSFUL!
๐Ÿ’กCheck the port
If autoping fails but the host is up, check the agent is listening on its configured port and that the firewall allows the scheduler to reach it.
๐ŸŽฏ Key Takeaway
autoping fails = fix connectivity or restart the agent.

Cause 2: The Agent's Disk Is Full

The agent writes spool files, job logs and its own logs before it can launch a job. When that filesystem is 100% full, it can't, so it never acknowledges the start. This is the cause behind many 'everything on one box is stuck' incidents, and it's often the agent's own logs that filled the disk.

disk_check.shBASH
1
2
3
# On the agent machine
df -h /opt
du -sh /opt/CA/WorkloadAutomationAE/SystemAgent/*/log | sort -h | tail -3
Output
Filesystem Size Used Avail Use% Mounted on
/dev/sdb1 50G 50G 0 100% /opt
๐ŸŽฏ Key Takeaway
A full disk on the agent stops every job on that machine.

Cause 3: The Agent Is Overloaded

Machines can be given a limit on how many jobs they run at once. When the agent is at that limit, or the host is overloaded, new jobs wait. The signature is different from the other causes: some jobs on the machine start, and others wait in line.

load_check.shBASH
1
2
3
4
5
# Machine definition and its limits
autorep -M finbatch01 -q

# Jobs running on it right now
autorep -J ALL | grep ' RU ' | wc -l
๐ŸŽฏ Key Takeaway
Some jobs start, some wait = check the machine's job limits.

Release the Stuck Jobs

Freeing space or restoring the network doesn't move jobs that are already in STARTING: the scheduler is still waiting for an answer that won't come. Restart the agent so it starts clean, then reset each stuck job's status and start it again. Check first that the job didn't actually run, so you don't run a load twice.

release.shBASH
1
2
3
4
5
# After fixing the cause and restarting the agent
for j in $(autorep -J FIN_LOAD% | awk '$NF=="ST"{print $1}'); do
  sendevent -E CHANGE_STATUS -s FAILURE -J "$j"
  sendevent -E FORCE_STARTJOB -J "$j"
done
โš  Check before you rerun
If a job might have partly run, check its output before starting it again.
๐ŸŽฏ Key Takeaway
Reset stuck jobs after fixing the cause; they won't move on their own.
● Production incidentPOST-MORTEMseverity: high

Forty Jobs, One Full Disk

Symptom
At 02:00, 40 FIN_LOAD jobs on finbatch01 went to STARTING and stayed there. Other machines were fine.
Assumption
The team assumed the scheduler was overloaded and force-started the jobs, which went straight back to STARTING.
Root cause
Agent logs had filled /opt on finbatch01 to 100%. The agent couldn't write the files it needs to start a job, so it never sent an acknowledgement back to the scheduler.
Fix
Rotated and compressed the agent logs, restarted the agent, reset each stuck job with CHANGE_STATUS and started them again. Added a disk-space alert on the agent's filesystem at 80%.
Key lesson
  • STARTING means the agent hasn't answered: look at the agent, not the job.
  • A whole machine stuck at once points to the agent or its host.
  • Fixing the cause doesn't move jobs that are already stuck.
Production debug guideFind out why the agent isn't answering5 entries
Symptom · 01
Every job on one machine is in STARTING
→
Fix
Run autoping -m MACHINE. If it fails, the agent is down or unreachable (service stopped, firewall, wrong port).
Symptom · 02
autoping works but jobs still stick
→
Fix
Check disk space on the agent: df -h on its install, spool and log folders. A full filesystem stops it starting jobs.
Symptom · 03
Some jobs start, others wait
→
Fix
The agent may be at its maximum number of concurrent jobs. Check the machine's load limits and running jobs.
Symptom · 04
Not sure what the scheduler saw
→
Fix
grep the job name in $AUTOUSER/out/event_demon.$AUTOSERV for communication or timeout messages.
Symptom · 05
Cause fixed, jobs still in STARTING
→
Fix
Restart the agent, then sendevent -E CHANGE_STATUS -s FAILURE -J JOB (or INACTIVE) and start each job again.
⚙ Quick Reference
5 commands from this guide
FileCommand / CodePurpose
find_stuck.shautorep -J ALL | grep ' ST 'What STARTING Means
ping_agent.shautoping -m finbatch01Cause 1
disk_check.shdf -h /optCause 2
load_check.shautorep -M finbatch01 -qCause 3
release.shfor j in $(autorep -J FIN_LOAD% | awk '$NF=="ST"{print $1}'); doRelease the Stuck Jobs

Key takeaways

1
STARTING means sent to the agent, not yet acknowledged.
2
Check the agent
autoping, disk space, job limits.
3
All jobs on one machine stuck points to that agent or host.
4
Fixing the cause doesn't release jobs already stuck.
5
Alert on agent disk space before it reaches 100%.

Common mistakes to avoid

3 patterns
×

Force-starting stuck jobs

Symptom
They go straight back to STARTING.
Fix
Fix the agent first; the new start request goes to the same agent.
×

Debugging the script

Symptom
No log, nothing to find.
Fix
The script never ran. Check autoping, disk and load on the agent.
×

Fixing the cause and walking away

Symptom
Jobs still in STARTING an hour later.
Fix
Reset each stuck job with CHANGE_STATUS and start it again.
INTERVIEW PREP · PRACTICE MODE

Interview Questions on This Topic

Q01SENIOR
An AutoSys job is stuck in STARTING. What does that mean?
Q02SENIOR
You've freed disk space on the agent, but jobs are still in STARTING. Wh...
Q01 of 02SENIOR

An AutoSys job is stuck in STARTING. What does that mean?

ANSWER
The scheduler has sent it to the agent but the agent hasn't acknowledged it. Check the agent: reachable (autoping), disk space, and load.
FAQ · 3 QUESTIONS

Frequently Asked Questions

01
What does STARTING mean in AutoSys?
02
How do I fix a job stuck in STARTING?
03
Is STARTING the same as PEND_MACH?
COMPLETE GUIDE
The Complete AutoSys Workload Automation Guide for Engineers →

JIL syntax, sendevent, autorep, box jobs, file watchers, scheduling, HA, security, cloud workload automation, and 22 interview questions โ€” the definitive AutoSys reference for production engineers.

N
Naren Founder & Principal Engineer

20+ years shipping production infrastructure and CI/CD at scale. Everything here is grounded in real deployments.

Follow
✓ Verified
production tested
November 08, 2026
last updated
2,128
articles · all by Naren
🔥

That's AutoSys. Mark it forged?

3 min read · try the examples if you haven't

←
Previous
AutoSys: Run a Dependent Job N Minutes After the Main Job
35 / 49 · AutoSys
Next
AutoSys Exit Code 127: Command Not Found
→