Tuesday, August 27, 2019

How To Gather Information To Diagnose A Java OutOfMemory Error In 11i, R12, or 12.1.1 (Doc ID 842857.1)

APPLIES TO:

Oracle E-Business Suite Technology Stack - Version 11.5.0 to 12.1.1 [Release 11.5 to 12.1]
Information in this document applies to any platform.
Information in this document applies to any platform.

GOAL

This document aims to give the reader steps to gather information that can be helpful
in diagnosing java.lang.outofmemory errors that you may be experiencing when running Ebusiness Suite versions 11i, R12 or 12.1.1.
Your users may have experienced java.lang.outofmemory errors 'on screen' or perhaps after an unexpected outage the error was seen in the ias log files. The existence of this error indicates one of three things.
a) there may not be enough memory available at the operating system level during peak usage
b) the java virtual machines (JVM's) are not scaled correctly for you user base
c) a memory leak may be occurring (very unlikely on recent code levels)
In most cases the likely cause of the issue is an incorrectly scaled system. As such, please find some helpful questions below that you can use to determine if the system is scaled appropriately for you user base.
The best approach is to collect this information and supply this to Oracle Support for analysis

SOLUTION

11i
1. Upload your jserv.conf and jserv.properties files from all middle tiers
2. How much physical memory do you have for each middle tier?
3. How many cpu's per middle tier
4. What is the result of the following command:
sh -c "`awk -F= '$1 ~ /^JSERVJAVA.*$/ {print $2}' $ORACLE_HOME/../iAS/Apache/Apache/bin/java.sh` -version;"
5. During absolute peak times what is the maximum number of web (not forms) users on the system. Absolute max!
6. During Peak time how much physical memory do you have left on your middle tier (do not count virtual memory)
7. What is your system architecture. How many servers and what services are running on each server?
8. Have you recently implemented any new products and/or allowed more users onto the system?
9. What is the maximum number of peak concurrent users?
10. What web based applications do you use. Please list them all. Also identify those that are used the most
R12/12.1.1
1. Upload your autoconfig xml file from all middle tiers. i.e. the file represented by $CONTEXT_FILE
2. How much physical memory do you have for each middle tier?
3. How many cpu's per middle tier
4. What is the result of the following command:
sh -c "`awk -F= '$1 ~ /^JSERVJAVA.*$/ {print $2}' $ADMIN_SCRIPTS_HOME/java.sh` -version;"
5. During absolute peak times what is the maximum number of web (not forms) users on the system. Absolute max!
6. During Peak time how much physical memory do you have left on your middle tier (do not count virtual memory)
7. What is your system architecture. How many servers and what services are running on each server?
8. Have you recently implemented any new products and/or allowed more users onto the system?
9. What is the maximum number of peak concurrent users?
10.What web based applications do you use. Please list them all. Also identify those that are used the most

No comments:

Post a Comment

Database Options/Management Packs Usage Reporting for Oracle Databases 11.2 and later (Doc ID 1317265.1)

  Database Options/Management Packs Usage Report You can determine whether an option is currently in use in a database by running options_pa...