SAP Knowledge Base Article - Preview

3036971 - Performance issue in Process Integration & Orchestration due to Logging API

Symptom

You have a Process Integration & Orchestration (PI/PO) system and you frequently experience performance issues in it, mainly related to message processing.

If Java Thread Dumps are taken while the issue is happening, you can see several threads with a stack trace similar to this one:

application="sap.com/com.sap.aii.af.app" isapplicationthread="true" tid=0x00002b6ca80a4000 nid=0x584e / 22606  pthread-id=47747057739520 waiting for monitor entry   [_thread_blocked (_at_safepoint), stack(0x00002b6cfa4a6000,0x00002b6cfa6a7000)] [0x00002b6cfa6a0000] top_bci: 0
   java.lang.Thread.State: BLOCKED (on object monitor)
 at com.sap.tc.logging.Log.writeInt(Lcom/sap/tc/logging/LogRecord;)Ljava/lang/String;(Log.java:847)
 - waiting to lock <0x000000074580e9f0> (a com.sap.tc.logging.FileLog)
 at com.sap.tc.logging.Log.writeInternalByAPI(Lcom/sap/tc/logging/LogRecord;)Lcom/sap/tc/logging/LogRecord;(Log.java:901)
 at com.sap.tc.logging.LogController.writeToLogs(Ljava/util/Collection;Lcom/sap/tc/logging/LogRecord;)Lcom/sap/tc/logging/LogRecord;(LogController.java:2890)
 at com.sap.tc.logging.LogController.messageInternal(Lcom/sap/tc/logging/LogRecord;)Lcom/sap/tc/logging/LogRecord;(LogController.java:2010)
 at com.sap.tc.logging.LogController.prepareLogRecord(Lcom/sap/tc/logging/LogRecord;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lcom/sap/tc/logging/LogRecord;(LogController.java:2112)
 at com.sap.tc.logging.LogController.logTInt(ILcom/sap/tc/logging/LogController;[Lcom/sap/tc/logging/LogController;Ljava/lang/String;Ljava/lang/String;I[Ljava/lang/Object;Ljava/lang/Throwable;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lcom/sap/tc/logging/LogRecord;(LogController.java:2172)
 at com.sap.tc.logging.LogController.logTInt(ILcom/sap/tc/logging/LogController;[Lcom/sap/tc/logging/LogController;Ljava/lang/String;Ljava/lang/String;I[Ljava/lang/Object;Ljava/lang/Throwable;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lcom/sap/tc/logging/LogRecord;(LogController.java:2149)
 at com.sap.tc.logging.Location.entering(Ljava/lang/String;[Ljava/lang/Object;)Lcom/sap/tc/logging/LogRecord;(Location.java:8598)
 at com.sap.aii.af.lib.trace.Trace.entering(Ljava/lang/String;[Ljava/lang/Object;)V(Trace.java:146)


Read more...

Environment

SAP NetWeaver  7.5

Product

SAP NetWeaver all versions ; SAP Process Integration all versions

Keywords

Performance, Slow, Slowness, Messages, Timeout, Logging, LoggingAPI, API, Thread, Dump, Process Integration, PI, Process Orchestration, PO, NetWeaver, XI, AEX , KBA , BC-XI-CON-AFW , J2EE Adapter Framework , SV-PERF-PI , SAP Process Integration (PI) related performance issues , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.