Dollar Universe SAP jobs failing with memory allocation errors

Document ID : KB000087048
Last Modified Date : 14/04/2018
Show Technical Document Details
Issue:
Affects Release version(s): 5

Error Message :
The following error messages are present in sapjcs.log:
2015-02-05 00:10:01 # agt_process_client_reques # Memory error allocating 62396 bytes for client memory
2015-02-05 00:10:01 # agt_create_func_thread # Error: unable to create new thread
2015-02-05 00:10:01 # agt_srv_thread_main # No more thread available: request ignored (error 11)
2015-02-05 00:36:02 # agt_create_func_thread # Error: unable to create new thread

Patch level detected:Dollar Universe 5.6
On Dollar Universe 5 in AIX, SAP jobs are failing with the above error messages.
Environment:
OS: IBM AIX
OS Version: N/A
Related configuration item(s): Manager SAP 4.4.1
Cause:
Cause type:
Configuration
Root Cause: This issue is due to the file descriptor limits of the SAP manager process owner and the available memory of the SAP manager process.
Resolution:
To fix this issue:
  1. Stop the SAP Manager (in case it is still running)
  2. Using the 'ulimit' command, set the value to 'unlimited' for the 'data':
ulimit -d unlimited
  1. 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.
  1. Edit the file 'uxstartjcs.ksh' and add the following environment variable, for example:
export LDR_CNTRL=MAXDATA=0x40000000
nohup $UXEXE/uxagtsap ${AREA} ${UCOMPANY} ${UNODE} > $UXSAP/log/univmgr_${UCOMPANY}_${UNODE}_${AREA}.log 2>&1 &
unset LDR_CNTRL

Remark : the value 0x40000000 corresponds to a data segment of 1G.
  1. Restart the SAP Manager in using the command 'uxstartjcs.ksh'.


Fix Status: No Fix

Fix Version(s):
N/A
Additional Information:
Workaround :
Restart the SAP Manager