Environment:
-----------------
WAAE r11.3 SP2, Cumulative 1 on LINUX
SYSAGT Version R11.3, Service Pack 2, Maintenance Level 1, Build 525
Problem description:
----------------------------
During the job submission , got the following error:
CAUAJM_I_40245 EVENT: CHANGE_STATUS STATUS: FAILURE JOB: *** MACHINE: yyy EXITCODE: 1 TEXT: <Submission error>
- in joblog we can state at the same time the following:
CAWA_E_20039 Cannot fork a new process to execute the job:/sma/au/p1/bin/waae/SystemAgent/WA_AGENT/spool/AP1_SCH/MAIN/WAAE_WF0.1/53059.851639_1.07BC2D53FBDE543A96768DDCC254885CC497010F_wrapper.sh, reason:Resource temporarily unavailable.Error code: 11
Resolution:
----------------
From the Release NotesCA Workload Automation Agent for UNIX, Linux, Windows, or i5/OS
r11.3 SP2, Cumulative 1
Known Issues chapter:
Resource Temporarily Unavailable Errors on AIX
Valid on AIX
When running jobs on AIX, some of the jobs fail to complete with submission errors (SUBERROR). The job log contains the following error message:
CAWA_E_20039 Cannot fork a new process to execute the job:/usr/bin/ksh, reason:Resource temporarily unavailable.Error code: 11
Solution:
The error can occur because of a memory issue.
Check the maximum number of user processes on your system using the following command:
lsattr -E -l sys0 -a maxuproc
Sample output:
maxuproc 128 Maximum number of PROCESSES allowed per user True
To resolve the issue, we recommend that you increase the number of user processes to 1024 using the following command:
chdev -l sys0 -a maxuproc=1024