Thread block in UME when using extensive KM content

[] [] [] [] [] []

Symptom
There is performance degradation if an extensive content in KM is used.
Other terms
KM, UME, Performance, Thread Block
Reason and Prerequisites
The reason for the performance degradation is a UME thread block. When a lot of UME calls to the backend are performed, then one of them is blocking all others. Despite the fact that the calls execution time is relatively short (around 1 ms), their quantity is causing the degradation.
To distinguish this case, you have to look in the thread dumps and check if the following thread is blocking almost all other threads.
at java.util.Properties.getProperty(Properties.java:615)
at com.sap.security.core.util.config.UMConfigurationBase.getStringStatic(UMConfigurationBase.java:155)
at com.sap.security.core.util.imp.WrappingUMParameters.get(WrappingUMParameters.java:127)
at com.sap.security.core.persistence.datasource.imp.CompanyGroups.searchPrincipalDatabags(CompanyGroups.java:771)
at com.sap.security.core.persistence.imp.PrincipalDatabagFactoryInstance.searchPrincipalDatabagsInternal(PrincipalDatabagFactoryInstance.java:4862)
at com.sap.security.core.persistence.imp.PrincipalDatabagFactoryInstance.searchPrincipalDatabags(PrincipalDatabagFactoryInstance.java:4374)
at com.sap.security.core.imp.GroupFactory.getGroupByUniqueName(GroupFactory.java:1418)
at com.sapportals.portal.security.usermanagement.Utils.convertPortalIDintoUMEID(Utils.java:351)
at com.sapportals.portal.security.usermanagement.User50_Impl.isInGroup(User50_Impl.java:348)
at com.sapportals.wcm.util.acl.jdbc.JDBCAcl.containsUser(JDBCAcl.java:849)
at com.sapportals.wcm.util.acl.jdbc.JDBCAcl.basicCheckPermission(JDBCAcl.java:810)
at com.sapportals.wcm.util.acl.jdbc.JDBCAcl.checkPermissions(JDBCAcl.java:588)
… some output is omitted
Solution
This issue is fixed in the following and all subsiquent releases:
SAP Netweaver 7.0 SPS 20Enhancement package 1 for SAP Netweaver 7.0 SPS 5Enhancement package 2 for SAP Netweaver 7.0 SPS 2

[Slashdot] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]

Leave a Comment