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.