Tuning the Linux operating system

If Oracle SOA Suite 11g is installed on a Linux operating system, consider increasing the ulimit for environments with large load. This is to avoid the following error, which appears in the /var/log/messages log under heavy load:

Dec 25 20:53:22 soahost1 sshd[22480]: fatal: setresuid 10000: Resource temporarily unavailable

As the root user, perform the following:

  1. Add the following in /etc/security/limits.conf (assuming the product is installed by the oracle Unix user):
    oracle soft nproc 16384
    oracle hard nproc 63536
    oracle soft nofile 16384
    oracle hard nofile 63536
    
  2. Add the following in /etc/profile (for 32-bit operating systems):
    if [ $USER = "oracle" ]; then if [ $SHELL = "/bin/ksh" ]; then ulimit -p 16384 ulimit ...

Get Oracle SOA Suite 11g Administrator's Handbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.