Tuesday, 10 October 2017

How to increase oacore processes in R12




In EBS projects --depending on the workload , sometimes you need to increase the oacore process counts. There is a detailed calculation to determine the needed oacore process for an instance, but in general; it’s based on the user count.. Basically user count / 100 will give you the needed oacore process count.
Note that, the memory size that you will assign to these processes is also important for determining the right process counts.

Below are the steps to increase oacore process from 1 to 3

1)Take a backup of below files /test/inst/apps/TEST_test02/ora/10.1.3/opmn/conf/opmn.xml and $CONTEXT_FILE

2)Modify $CONTEXT_FILE as follows
From
<oacore_nprocs oa_var="s_oacore_nprocs">1</oacore_nprocs>
To
<oacore_nprocs oa_var="s_oacore_nprocs">3</oacore_nprocs>

3) Modify /test/inst/apps/TEST_test02/ora/10.1.3/opmn/conf/opmn.xml file as follows
under oacore section modify as follows
(<process-type id="oacore" module-id="OC4J" status="enabled"
working-dir="$ORACLE_HOME/j2ee/home">)
From
<process-set id="default_group" numprocs="1"/>
To
<process-set id="default_group" numprocs="3"/>

4) Bounce Apache services

In pre
$ adapcctl.sh status
You are running adapcctl.sh version 120.7.12010000.2
Checking status of OPMN managed Oracle HTTP Server (OHS) instance ...
Processes in Instance: TEST_test02.test02.hyd.com
---------------------------------+--------------------+---------+---------
ias-component                    | process-type       |     pid | status
---------------------------------+--------------------+---------+---------
OC4JGroup:default_group          | OC4J:oafm          |    2023 | Alive 
OC4JGroup:default_group          | OC4J:oacore        |    1899 | Alive 
HTTP_Server                      | HTTP_Server        |    1814 | Alive 

In post
$ adapcctl.sh status
You are running adapcctl.sh version 120.7.12010000.2
Checking status of OPMN managed Oracle HTTP Server (OHS) instance ...
Processes in Instance: TEST_test02.test02.hyd.com
---------------------------------+--------------------+---------+---------
ias-component                    | process-type       |     pid | status
---------------------------------+--------------------+---------+---------
OC4JGroup:default_group          | OC4J:oafm          |   17348 | Alive 
OC4JGroup:default_group          | OC4J:oacore        |   17347 | Alive 
OC4JGroup:default_group          | OC4J:oacore        |   17345 | Alive 
OC4JGroup:default_group          | OC4J:oacore        |   17346 | Alive 
HTTP_Server                      | HTTP_Server        |   17339 | Alive 
adapcctl.sh: exiting with status 0
adapcctl.sh: check the logfile /test/inst/apps/TEST_test02/logs/appl/admin/log/adapcctl.txt for more information ...
$

1 comment:

  1. I simply wanted to write down a quick word to say thanks to you for those wonderful tips and hints you are showing on this site. As a result of checking through the net and meeting techniques that were not productive, Same as your blog I found another one Oracle Cloud Applications .Actually I was looking for the same information on internet for Oracle Cloud Applications Consultant and came across your blog. I am impressed by the information that you have on this blog. Thanks once more for all the details.

    ReplyDelete