Jobs submitted to the Linux Agent stay in the READY state.

book

Article ID: 19261

calendar_today

Updated On:

Products

CA Workload Automation AE - Business Agents (AutoSys) CA Workload Automation AE - Scheduler (AutoSys) CA Workload Automation Agent CA Workload Automation Agents DSERIES- SERVER CA Workload Automation DE - System Agent (dSeries)

Issue/Introduction

Jobs on Linux and UNIX agent stay in the READY state.; however the agent logs show the jobs were received and completed by the Agent, and all communication ports were opened.

 

 

Cause

Linux file systems have certain limitation on the number of subdirectories per directory (MAXLINK); this number is about 32K, that is, 32,000 subdirectories.

If the Agent was running for some time, and the spool directory has not been cleared, then the subdirectories limitation will prevent the Agent from creating any new output files, yet will result in Agent's failure to update the job status to the Manager. Therefore, the agent's spool must be cleared in timely manner.

Environment

Release: ATSAGE99000-11.3-Workload Automation AE-Remote Agent
Component:

Resolution

The Agent may be configured to automatically clean the spool: add following parameters into the agentparm.txt and restart the agent.

 

 # Change settings as per your requirement. Enable clearing spool.
 runnerplugin.spool.clean.enable=true
 # Clear all spool older than 10 days
 runnerplugin.spool.expire=10D
 # Clear once every 24 hours
 runnerplugin.spool.sleep=24H