Quantcast
Channel: SCN : Document List - Process Integration (PI) & SOA Middleware
Viewing all articles
Browse latest Browse all 571

Messages got stuck in DispatchDisp Queue of PI while talking with Ariba Network

$
0
0

Symptom

You use Ariba Network Adapter in PI to connect to Ariba Portal as the receiver. You noticed large amount of XML messages got stuck in Queue DispatchDisp, and the used threads by Ariba adapter do not go down all the time (by checking Component Monitoring -> Adapter Engine -> Engine Status, tab ‘Additional Data’ & ‘Messaging Overview’).

You collect a series of thread dumps while the messages are on hold, you will find these Ariba threads are waiting to read from a network socket like:

"MS Queue Worker

[AribaNetworkAdapterSAPNetweaver_http://ariba.com/xi/ASCAdapterRecv]"

cpu=614708.93 ms allocated memory=6.394772596E10 B tid=0x105758330

nid=0x45 prio=3 runnable

,,at java.net.SocketInputStream.socketRead0(Ljava.io.FileDescriptor;[BIII)I(Native Method)

,,at java.net.SocketInputStream.read([BII)I(SocketInputStream.java:129)

Because there is no more free Ariba thread, the DispatchDisp Queue can’t dispatch any incoming messages.

You may increase the parallelism for this adapter according to note 1084161. For instance, add an entry

(name=AribaNetworkAdapterSAPNetweaver_http://ariba.com/xi/ASCAdapter,

Send.maxConsumers=5, Recv.maxConsumers=10, Call.maxConsumers=5, Rqst.maxConsumers=5)

in the value for property “messaging.connectionDefinition”.

You might also limit the maximum receivers for a specific queue as described in note 1136790, so that it will not block the other receiver queues.

The backlog may start processing after you restart the server, but you notice the backlog starts building up again after some time.

 

 

Environment

SAP Netweaver Process Integration; Ariba Network Adapter for SAP NW

 

 

Cause

The network communication between PI and Ariba has broken. Ariba Network Adapter doesn't recognize this, so the communication session is stuck.

 

 

Resolution

Ariba support added a timeout setting for the Ariba adapter:

"Timeout = 5mins"

If there is no response from the sever within this time, the adapter exits, and the connection thread is released.

This is enclosed in the latest installation package (AribaNetworkAdapterSAPNetweaver_v12s2.zip) which is available at http://connect.ariba.com.

Please be aware that any new update, like a new release, will only be updated by Ariba support.

 

 

See Also

1084161 - Performance decrease after applying XI 3.0 SP20 /7.0 SPS12

1136790 - Blocking receiver channel may affect the whole adapter type

 

 


Viewing all articles
Browse latest Browse all 571

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>