|
|
Increasing the number oacore process type(JVM) and required memory |
Tuesday, June 24, 2008 |
How to increase the number oacore process type(JVM) and required memory: ------------------------------------------------------------------------------ Name of the file: opmn.xml Location in R12:$INST_TOP/apps/SID_HOSTNAME/ora/10.1.3/opmn/conf/opmn.xml Location in 11i:$IAS_ORACLE_HOME/Apache/Jserv/etc/jserv.conf $IAS_ORACLE_HOME/Apache/Jserv/etc/jserv.properties
In this document i'm telling you how to increase JVM in R12. Go to $INST_TOP/apps/SID_HOSTNAME/ora/10.1.3/opmn/conf/
Take a backup of opmn.xml file before editing,
A)Open the opmn.xml file and go to line no-128 and increase numprocs=”4” -- (for 8 cpus)
If you have 6 cpus in server you can increase this JVM upto “3”. So depends on the cpu configuration you increase can it.
B)Now we have increased the number of JVM only we need to increase the memory for JVM. In the same file go to line no-114
FROM:-server -verbose:gc -Xmx512M -Xms128M -XX:MaxPermSize=160M - XX:NewRatio=2 -XX:+PrintGCTimeStamps
As per the metalink document 362851.1 need to increase
Xms128M to Xms256M
Here nproc is number oc4j instance. So to know how much memory has to increase multiply Xms with nproc. Xms X nproc = max memory And make sure that your application tier memory having that much free size.
Now I have 4 nproc and 256 for Xms, So I need to increase Xmx512 to Xmx1024
TO: server -verbose:gc –Xmx1024M -Xms256M -XX:MaxPermSize=256M -XX:NewRatio=2 -XX:+PrintGC TimeStamps
For reference: Xms x nproc = max memory.
The max allocation of memory to the oc4j memory allocated by the Xmx parameter
Nprocs is the number of ocj4 instances
multiply the two together you will get the max memory given to OC4J support
Note: Don’t run autoconfig bounce the all application tiers. |
posted by Senthil Kumaran @ 10:31 PM |
|
|
|
About Me |
Name: Senthil Kumaran
Home: Oslo, Oslo, Norway
About Me: I'm working as a oracle applications dba(Apps DBA OCP) and fusion middleware.This views are my own only and not neccessary to match with others
See my complete profile
|
Previous Post |
|
Archives |
|
Links |
|
Powered by |
|
Add On |
|
|
|
|
|
|
|