You are on page 1of 2

SAP Knowledge Base Article

    1711087 - The CMC Authentication page is slow to open and CMS memory grows extremely high  
Version   3     Validity: 22.05.2012 - active   Language   English

Symptom
When logging into the CMC and navigating to the Authentication page, the individual plugin pages (SAP, LDAP and WinAD) are slow to open. 

In addition, the CMS memory consumption grows extraordinarily high immediately after viewing one of these pages.

Reproducing the Issue


1.) Restart the CMS and let it fully initialize and startup before any users log into the system.

2.) Log into CMC as any administrative user.

3.) Navigate to:  CMC Home > Authentication > SAP

4.) Open task manager on the server console and watch the CMS memory grow while the query runs in the background to return the information on
the page.  In this case, it grows from ~300 MB to 2+ GB and the page takes about 7-8 minutes to appear.

Cause
BI4 includes a new feature that allows an Administrator to schedule the SAP user and SAP group graphs to update on a recurring schedule.  In 
previous versions, this functionality was done via a Program Object where you had access to the history of the schedule.  Now in BI4, the recurring 
schedule is not run through a program object and is only accessible from the following location:

CMC Home > Authentication > SAP > 'User Update' tab

In this new location, there are no means of viewing the history of the schedules and over time, the instance count can grow extremely large.  As the 
instance count grows, so will the time needed to view these Authentication pages in the CMC.  In addition, the larger the instance count, the more 
memory the CMS will grow to when it queries for these objects.

Resolution
To see if this issue pertains to your situation, run the following query in the BI4 Query Builder.

SELECT si_id, si_name, si_cuid, si_children FROM ci_appobjects WHERE si_cuid = 'Afqsxs5v179HpYaUtXhtK2A' or si_cuid = 
'ATny4uBw60tKpHUAfhff22E'

The results of the query should look something like:

---------------------
si_name = Update Authentication Group Membership
si_cuid = Afqsxs5v179HpYaUtXhtK2A
si_id = 533
si_children = 49,134
---------------------
si_name = Update Authentication Group Membership and User Aliases
si_cuid = ATny4uBw60tKpHUAfhff22E
si_id = 538
si_children = 50,503
---------------------

The si_children value signifies the amount of instances for each object. If this instance count is high (in the thousands), you may have this issue. 

Option 1:  The issue was tracked in ADAPT01632367 and has been corrected in "BI4 Feature Pack 03 Patch 5".  It will also be forward fitted into 
"BI4 Support Pack 04"

Option 2:  Workaround.  The following can be used to improve performance while the fix is being developed.  This workaround involves dropping 
rows from the CMS database, and as such, should only be considered if option #1 doesn't exist.

Workaround:

1.) Be sure to have a recent backup your CMS database in case you need a restore point.

2.) Write down the two SI_ID values for the two objects returned in the query above.  You’ll need these for the following steps.

3.) Stop all CMS's in the environment.

4.) Run the following queries directly on the CMS database.  Use whichever native database tool to do this. (IE.  Sqlplus if Oracle, SQLServer 
Management Studio if SQL Server, etc).  Replace the id's after "PARENTID =" with the SI_ID you captured in step 2.  In many cases these id's will 
match the numbers shown below.

Delete from CMS_INFOOBJECTS7 where PARENTID = 533


Delete from CMS_INFOOBJECTS7 where PARENTID = 538

5.) After the queries above are committed to the database and the corresponding rows are dropped, you can start the CMS.  You should see an 
immediate improvement in performance.  The same page that took minutes to return before should now take seconds.  Nor should there be a 
substantial growth in memory when accessing this page in the CMC.

 
 

Keywords
adapt , adapt01632368 , ADAPT01632367 , ADAPT01632757 , RUBI403 , high memory , authentication , jkuhn 

Header Data
Released On 22.05.2012 20:03:20
Release Status Released to Customer
Component BI-BIP-ADM User & server configuration, InfoView refresh, user rights
Other Components BI-BIP-AUT Authentication, ActiveDirectory, LDAP, SSO, Vintela
Priority Normal
Category Bug Filed

Product
Product Product Version
SAP BusinessObjects Business Intelligence platform SAP BusinessObjects Business Intelligence platform 4.0

You might also like