10g SOA: High CPU Seen When Using Inbound Adapter Scheduler (Doc ID 1322465.1)

Last updated on NOVEMBER 03, 2016

Applies to:

Oracle(R) BPEL Process Manager - Version 10.1.3.3 to 10.1.3.5.0
Oracle SOA Platform - Version 11.1.1.1.0 and later
Oracle ESB - Version 10.1.3.3 to 10.1.3.5
Information in this document applies to any platform.
***Checked for relevance on 19-Feb-2013***

Symptoms

In SOA 10g you have implemented Endpoint Activation for inbound polling adapters by following this document: 

Oracle® SOA Suite
Best Practices Guide
10g Release 3 (10.1.3.3.0)
E10971-01
Section:  Scheduling Endpoint Activation

This has been implemented for several adapters and the activation and deactivation time intervals are fairly short, e.g. these are activated and deactivated at three minute intervals.  Also clusterGroupId may be used for singleton adapters. For example you have configured several adapter endpoints as follows in the BPEL projects' bpel.xml files:

<activationAgents>
<activationAgent
className="oracle.tip.adapter.fw.agent.jca.JCAActivationAgent"
partnerLink="ReadFile">
<property
name="clusterGroupId">IN_1.0_default</property>
<property name="endpointScheduleOff">* 0/3 * * * ?</property>
<property
name="schedulerCallout">DefaultSchedulerCalloutImpl</property>
<property name="portType">Get_ptt</property>
<property name="InboundSourceDir"
type="LogicalDirectory">/abc/interface/data/</property>
<property name="endpointScheduleOn">* 0/3 * * * ?</property>
</activationAgent>


In this configuration it has been noticed that there is a high usage of CPU on the SOA server.

By following <Note 779349.1> you have determined that the following threads are causing the high CPU:

----------------- lwp# 148 / thread# 148 --------------------
fc2627d0 * *java/util/HashMap.put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; [compiled] +103 (line 761)
fc005e60 * oracle/tip/adapter/ftp/FTPResourceAdapter.endpointActivation(Ljavax/resource/spi/endpoint/MessageEndpointFactory;Ljavax/resource/spi/ActivationSpec;)V+83 (line 212)
fc005fd0 * oracle/tip/adapter/fw/jca/AdapterFrameworkImpl.endpointActivation(Loracle/tip/adapter/fw/IAdapterFrameworkListener;)V+1178 (line 778)
fc005fd0 * oracle/tip/adapter/fw/agent/jca/JCAActivationAgent.performEndpointActivation(Ljava/util/ArrayList;)V+21 (line 2212)
fc005ab0 * oracle/tip/adapter/fw/agent/jca/JCAActivationAgent.activateInboundJcaEndpoint()V+33 (line 2179)
fc005ab0 * oracle/tip/adapter/fw/agent/jca/JCAActivationAgent.onHeartBeat(Lcom/collaxa/cube/engine/ICubeContext;)V+105 (line 1644)
fc005fd0 * com/collaxa/cube/activation/HeartBeatListenerJob.execute(Lorg/quartz/JobExecutionContext;)V+52 (line 81)
fc005fd0 * org/quartz/core/JobRunShell.run()V+170 (line 390)
fc409fd4 * *org/quartz/simpl/SimpleThreadPool$WorkerThread.run()V [compiled] +61 (line 1025)
fc00021c * StubRoutines (1)
fe55e414 __1cJJavaCallsLcall_helper6FpnJJavaValue_pnMmethodHandle_pnRJavaCallArguments_pnGThread__v_ (fc0001c0, 13bb800, 1, 13bc158, 768ff6a8, 7067fc98) + 208
fe91ec88 __1cJJavaCallsMcall_virtual6FpnJJavaValue_nLKlassHandle_nMsymbolHandle_4pnRJavaCallArguments_pnGThread__v_ (7067fc90, 13bc15c, 13bc168, 8cdc00, 7067fb78, ff73220c) + 10c
fe5f124c __1cJJavaCallsMcall_virtual6FpnJJavaValue_nGHandle_nLKlassHandle_nMsymbolHandle_5pnGThread__v_ (7067fc90, 7067fc8c, 7067fc88, 7067fc84, 7067fc80, 13bc15c) + 74
fe603b14 __1cMthread_entry6FpnKJavaThread_pnGThread__v_ (73833470, 13bb800, 53c00, fee80604, fee802ec, fee7ffdc) + 110
fec24f08 __1cKJavaThreadRthread_main_inner6M_v_ (13bb800, 13bbd58, 94, 1b, fee2c000, 0) + 48
feb53790 java_start (13bb800, 91, 6756f8, 40d74, fee2c000, fed78381) + 150
ff2c94f0 _lwp_start (0, 0, 0, 0, 0, 0)

----------------- lwp# 150 / thread# 150 --------------------
fc2627d4 * *java/util/HashMap.put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; [compiled] +103 (line 761)
fc005940 * oracle/tip/adapter/ftp/FTPResourceAdapter.endpointActivation(Ljavax/resource/spi/endpoint/MessageEndpointFactory;Ljavax/resource/spi/ActivationSpec;)V+32 (line 205)
fc005fd0 * oracle/tip/adapter/fw/jca/AdapterFrameworkImpl.endpointActivation(Loracle/tip/adapter/fw/IAdapterFrameworkListener;)V+1178 (line 778)
fc005fd0 * oracle/tip/adapter/fw/agent/jca/JCAActivationAgent.performEndpointActivation(Ljava/util/ArrayList;)V+21 (line 2212)
fc005ab0 * oracle/tip/adapter/fw/agent/jca/JCAActivationAgent.activateInboundJcaEndpoint()V+33 (line 2179)
fc005ab0 * oracle/tip/adapter/fw/agent/jca/JCAActivationAgent.onHeartBeat(Lcom/collaxa/cube/engine/ICubeContext;)V+105 (line 1644)
fc005fd0 * com/collaxa/cube/activation/HeartBeatListenerJob.execute(Lorg/quartz/JobExecutionContext;)V+52 (line 81)
fc005fd0 * org/quartz/core/JobRunShell.run()V+170 (line 390)
fc409fd4 * *org/quartz/simpl/SimpleThreadPool$WorkerThread.run()V [compiled] +61 (line 1025)
fc00021c * StubRoutines (1)
fe55e414 __1cJJavaCallsLcall_helper6FpnJJavaValue_pnMmethodHandle_pnRJavaCallArguments_pnGThread__v_ (fc0001c0, 14ddc00, 1, 14de1e8, 768ff6a8, 7061fb98) + 208
fe91ec88 __1cJJavaCallsMcall_virtual6FpnJJavaValue_nLKlassHandle_nMsymbolHandle_4pnRJavaCallArguments_pnGThread__v_ (7061fb90, 14de1ec, 14de1f8, 8cdc00, 7061fa78, ff73220c) + 10c
fe5f124c __1cJJavaCallsMcall_virtual6FpnJJavaValue_nGHandle_nLKlassHandle_nMsymbolHandle_5pnGThread__v_ (7061fb90, 7061fb8c, 7061fb88, 7061fb84, 7061fb80, 14de1ec) + 74
fe603b14 __1cMthread_entry6FpnKJavaThread_pnGThread__v_ (73833470, 14ddc00, 53c00, fee80604, fee802ec, fee7ffdc) + 110
fec24f08 __1cKJavaThreadRthread_main_inner6M_v_ (14ddc00, 14e4760, 96, 1b, fee2c000, 0) + 48
feb53790 java_start (14ddc00, 93, b164a8, 40d74, fee2c000, fed78381) + 150
ff2c94f0 _lwp_start (0, 0, 0, 0, 0, 0)

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms