U2003043 Invalid 'setuid()' call
search cancel

U2003043 Invalid 'setuid()' call

book

Article ID: 84407

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

Error Message :
U2003043 Invalid 'setuid()' call. Error code: ('11' - 'Resource temporarily unavailable')

Intermittently, a user cannot run jobs, but other users can.  The agent log shows an error:

U2003043 Invalid 'setuid()' call. Error code: ('11' - 'Resource temporarily unavailable')

Investigation

Ask for a "ulimit -a" on the user, who started the agent: 

ulimit -a 

address space limit (Kibytes) (-M) unlimited 
core file size (blocks) (-c) 0 
cpu time (seconds) (-t) unlimited 
data size (Kibytes) (-d) unlimited 
file size (blocks) (-f) unlimited 
locks (-x) unlimited 
locked address space (Kibytes) (-l) 64 
message queue size (Kibytes) (-q) 800 
nice (-e) 0 
nofile (-n) 1024 
nproc (-u) 2048 
pipe buffer size (bytes) (-p) 4096 
max memory size (Kibytes) (-m) unlimited 
rtprio (-r) 0 
socket buffer size (bytes) (-b) 4096 
sigpend (-i) 515261 
stack size (Kibytes) (-s) 10240 
swap size (Kibytes) (-w) not supported 
threads (-T) not supported 
process size (Kibytes) (-v) unlimited 

Environment

Release: Automic 12.3  
Component:

Cause

Cause type:
Configuration
Root Cause: User starting the job has too low a ulimit on their account.

Resolution

The expected values in the ulimit list are the default (1024) or close to it. Increase the -n value to 2048 or higher.

Fix Status: No Fix

Fix Version(s):
N/A

Additional Information

In some situations, restarting the server has been found to fix the issue.