OAPP_PGM throws ux_orapps.ksh[9]: ulimit: unlimited: limit exceeded [Operation not permitted]
search cancel

OAPP_PGM throws ux_orapps.ksh[9]: ulimit: unlimited: limit exceeded [Operation not permitted]

book

Article ID: 374057

calendar_today

Updated On:

Products

CA Automic Dollar Universe

Issue/Introduction

When launching a OAPP_PGM uproc via the Manager for Oracle Application under a context of a user where the ulimit -c is set to 0 by default, the following line

ulimit -c unlimit 

that is written in the line 9 of the script <duas_folder>/bin/bin_oapp/ux_orapps.ksh generates the following error in the job log:

ux_orapps.ksh[9]: ulimit: unlimited: limit exceeded [Operation not permitted]

Nevertheless, the execution of the script is not impacted at all.

Environment

Dollar Universe 6.x and 7.x

Manger for Oracle Applications (OAPP / OEBS)

Cause

System limitation to prevent huge core files being generated when invoking several scripts by different users.

Resolution

  1. Backup the file <duas_folder>/bin/bin_oapp/ux_orapps.ksh
  2. Edit the file <duas_folder>/bin/bin_oapp/ux_orapps.ksh
    replacing
    ulimit -c unlimited
    by
    ulimit -c 100000
  3. Save the file and launch a new OAPP_PGM Uproc, the message will no longer appear in the Job Log as now we can set it without problems to 100000 KB (100MB) which is more than enough for a core file produced by this script.

Additional Information

Another possibility to avoid this issue is adding to the $HOME/.bash_profile of the user launching the OAPP_PGM Uprocs the following line:

ulimit -c unlimited