Java EWA Sample
Java EWA Sample
The following SAP EarlyWatch Alert (EWA) report for a SAP NetWeaver Portal system gives you an overview of the checks available for the SAP NetWeaver Java stack. It can be used as a reference for the content you can expect to find when you have successfully set up the infrastructure required for the SAP EarlyWatch Alert. For a Java stack system, set up Solution Manager Diagnostics and follow SAP Note 976054. Attached to the note you can find the User Guide for EWA for non-ABAP components. Additional information: For more information about the set up of Solution Manager Diagnostics, see: o http://service.sap.com/instguides Solution Manager Release 4.0 (direct link http://service.sap.com/~form/sapnet?_SHORTKEY=01100035870000673252&) o Here you can find: Wily Introscope Installation Guide Configuration Guide for SAP Solution Manager For more technical information about the SAP EarlyWatch Alerts report content, see the Solution Manager Learning Maps. You can find these documents in SAP Service Marketplace at http://service.sap.com/rkt-solman Solution Manager 4.0 o Select the required Learning Map: Learning Map for Technology Consultants and System Administrator EWA, SL, and Solution Reporting o The following two documents refer to the SAP EarlyWatch Alert for the Java stack: Non-ABAP Components in EWA Overview Non-ABAP Components in EWA Garbage Collection Analysis
Service Report
SAP EarlyWatch Alert
Not Productive
Customer
<dat_dummy>
Service Summary
1 Service Summary
During this EarlyWatch Alert Session, we detected issues that could potentially affect your system. We recommend that you take corrective action as soon as possible.
Note:
All recommendations provided in this report are based on our general experience. We advise that you test our recommendations before using them in your production system. Also note that EarlyWatch Alert is an automatic service.
Section Overview Rating Checked Area Java VM Memory Performance Java VM Activity Reporting Note: For more information about EarlyWatch Alert, a sample EarlyWatch Alert report with explanations is available in the Media Library on SAP Service Marketplace (http://service.sap.com/ewa). This provides an overview of the check rating strategy and the KPIs that trigger the EWA alerts.
Alert Message Overview Note: If you need help investigating the alerts listed, order an EarlyWatch contract by contacting your local support organization or by creating a customer message in component SV-BO. If you already have such a contract, a detailed analysis can be performed during the next Service Session. Address the topic during preparation for the session. If you experience serious performance problems, create a customer message on component SV-BO with the priority "high" or "very high".
Note:
Background: The "MaxHeapSize" defines the maximum amount of memory that the Java VM provides for Java objects. "Xms" is the minimum amount of memory that is configured.
Java Performance Data The table above displays the cluster-wide weekly average of Garbage Collection (GC) time. Garbage collections themselves have a direct impact on system performance. Furthermore, they may also be indicative of more substantial performance issues that may require further analysis. Hostname XXXX601.XXX-group.com XXXX601.XXX-group.com Cluster Element ID 8478850 8478851 Average [%] 0,06 0,06 Max [%] 0,19 0,17
The table above lists the average and the maximum GC time for the server nodes calculated as defined above. You should investigate particularly high values since these can point to critical situations. As a starting point to analyze errors, you should analyze the log files of the particular server node for the given timeframe. Recommendations: If a high percentage of time is spent in garbage collections, you can measure its impact on performance directly. Thus, if the average value is particularly large, you need to analyze this from a general performance perspective. Temporarily high values of the GC time indicate critical situations. You should analyze these specific situations in comparison with other key performance indicators in this report to determine potential correlations.
Thresholds: Small, non-negative growth rates are not critical and are within the statistical fluctuations usually observed for this parameter. To assess the potential criticality, you have to compare this number to the available heap size, and in particular, the size of the old space. Recommendation: Further analysis is required to determine the cause of rapid memory growth phases. In many cases, these are accompanied by increases in load, which in turn are often characterized by increases in HTTP sessions. The first stage is to analyze these correlations.
Usage of Effective Old Space (Cluster wide)[%] 17,73 The effective old space is defined as the part of the old space that triggers a full garbage collection if filled completely. In a simple definition, it can be regarded as the old space minus the new space, since a full garbage collection is triggered if the old space does not have sufficient space to receive the new space.
Java Performance Data Hostname XXXX601.XXX-group.com XXXX601.XXX-group.com Cluster Element ID 8478850 8478851 Average [%] 18,05 17,40
In general, minor garbage collections must occur more frequently than full garbage collections. A consecutive number of full garbage collections is a clear indicator that the Java Virtual Machine (JVM) is not removing objects from the old space. If the dynamic behavior of the JVM is dominated by old space memory removal, insufficient resources are available to accept requests and their newly-created objects. In this case, the parameter below is analyzed. On a floating interval of all garbage collections, the fraction of full garbage collections is calculated.
The above table displays the weekly average and maximum value of HTTP sessions for each server node. A large difference in the values between different server nodes could be caused by unbalanced load distribution.
The above table displays the weekly average and maximum value of active Application Threads per server node. A high difference between the values for different server nodes could be caused by unbalanced load distribution or different configuration.
Recommendations: Investigate the tuning potential of Web Dynpro applications that have persistently high average response times.
Java Performance Data Rank 4 Name local/WDCustomerPDF/WDCustomerPDFApp Accumulated Time [h] 0.00 Executions 17
Recommendations: Web Dynpro applications with a large accumulated time potentially have a larger overall performance impact. This may be worth further investigation.
Recommendations: The performance tuning potential of servlet/JSP requests with high average response times should be investigated.
Recommendations: Servlet/JSP requests with a high accumulated time potentially have a larger overall impact on performance that may be worth investigating further.
Java Performance Data Rank Name 1 2 3 4 5 6 7 8 9 10 MSP101@XXXX402sap|JCO|/XXX/RFC_CS_IFLO_HIERARCHY2 MSP-101@XXXX422|JCO|RFC_GET_FUNCTION_INTERFACE MSP-101@XXXX423|JCO|/XXX/RFC_CUSTOMER_MUW MSP-101@XXXX424|JCO|DD_GET_FIELD_INFO MSP-101@XXXX423|JCO|/XXX/PORTAL_GET_DOCUMENTS MSP-101@XXXX422|JCO|DD_GET_FIELD_INFO MSP-101@XXXX423|JCO|DD_GET_FIELD_INFO MSP-101@XXXX421|JCO|DD_GET_CURRENCIES MSP-101@XXXX421|JCO|DD_GET_FIELD_INFO MSP-101@XXXX424|JCO|/XXX/RFC_CUSTOMER_MUW Average Response Time [ms] 4364 1385 987 860 828 726 514 484 403 301 Executions 13 14 4 5 2 5 13 4 18 3
Recommendations: JCo calls with high average response times should be investigated with respect to the performance of the associated back-end application or, if all JCo calls show persistently bad performance in general, with respect to potential network-related performance issues. The following top list is sorted by the accumulated response time during the reporting interval. Rank Name 1 2 3 4 5 6 7 8 9 10 MSP101@XXXX402sap|JCO|/XXX/RFC_CS_IFLO_HIERARCHY2 MSP-101@XXXX422|JCO|RFC_GET_FUNCTION_INTERFACE MSP-101@XXXX421|JCO|DD_DOMA_GET MSP-101@XXXX421|JCO|RFC_GET_FUNCTION_INTERFACE MSP-101@XXXX421|JCO|DD_GET_FIELD_INFO MSP-101@XXXX423|JCO|DD_GET_FIELD_INFO MSP-101@XXXX423|JCO|DD_DOMA_GET MSP-101@XXXX424|JCO|DD_GET_FIELD_INFO MSP-101@XXXX423|JCO|/XXX/RFC_CUSTOMER_MUW MSP-101@XXXX422|JCO|DD_GET_FIELD_INFO Accumulated Time [h] 0.02 0.01 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 Executions 13 14 606 39 18 13 406 5 4 5
Recommendations: Investigate the potential overall performance impact of JCo calls with high accumulated times.
1 2 3 4
YYY XXXX601-1527 (Oracle DB)|SQL|Prepared|Query|SELECT COUNT (*) FROM "EP_ATTR_VALUES" YYY XXXX601-1527 (Oracle DB)|SQL|Prepared|Query|SELECT COUNT (*) FROM "EP_ATTR_HEADERS" YYY XXXX601-1527 (Oracle DB)|SQL|Prepared|Query|SELECT COUNT (*) FROM "EP_OBJECTS" YYY XXXX601-1527 (Oracle DB)|SQL|Prepared|Query|SELECT "FILE_CONTENTS" FROM "MM_CS_EXT_FILES" WHERE "FILE_NAME" = ?
10 10 10 20
Java Performance Data Rank Name Average Response Time [ms] 133 Executions
6 7 8 9
10
YYY XXXX601-1527 (Oracle DB)|SQL|Prepared|Query|SELECT "SESSIONUID", "PRINCIPAL", "APPLICATION", "CREATIONTIME", "CLIENTCOUNT", "MM_STATE", "STATETIME", "USESSUBSCRIBER", "PRODUCTINFO1", "PRODUCTINFO2", "PRODUCTINFO3", "PRODUCTINFO4" FROM "MM_SERVICESESSIONS" WHERE "MM_STATE" = ? YYY XXXX601-1527 (Oracle DB)|SQL|Prepared|Query|SELECT COUNT (*) FROM "EP_SHORT_STRS" YYY XXXX601-1527 (Oracle DB)|SQL|Prepared|Query|SELECT DISTINCT "DSTID" FROM "BC_JMSTOPIC" YYY XXXX601-1527 (Oracle DB)|SQL|Prepared|Query|SELECT MAX ("TIMESTMP") FROM "BC_SYNCLOG" YYY XXXX601-1527 (Oracle DB)|SQL|Prepared|Query|UPDATE "J2EE_CONFIGENTRY" SET "FBLOB" = ? WHERE "CID" = ? AND "NAMEHASH" = ? AND "NAME" = ? AND "ISFILE" = ? YYY XXXX601-1527 (Oracle DB)|SQL|Prepared|Query|SELECT COUNT (*) FROM "EP_ATTRS1"
10
109 78 52 50
10 10 10 675
36
10
Recommendations: Investigate the performance of the database associated with SQL select statements that have high average response times. If all statements show persistently bad performance in general, investigate potential networkrelated performance issues.
0.01
675
0.01
19992
0.01
10534
0.01
13234
6 7 8
10 16737 953978
Java Performance Data Rank Name 9 Accumulated Time [h] Executions 23734
10
YYY XXXX601-1527 (Oracle DB)|SQL|Prepared|Query|SELECT "ID", 0.00 "SUBTREE_ROOT_ID" FROM "EP_OBJECTS" WHERE "PARENT_ID" = ? AND "NAME" = ? YYY XXXX601-1527 (Oracle DB)|SQL|Prepared|Query|SELECT COUNT 0.00 (*) FROM "EP_ATTR_HEADERS"
10
Investigate the potential overall performance impact of SQL statements with high accumulated times.
Anonymous Named
Recommendations: This diagram allows you to determine the hour of the expected peak load. If the critical situations detected are caused by user load, these events should correlate with the user distribution measured.
1 2 3 4 5
com.sap.portal.navigation.portallauncher.default|<UnknownRole> com.sap.portal.pageToolbar|pcd-portal_content/every_user/general/defaultDesktop/ frameworkPages/frameworkpage com.XXX.KIBDepotWD_20060609_rel2|pcdportal_content/XXX/KIB_WD/WDKIB/WDKIBPage _rel01 com.sap.portal.masthead|pcd-portal_content/every_user/general/defaultDesktop/fra meworkPages/frameworkpage com.sap.portal.contentCatalogTreeContent|pcd-portal_content/administrator/super_ admin/super_admin_role/com.sap.portal.content_administration/com.sap.portal.cont ent_admin_ws/com.sap.portal.portal_content com.sap.portal.contentCatalogSearchContent|pcdportal_content/administrator/supe r_admin/super_admin_role/com.sap.portal.content_administration/com.sap.portal.co ntent_admin_ws/com.sap.portal.portal_content com.sap.portal.pcmEditor|pcd-portal_content/com.sap.pct/admin.templates/iviews/e ditors
395
362
10
Java Performance Data Rank Name Average Executions Response Time [ms] 6 12 1
8 9 10
Recommendation: Investigate the performance tuning-potential of iViews with persistently high average response times. Note, however, that this parameter alone does not take into account the frequency with which the iView was called.
8 9
0.00 0.00
87 87
10
0.00
12
Recommendation: Investigate the performance tuning-potential of iViews with persistently high accumulated response times. Note that this parameter takes into account the frequency with which the iView was called. Therefore, the tuning performance of an iView with high accumulated time will have a larger overall effect.
11
Java Performance Data Rank Name 2 3 4 5 6 7 com.sap.portal.navigation.portallauncher.default|<UnknownRole> com.sap.portal.pageToolbar|pcd-portal_content/every_user/general/defaultDesktop/ frameworkPages/frameworkpage com.sap.portal.masthead|pcd-portal_content/every_user/general/defaultDesktop/fra meworkPages/frameworkpage com.sap.portal.runtime.logon.default|<UnknownRole> com.sap.portal.runtime.logon.certlogon|<UnknownRole> com.sap.portal.contentCatalogTreeContent|pcd-portal_content/administrator/super_ admin/super_admin_role/com.sap.portal.content_administration/com.sap.portal.cont ent_admin_ws/com.sap.portal.portal_content com.sap.portal.contentarea|pcd-portal_content/every_user/general/defaultDesktop/ frameworkPages/frameworkpage/com.sap.portal.innerpage com.sap.portal.layoutPortal1_WAandNavPanel|pcdportal_content/every_user/general /defaultDesktop/frameworkPages/frameworkpage/com.sap.portal.innerpage com.sap.portal.export|pcd-portal_content/com.sap.pct/admin.templates/iviews/edit ors Accumulated Executions Time [h] 0.02 0.01 0.01 0.00 0.00 0.00 22 19 19 86 43 12
8 9
0.00 0.00
87 87
10
0.00
12
Recommendation: Investigate the performance tuning-potential of components with persistently high accumulated response times. Note that this parameter takes into account the frequency with which the component was called. Therefore, the tuning performance of a component with high accumulated time will have a larger overall effect.
12