How do you set a higher ulimit than 1024 for AutoSys jobs that run on Linux
search cancel

How do you set a higher ulimit than 1024 for AutoSys jobs that run on Linux

book

Article ID: 20009

calendar_today

Updated On:

Products

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

Issue/Introduction

Description:

On Linux remote agents xinetd is setting an upper limit of ulimit -n 1024

This negatively impacts process that need a higher ulimit.

Solution:

By setting the service to be started to /sbin/runuser and passing the actual service to be started in the parameters the limit can be circumvented by setting the desired limits in /etc/security/limits.conf

Modify the autosys service to:

service autosys
{
socket_type = stream
wait = no
user = root
server = /sbin/runuser
server_args = root - -c <PATH TO AUTOSYS BIN DIR>/auto_remote
disable = no
}

This service is defined in /etc/xinetd.d. The above is an example. Your service name may be different. Also, make sure to specify the actual path to the AutoSys bin directory for "server_args"

Once that is complete and saved, logout and back in as root.

Restart the xinetd service (service xnetd restart)

Jobs will now operate with the soft and hard ulimits for root. They can be changed within a job profile or script up to the hard limit.

Environment

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