cancel
Showing results for 
Search instead for 
Did you mean: 

Server web browsing slow

Former Member
0 Kudos

Is there a set of instructions for how to performance tune the Crystal Server (2011) web and other services?  Im running on a pretty fast server, no other activity, memory 3GB free out of 12GB, yet i can wait for up to 30 -60 seconds navigating the web pages.  Maybe the repository itself needs tuning?  any guidance would be greatly appreciated.

Accepted Solutions (1)

Accepted Solutions (1)

former_member191664
Active Contributor
0 Kudos

"i can wait for up to 30 -60 seconds navigating the web pages."

Normally, when the web page rendering takes time to complete and your web application server, e.g. tomcat6/7, is running fine without CPU spiking and RAM is plenty, you might need to check

- CMS repository database.  The reason is that the CMS sends the SQL queries to CMS database to extract the folder/object list and then Tomcat/Java web server use that compiled list to render the web page to display on the user's browser.  Thus, if the backend database has bottleneck, the performance, the turnaround time, and the user experience suffer.

Note that

- Check out SAP KB 974781 - Oracle internal maintenance jobs on http://service.sap.com/sap/support/notes/974781 for Oracle tuning,

- you can add -maxobjectsincache 250000 to keep up to 250,000 in CMS cache; thus, to reduce the amount of CMS query by keeping as many objects in CMS cache.  However, the improvement is marginal.

- Check out the CMC -> Servers -> CMS, Metrics and find out the following.

Average Commit Response Time Since Startup (msec)

Average Query Response Time Since Startup (msec)

Longest Commit Response Time Since Startup (msec)

Longest Query Response Time Since Startup (msec)

You want to keep "Average Query/Commit Response Time Since Startup" as low as possible by squeezing any juice out from your CMS database.

- Check out What is the optimal configuration for Platform Search in BI4.x? on http://scn.sap.com/community/bi-platform/blog/2013/06/21/what-is-the-optimal-configuration-for-platf... to minimize the impact from the platform search to avoid it clocking your BI server.

- Separate CMS and Auditing databases

At last, you can tune up Tomcat6/7 web.xml for each deployed application with nocache to false (it means yes, cache), delay and prevent tomcat from compiling and loading the JSP and servlet at run time to reduce the tomcat memory usage and in turn to improve the tomcat performance, and/or separate static/dynamic content by using Apache web server with Tomcat if you find web server is the bottleneck.

Hope this helps,

Jin-Chong

Former Member
0 Kudos

Thanks for the tips, Jin-Chong.  I will try and report back later.

here are the metrics for the CMS...anything look funny?  seems like thats a lot more queries than i would expect - the server was rebooted just last Friday.

Common Server Metrics
Machine Namexxxx
Name Serverxxxx
Registered Namexxxx
Operating SystemWindows Server 2008 6.1
CPU TypeAMD64
CPUs2
RAM (MB)12,287.492
Local TimeTuesday, September 16, 2014 12:43:30 PM EDT
Disk Size (GB)99.997
Used Disk Space (GB)76.022
Version14.0.4.738
Start TimeFriday, September 12, 2014 3:46:37 AM EDT
PID5084
Host Namexxxx
Host IP Addressxxxx
Request Port49371
Busy Server Threads1
Auditing Metrics
Current Number of Auditing Events in the Queue1
Logging Service Metrics
Logging Directoryxxxx
Central Management Service Metrics
Connection to Auditing Database is Established1
CMS Auditor1
Auditing Database Connection NameCrystal_Server_Auditing
Auditing Database User Namesrcadmin
Auditing Database Last Updated OnTuesday, September 16, 2014 12:42:34 PM EDT
Auditing Thread Last Polling Cycle Duration (seconds)180
Auditing Thread Utilization0%
Clustered CMS Serversxxxx
Number of Sessions Established by Concurrent Users3
Number of Sessions Established by Named Users0
Peak Number of User Sessions Since Startup4
Number of Sessions Established by Servers8
Number of Sessions Established by All Users3
Failed Jobs158
Pending Jobs69
Running Jobs0
Completed Jobs1876
Waiting Jobs0
Concurrent User Licenses5
Named User Licenses5
Build Date2012/06/11:18:38:06
System Database Connection NameCrystal_Server
System Database Server Namexxxx;crystal_server;microsoft sql server;10.50.4033
System Database User Namesrcadmin
Data Source NameCrystal_Server
Build Number738
Product Version14.0.3
Resource Version14.0.3
Average Commit Response Time Since Startup (msec)4
Average Query Response Time Since Startup (msec)4
Longest Commit Response Time Since Startup (msec)7509
Longest Query Response Time Since Startup (msec)44144
Number of Commits Since Startup243333
Number of Queries Since Startup1837255
Number of User Logons Since Startup75
Established System Database Connections14
Currently Used System Database Connections0
Pending System Database Requests0
Number of Objects in CMS System Cache6486
Number of Objects in CMS System DB11505
Existing Concurrent User Accounts10
Existing Named User Accounts1

also am seeing errors in the event viewer, may be related?  Cannot write to cache folder F:\Program Files (x86)\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\Data\\CrystalReportsCachingServer\temp\xxxx.CrystalReportsCacheServer\parent\cache. This indicates a high request volume for the configured size of the cache. This problem can be solved by increasing the size of the cache.

former_member191664
Active Contributor
0 Kudos
  1. Judging from the "Number of Objects in CMS System Cache=6486 and Number of Sessions Established by All Users=3", your BI4.0 SP04 (14.0.4.738) is a relative small system.
  2. The "Average Query/Commit Response Time Since Startup=4" is excellent; however, the "Longest Query Response Time Since Startup=44144", which is a bit high, indicates that your CMS database SQLServer has some spike in turnaround time and can be tuned for optimization.
  3. You can increase the "System Database Connections" to 50 from default 14 and see if this will give you marginal improvement in CMS queries turnaround time.  Note that is it odd that your "Used System Database Connections=0".
  4. Since you are on BI4.0 SP04 (see Business Intelligence platform 4.0/4.1 and Crystal Server 2011/2013 - Version Information  on http://scn.sap.com/docs/DOC-31812), you may want to check out the release notes from BI4.1 SP03 and SP04 for the performance improvement over yours.
  5. Increase CrystalReportsCacheServer's "Maximum Cache Size" to 1GB or more per instruction from event viewer's error.
  6. Check out the 156 Failed Jobs from Instance manager to see what kind of job error(s) are there.

Hope this helps,

Jin-Chong

Answers (0)