opmn.xml 是由autoconfig生成的重要参数配置文件。通常的路径如下:
/ebsfs/EBSPROD/inst/apps/EBSPROD_erp/ora/10.1.3/opmn/conf/opmn.xml
通过调整java的启动参数和numprocs 可以提升系统的负载。
文件描述
<!-- $Header: opmn_xml_1013.tmp 120.22.12010000.5 2010/02/17 10:51:33 sbandla ship $ -->
<!-- Configuration file for OPMN -->
<!--
###############################################################
This file is automatically generated by AutoConfig. It will be read and
overwritten. If you were instructed to edit this file, or if you are not
able to use the settings created by AutoConfig, refer to Metalink Note
387859.1 for assistance.
###############################################################
oc4j home
<process-type id="home" module-id="OC4J" status="disabled" working-dir="$ORACLE_HOME/j2ee/home">
<module-data>
<category id="start-parameters">
<data id="java-options" value="-server -Djava.security.policy=$ORACLE_HOME/j2ee/home/config/java2.policy -Djava.awt.headless=true -Dhttp.webdir.enable=false"/>
<data id="java-bin" value="/ebsfs/EBSPROD/inst/apps/EBSPROD_erp/admin/scripts/java.sh"/>
</category>
<category id="stop-parameters">
<data id="java-options" value="-Djava.security.policy=$ORACLE_HOME/j2ee/home/config/java2.policy -Djava.awt.headless=true -Dhttp.webdir.enable=false"/>
</category>
</module-data>
<start timeout="600" retry="2"/>
<stop timeout="120"/>
<restart timeout="720" retry="2"/>
<port id="default-web-site" range="22500-22504" protocol="ajp"/>
<port id="rmi" range="21000-21004"/>
<port id="jms" range="24000-24004"/>
<!--<ping timeout="300" interval="30" retry="5"/> -->
<process-set id="default_group" numprocs="3"/>
</process-type>
oc4j oacore
<process-type id="oacore" module-id="OC4J" status="enabled" working-dir="$ORACLE_HOME/j2ee/home">
<module-data>
<category id="start-parameters">
<data id="java-options" value="-server -verbose:gc -Xmx2048M -Xms2048M -XX:MaxPermSize=512M -XX:NewRatio=2 -XX:+PrintGCTimeStamps -XX:+UseTLAB -XX:+UseParallelGC -XX:ParallelGCThreads=2 -Dcom.sun.management.jmxremote -Djava.security.policy=$ORACLE_HOME/j2ee/oacore/config/java2.policy -Djava.awt.headless=true -Dhttp.webdir.enable=false -Doracle.security.jazn.config=/ebsfs/EBSPROD/inst/apps/EBSPROD_erp/ora/10.1.3/j2ee/oacore/config/jazn.xml -Dhttp.cookie.ignoreCommaInCookiesNamed=X_NoMatchingCookies"/>
<data id="java-bin" value="/ebsfs/EBSPROD/inst/apps/EBSPROD_erp/admin/scripts/java.sh"/>
<data id="oc4j-options" value="-out /ebsfs/EBSPROD/inst/apps/EBSPROD_erp/logs/ora/10.1.3/opmn/oacorestd.out -err /ebsfs/EBSPROD/inst/apps/EBSPROD_erp/logs/ora/10.1.3/opmn/oacorestd.err"/>
</category>
<category id="stop-parameters">
<data id="java-options" value="-server -verbose:gc -Xmx2048M -Xms2048M -XX:MaxPermSize=512M -XX:NewRatio=2 -XX:+PrintGCTimeStamps -XX:+UseTLAB -XX:+UseParallelGC -XX:ParallelGCThreads=2 -Djava.security.policy=$ORACLE_HOME/j2ee/oacore/config/java2.policy -Djava.awt.headless=true -Dhttp.webdir.enable=false"/>
</category>
<category id="security-parameters">
<data id="wallet-file" value="file:/ebsfs/EBSPROD/inst/apps/EBSPROD_erp/certs/Apache"/>
</category>
</module-data>
<start timeout="600" retry="3"/>
<stop timeout="120"/>
<restart timeout="720" retry="2"/>
<port id="default-web-site" range="21500-21504" protocol="ajp"/>
<port id="rmi" range="20000-20004"/>
<port id="jms" range="23000-23004"/>
<!--<ping timeout="300" interval="30" retry="5"/> -->
<process-set id="default_group" numprocs="3"/>
</process-type>
oc4j forms
<process-type id="forms" module-id="OC4J" status="enabled" working-dir="$ORACLE_HOME/j2ee/home">
<module-data>
<category id="start-parameters">
<data id="java-options" value="-server -verbose:gc -Xmx2048M -Xms2048M -XX:MaxPermSize=512M -XX:NewRatio=2 -XX:+PrintGCTimeStamps -XX:+UseTLAB -XX:+UseParallelGC -XX:ParallelGCThreads=2 -Djava.security.policy=$ORACLE_HOME/j2ee/oacore/config/java2.policy -Djava.awt.headless=true -Dhttp.webdir.enable=false -Doracle.security.jazn.config=/ebsfs/EBSPROD/inst/apps/EBSPROD_erp/ora/10.1.3/j2ee/forms/config/jazn.xml"/>
<data id="java-bin" value="/ebsfs/EBSPROD/inst/apps/EBSPROD_erp/admin/scripts/java.sh"/>
<data id="oc4j-options" value="-out /ebsfs/EBSPROD/inst/apps/EBSPROD_erp/logs/ora/10.1.3/opmn/formsstd.out -err /ebsfs/EBSPROD/inst/apps/EBSPROD_erp/logs/ora/10.1.3/opmn/formsstd.err" />
</category>
<category id="stop-parameters">
<data id="java-options" value="-server -verbose:gc -Xmx2048M -Xms2048M -XX:MaxPermSize=512M -XX:NewRatio=2 -XX:+PrintGCTimeStamps -XX:+UseTLAB -XX:+UseParallelGC -XX:ParallelGCThreads=2 -Djava.security.policy=$ORACLE_HOME/j2ee/oacore/config/java2.policy -Djava.awt.headless=true -Dhttp.webdir.enable=false"/>
</category>
<category id="security-parameters">
<data id="wallet-file" value="file:/ebsfs/EBSPROD/inst/apps/EBSPROD_erp/certs/Apache"/>
</category>
</module-data>
<start timeout="600" retry="2"/>
<stop timeout="120"/>
<restart timeout="720" retry="2"/>
<port id="default-web-site" range="22000-22004" protocol="ajp"/>
<port id="rmi" range="20500-20504"/>
<port id="jms" range="23500-23504"/>
<!--<ping timeout="300" interval="30" retry="5"/> -->
<process-set id="default_group" numprocs="3"/>
</process-type>
oc4j oafm
<process-type id="oafm" module-id="OC4J" status="enabled" working-dir="$ORACLE_HOME/j2ee/home">
<module-data>
<category id="start-parameters">
<data id="java-options" value="-server -verbose:gc -Xmx2048M -Xms2048M -XX:MaxPermSize=512M -XX:NewRatio=2 -XX:+PrintGCTimeStamps -XX:+UseTLAB -XX:+UseParallelGC -XX:ParallelGCThreads=2 -Djava.security.policy=$ORACLE_HOME/j2ee/oacore/config/java2.policy -Djava.awt.headless=true -Dhttp.webdir.enable=false -Doracle.security.jazn.config=/ebsfs/EBSPROD/inst/apps/EBSPROD_erp/ora/10.1.3/j2ee/oafm/config/jazn.xml"/>
<data id="java-bin" value="/ebsfs/EBSPROD/inst/apps/EBSPROD_erp/admin/scripts/java.sh"/>
<data id="oc4j-options" value="-out /ebsfs/EBSPROD/inst/apps/EBSPROD_erp/logs/ora/10.1.3/opmn/oafmstd.out -err /ebsfs/EBSPROD/inst/apps/EBSPROD_erp/logs/ora/10.1.3/opmn/oafmstd.err" />
</category>
<category id="stop-parameters">
<data id="java-options" value="-server -verbose:gc -Xmx2048M -Xms2048M -XX:MaxPermSize=512M -XX:NewRatio=2 -XX:+PrintGCTimeStamps -XX:+UseTLAB -XX:+UseParallelGC -XX:ParallelGCThreads=2 -Djava.security.policy=$ORACLE_HOME/j2ee/oacore/config/java2.policy -Djava.awt.headless=true -Dhttp.webdir.enable=false"/>
</category>
<category id="security-parameters">
<data id="wallet-file" value="file:/ebsfs/EBSPROD/inst/apps/EBSPROD_erp/certs/Apache"/>
</category>
</module-data>
<start timeout="600" retry="2"/>
<stop timeout="120"/>
<restart timeout="720" retry="2"/>
<port id="default-web-site" range="25000-25004" protocol="ajp"/>
<port id="rmi" range="25500-25504"/>
<port id="jms" range="24500-24504"/>
<!--<ping timeout="300" interval="30" retry="5"/>-->
<process-set id="default_group" numprocs="3"/>
</process-type>
oc4j forms-c4ws
<process-type id="forms-c4ws" module-id="OC4J" status="disabled" working-dir="$ORACLE_HOME/j2ee/home">
<environment>
<variable id="DISPLAY" value="erp:0.0" append="true"/>
</environment>
<module-data>
<category id="start-parameters">
<data id="java-options" value="-server -verbose:gc -Xmx1024M -Xms1024M -XX:MaxPermSize=256M -XX:NewRatio=2 -XX:+PrintGCTimeStamps -XX:+UseTLAB -XX:+UseParallelGC -XX:ParallelGCThreads=2 -Djava.security.policy=$ORACLE_HOME/j2ee/oacore/config/java2.policy -Djava.awt.headless=false -Dhttp.webdir.enable=false -Doracle.security.jazn.config=/ebsfs/EBSPROD/inst/apps/EBSPROD_erp/ora/10.1.3/j2ee/forms-c4ws/config/jazn.xml"/>
<data id="java-bin" value="/ebsfs/EBSPROD/inst/apps/EBSPROD_erp/admin/scripts/java.sh"/>
<data id="oc4j-options" value="-out /ebsfs/EBSPROD/inst/apps/EBSPROD_erp/logs/ora/10.1.3/opmn/forms-c4wsstd.out -err /ebsfs/EBSPROD/inst/apps/EBSPROD_erp/logs/ora/10.1.3/opmn/forms-c4wsstd.err" />
</category>
<category id="stop-parameters">
<data id="java-options" value="-server -verbose:gc -Xmx1024M -Xms1024M -XX:MaxPermSize=256M -XX:NewRatio=2 -XX:+PrintGCTimeStamps -XX:+UseTLAB -XX:+UseParallelGC -XX:ParallelGCThreads=2 -Djava.security.policy=$ORACLE_HOME/j2ee/oacore/config/java2.policy -Djava.awt.headless=false -Dhttp.webdir.enable=false"/>
</category>
<category id="security-parameters">
<data id="wallet-file" value="file:/ebsfs/EBSPROD/inst/apps/EBSPROD_erp/certs/Apache"/>
</category>
</module-data>
<start timeout="600" retry="2"/>
<stop timeout="120"/>
<restart timeout="720" retry="2"/>
<port id="default-web-site" range="26000-26004" protocol="ajp"/>
<port id="rmi" range="27500-27504"/>
<port id="jms" range="26500-26504"/>
<!-- <ping timeout="300" interval="30" retry="5"/> -->
<process-set id="default_group" numprocs="0"/>
</process-type>