DUAS5: SAP Manager crash or "unable to create new thread"
book
Article ID: 85469
calendar_today
Updated On:
Products
CA Automic Dollar Universe
Issue/Introduction
The manager for SAP crashes or fails to Submit some jobs with the following errors in sapjcs.log: ########################## 2018-27-05 11:00:22 # agt_create_func_thread # Error: unable to create new thread 2018-27-05 11:00:22 # agt_srv_thread_main # No more thread available: request ignored (error 11) ##########################
Product Version: Dollar.Universe 5.6.0 FX25010 + Manager for SAP 4.4.1 Patch level detected: FX25010 (DUAS) + FX24937A (SAP)
Cause
Cause type: Configuration Root Cause: Issue due to the memory limitation in AIX for a process, by default being 256MB.
Environment
OS: IBM AIX
Resolution
Workaround: stop / start the manager for SAP. Solution: increase the LDR_CNTRL limit for the process uxagtsap
1 - Stop the SAP Manager (in case of is still running), 2 - Using the 'ulimit' command, set the value to 'unlimited' for the 'data' : ulimit -d unlimited Double check that this change has been taken in account with the command : ulimit -a The concerned user is the owner of the SAP manager process. 3 - Edit the file 'uxstartjcs.ksh' and add the following environment variable to increase the default limit to 2GB, for example: export LDR_CNTRL=MAXDATA=0x80000000 nohup $UXEXE/uxagtsap ${AREA} ${UCOMPANY} ${UNODE} > $UXSAP/log/univmgr_${UCOMPANY}_${UNODE}_${AREA}.log 2>&1 & unset LDR_CNTRL
Remarks : the value 0x40000000 corresponds to a data segment of 1GB the value 0x80000000 corresponds to a data segment of 2GB
4 - Restart the SAP Manager in using the command 'uxstartjcs.ksh'.