OPSS PDP Service Tuning Parameters

26 Oracle WebCenter Performance Tuning 26-1 26 Oracle WebCenter Performance Tuning This chapter outlines how to tune configuration properties for the operating system on which WebCenter applications are installed, WebCenter applications, and their back-end components. ■ Section 26.1, About Oracle WebCenter ■ Section 26.2, Tuning Environment Configuration ■ Section 26.3, Tuning WebCenter Application Configuration ■ Section 26.4, Tuning Back-End Component Configuration ■ Section 26.5, Tuning Portlet Configuration

26.1 About Oracle WebCenter

Oracle WebCenter11g is an integrated suite of products used to create social applications, enterprise portals, communities, composite applications, and internet or intranet Web sites on a standards-based, service-oriented architecture SOA. Oracle WebCenter combines the development of rich internet applications, a multi-channel portal framework, and a suite of horizontal Enterprise 2.0 applications, which provide content, presence, and social networking capabilities to create a highly interactive user experience. Interacting with services such as instant messaging, blogs, wikis, RSS, tags, discussion forums, activities and social networks directly within the context of a portal or an application improves user and group productivity and enhances the return on IT investments. Oracle WebCenter Spaces is an out-of-the-box WebCenter application that brings you the latest technology in terms of social networking, communication, collaboration, and personal productivity with no development effort. Through the robust set of integrated services and applications provided by Oracle WebCenter Framework, Oracle WebCenter Composer and Business Dictionary, WebCenter Spaces enables you to deploy instant community portals, team sites and other collaborative applications. For more information about Oracle WebCenter, see Oracle Fusion Middleware Administrators Guide for Oracle WebCenter and Oracle Fusion Middleware Developers Guide for Oracle WebCenter.

26.2 Tuning Environment Configuration

This section describes how to tune the operating system on which WebCenter applications are deployed. It provides information on configuring system limit, JDBC data source, and JRockit virtual machine JVM arguments. This section includes the following: 26-2 Oracle Fusion Middleware Performance and Tuning Guide ■ Setting System Limit ■ Setting JDBC Data Source ■ Setting JRockit Virtual Machine JVM Arguments ■ Using Content Compression to Reduce Downloads

26.2.1 Setting System Limit

To run a WebCenter application at moderate load, set the open-files-limit to 4096. If you encounter errors, such as running out of file descriptors, then increase the system limit. For example, on Linux, you can use this command: ulimit -n 8192 Refer to your operating system documentation to find out how to change this system limit.

26.2.2 Setting JDBC Data Source

The following data source settings are recommended for MDSDS and WebCenterDS. These settings can be adjusted depending on the applications usage pattern and load. jdbc-connection-pool-params initial-capacity10initial-capacity max-capacity50max-capacity capacity-increment1capacity-increment shrink-frequency-seconds0shrink-frequency-seconds highest-num-waiters2147483647highest-num-waiters connection-creation-retry-frequency-seconds0connection-creation-retry-frequenc y-seconds connection-reserve-timeout-seconds60connection-reserve-timeout-seconds test-frequency-seconds0test-frequency-seconds test-connections-on-reservetruetest-connections-on-reserve ignore-in-use-connections-enabledtrueignore-in-use-connections-enabled inactive-connection-timeout-seconds0inactive-connection-timeout-seconds test-table-nameSQL SELECT 1 FROM DUALtest-table-name login-delay-seconds0login-delay-seconds statement-cache-size5statement-cache-size statement-cache-typeLRUstatement-cache-type remove-infected-connectionstrueremove-infected-connections seconds-to-trust-an-idle-pool-connection60seconds-to-trust-an-idle-pool-connec tion statement-timeout-1statement-timeout pinned-to-threadfalsepinned-to-thread jdbc-connection-pool-params To edit JDBC data source settings: 1. Login to WebLogic Server Administration Console.

2. From the Home page, select Summary of JDBC Data Sources, Settings for

mds-SpacesDS , and then the Connection Pool tab. Oracle WebCenter Performance Tuning 26-3 3. Edit properties, as required. See also Configuring JDBC Data Sources in Oracle Fusion Middleware Configuring and Managing JDBC for Oracle WebLogic Server.

26.2.3 Setting JRockit Virtual Machine JVM Arguments

JVM arguments are set in the setDomainEnv.sh file on Unix operating systems and setDomainEnv.cmd on Windows operating systems. The setDomainEnv file is located in the domain_dirbin directory. ■ WebLogic Server production mode: To start the Administration Server in production mode from the command line, include the following parameter in the startup command: -Dweblogic.ProductionModeEnabled=true For information on setting your domain to production mode using the Administration Console, see Change to production mode in the Oracle Fusion Middleware Oracle WebLogic Server Administration Console Online Help. ■ Heap size: If the server is overloaded, that is, garbage is collected or out of memory error occurs frequently, then increase the heap size as appropriate to your servers available physical memory. For more information, see Set Java options for servers started by Node Manager in the Oracle Fusion Middleware Oracle WebLogic Server Administration Console Online Help. The following parameters can be entered in the servers startup command or through the Administration Console: jrockit vm: -Xms2048M -Xmx2048M -Xns512M hotspot vm: -Xms2048M -Xmx2048M -XX:MaxPermSize512M

26.2.4 Using Content Compression to Reduce Downloads

If clients connect to your server using relatively slow connections, that is, using modems or VPN from remote locations, consider compressing content before it downloads to the client. While content compression increases the load on the server, the client’s download experience is much improved. Several content compression methods are available. The following steps describe how to use the mod_deflate module from Apache. 1. Enable mod_deflate module on Apache. To do this, add the following to httpd.conf OHinstancesINSTANCE_ NAMEconfigOHSOHS_NAME LoadModule deflate_module {ORACLE_HOME}ohsmodulesmod_ deflate.so 2. Setup the Output Filter and specify the rules for compression. Here is a sample snippet that you can add to the httpd.conf same location mentioned above. Modify the content based on your content and the compression requirements. IfModule mod_deflate.c SetOutputFilter DEFLATE AddOutputFilterByType DEFLATE textplain AddOutputFilterByType DEFLATE textxml