Preparing to modify WebSphere Portal client definitions (AIX/Linux/Solaris only)

To reduce the chance of exhausting file handles when the server is experiencing high demand/load, you should increase the default file descriptors ulimit value.

About this task

AIXLinuxSolaris This procedure is necessary for AIX®, Linux, or Solaris operating systems only.

When adding or modifying client definitions, you need to be aware of potentially encountering a memory allocation error. If the ulimit value is set too low, a memory allocation error can occur on AIX, Linux, or Solaris and a too many files open error is logged to the wp_profile_root/logs/WebSphere_Portal/SystemOut.log file. This could cause WebSphere® Portal to stop.

It is recommended setting the ulimit value to at least 2000, or to unlimited, even when the system is not under stress.

To change the ulimit value, perform the following steps.

Procedure

  1. With a text editor, open the following file:

    wp_profile_root/bin/setupCmdLine.sh.

    Note: There is a space between the period (.) and the rest of the command.
  2. Locate the command ulimit -n 1024.
  3. Change 1024 to a higher value (such as 2000) or to the word unlimited (for example, ulimit -n unlimited).
  4. Save your changes.
  5. Restart the portal server using the following commands:
    AIXLinuxSolaris
    wp_profile_root/bin/stopServer.sh server_name -username WAS_admin -password WAS_admin_password_value
    wp_profile_root/bin/startServer.sh server_name

    where server_name is the name of the WebSphere Application Server instance (for example, WebSphere_Portal).




Terms of use
(C) Copyright IBM Corporation 2012. All Rights Reserved.