2477106 - Performance issue on AS Java server due to session size measurement | SAP Knowledge Base Article

SAP Knowledge Base Article - Preview

2477106 - Performance issue on AS Java server due to session size measurement

Symptom

  1. You notice high CPU or long response time in As Java application server.
  2. You can find long running thread like below.

java.lang.Thread.State: RUNNABLE
at java.lang.reflect.Field.copy()Ljava/lang/reflect/Field;(Field.java:127)
at java.lang.reflect.ReflectAccess.copyField(Ljava/lang/reflect/Field;)Ljava/lang/reflect/Field;(ReflectAccess.java:122)
at sun.reflect.ReflectionFactory.copyField(Ljava/lang/reflect/Field;)Ljava/lang/reflect/Field;(ReflectionFactory.java:289)
at java.lang.Class.copyFields([Ljava/lang/reflect/Field;)[Ljava/lang/reflect/Field;(Class.java:2842)
at java.lang.Class.getDeclaredFields()[Ljava/lang/reflect/Field;(Class.java:1783)
at com.sap.engine.objectprofiler.graph.Node.getAllFields(Ljava/lang/Class;)[Ljava/lang/reflect/Field;(Node.java:322)
at com.sap.engine.objectprofiler.graph.Node.getNonPrimitiveFields(Ljava/lang/Class;Z)[Ljava/lang/reflect/Field;(Node.java:295)
at com.sap.engine.objectprofiler.graph.Node.buildNode(Ljava/lang/Object;Z)Lcom/sap/engine/objectprofiler/graph/Node;(Node.java:150)
at com.sap.engine.objectprofiler.graph.Graph.buildGraphIteratively(Ljava/lang/Object;ILcom/sap/engine/objectprofiler/controller/impl/ClassesFilter;ZZ)V(Graph.java:170)
at com.sap.engine.objectprofiler.graph.Graph.buildGraph(Ljava/lang/Object;ILcom/sap/engine/objectprofiler/controller/impl/ClassesFilter;ZZ)Lcom/sap/engine/objectprofiler/graph/Graph;(Graph.java:143)
at com.sap.engine.objectprofiler.graph.Graph.buildGraph(Ljava/lang/Object;ILcom/sap/engine/objectprofiler/controller/impl/ClassesFilter;)Lcom/sap/engine/objectprofiler/graph/Graph;(Graph.java:137)
at com.sap.engine.services.httpserver.server.sessionsize.SessionSizeManager.getObjectSizeOA(Ljava/lang/Object;I)J(SessionSizeManager.java:347)
at com.sap.engine.services.httpserver.server.sessionsize.SessionSizeManager.getChunksSize(Ljava/util/Hashtable;JI)J(SessionSizeManager.java:308)
at com.sap.engine.services.httpserver.server.sessionsize.SessionSizeManager.addObjectSize(Lcom/sap/engine/services/httpserver/server/sessionsize/SessionRequestInfo;)V(SessionSizeManager.java:152)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.addSessionSize(Lcom/sap/engine/services/httpserver/interfaces/HttpParameters;)V(HttpHandlerImpl.java:285)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(Ljava/lang/String;Lcom/sap/engine/services/httpserver/interfaces/HttpParameters;)V(HttpHandlerImpl.java:215)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(Ljava/lang/String;)V(RequestAnalizer.java:441)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(Lcom/sap/engine/services/httpserver/lib/util/MessageBytes;)V(RequestAnalizer.java:430)


Read more...

Product

SAP NetWeaver all versions

Keywords

high CPU, measurementEnabled, performance, objectprofiler, SessionSizeManager , KBA , BC-JAS-WEB , Web Container, HTTP, JavaMail, Servlets , Problem

About this page

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

Search for additional results

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