Job Failure alarm on "<Submission error>" - CAWA_E_20044 Could not setuid(x): error 11 (Resource temporarily unavailable)
search cancel

Job Failure alarm on "<Submission error>" - CAWA_E_20044 Could not setuid(x): error 11 (Resource temporarily unavailable)

book

Article ID: 11441

calendar_today

Updated On:

Products

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

Issue/Introduction

Job failed with submission error.

FAILURE  xx/xx/xxxx 08:26:23 1 PD  xx/xx/xxxx 08:26:24 

<Submission error> 

[*** ALARM ***] 

JOBFAILURE xx/xx/xxxx 08:26:24 1 PD  xx/xx/xxxx 08:26:24 xxxxxxxx

[CHK_MAX_ALARM] xx/xx/xxx 08:56:23 1 PD  xx/xx/xxxx 08:26:24 xxxxxxx

In the agent joblog:

FRI xxx xx 12:00:03 20xx CAWA_E_20044 Could not setuid(xxx): error 11 (Resource temporarily unavailable).Error code: 11 

Environment

Workload Automation Agent

Cause

The Agent normally runs as 'root' and when it runs jobs it does a setuid to the owner of the job in order to run the command. If the Operating System does not allow setuid to run successfully, it fails with the error. 

Resolution

Check the 'ulimit -a' of the user that started the agent (usually root).

Increase the maximum user process (nproc) for 'root' user. For example, ulimit -u 4096 and restart the agent. 

Additional Information