Tuning WebSphere® Application Server settings to optimize Rational® ClearQuest® Web server performance
You must review the WebSphere® Application Server settings for the application server profile for the Rational® ClearQuest® Web Server. If you installed Rational® ClearQuest® into a new profile, the settings in the profile that is created during installation are optimized for best performance. If you installed into an existing profile or if the server has performance problems, the parameter values might require adjustment.
Before you begin
For information about specifying settings for WebSphere® Application Server application server profiles, see the WebSphere Application Server documentation for your WebSphere version.
When you install or upgrade Rational® ClearQuest® web components, you have the option to deploy the components on WebSphere® Application Server V8.5.5.x or V9.0.5.x. Before you can install or deploy the upgraded Rational® web components, either install or upgrade the existing WebSphere® Application Server to the new version or a separate V8.5.5.x or V9.0.5.x instance.
About this task
| WAS Setting | Parameter name | Optimized value | Description |
|---|---|---|---|
| JVM Heap Size | setJvmMaxHeapSize | 1536 MB | Controls Java™ VM memory consumption. Setting this value too low can cause frequent out-of-memory errors. |
| Thread pools | setMaxSizesOfThreadPools | 200 | Specifies the maximum number of threads to maintain in the default thread pool. Changing this value can affect server start-up and processing time. |
| Performance Monitoring Infrastructure (PMI) | disablePMI or enablePMI | disablePMI | Disables the PMI data collection process that collects information for diagnosing problems and tuning application performance. Disabling data collection improves server performance. You can enable PMI for troubleshooting when necessary. |
| JVM log file size | setSystemOutErr | 20 MB | Sets the file size for the JVM SystemOut.log and SystemErr.log.
The default location for these logs is
|
| Trace log | setTraceLog | 20 MB | |
| Write timeout setting for the HTTP inbound channel | setDefaultInboundHttpChannelWriteTimeouts | 300 seconds | Specifies the amount of time, in seconds, that the HTTP transport channel waits on a socket for each portion of response data to be transmitted. Setting the value too low can cause dropped connections and download failures. In this case, the Server log files might show errors such as IOError or AsyncTimeoutException. |
Modifying WebSphere® Application Server application server profile settings by using the wsadmin tool
Modifying WebSphere® Application Server profile settings of Rational® ClearQuest® Web Server profile by using the teamAdminUtils.jacl tool.
About this task
You can use teamAdminUtils.jacl tool to set the default recommended settings for a Rational® ClearQuest® Web profile. You can also run this command to change specific values. For example, to set the default values, use setCMRecommendedDefaults. To just change the JVM heap size, use setJvmMaxHeapSize.
For more information about the wsadmin tool, see the WebSphere® Application Server Information Center: V8.5, V8.0
Procedure
- Start the WebSphere® Application
Server administrative console, open the command window or shell and
go to the WebSphere® Application
Server bin directory.
- Windows™:
cd C:\Program Files\IBM\WebSphere\bin\ - UNIX™ or Linux™:
cd /opt/IBM/WebSphere/bin/
- Windows™:
- Run the
setCMRecommendedDefaultscommand to apply the default values to the profile that hosts the Rational® ClearQuest® Web Server.- Windows™:
wsadmin.bat -profile -profileName cqwebprofile "C:\Program Files\IBM\ClearQuest\cqweb\scripts\teamAdminUtils.jacl" -c "setCMRecommendedDefaults" - UNIX™ or Linux™:
./wsadmin.sh -profile -profileName cqwebprofile "/opt/ibm/clearquest/cqweb/scripts/teamAdminUtils.jacl" -c "setCMRecommendedDefaults"
- Windows™:
- Restart the WebSphere® Application
Server profile for the change to take effect.
- Windows™:
stopServer.bat server1 -profileName cqwebprofile
startServer.bat server1 -profileName cqwebprofile
- UNIX™ or Linux™:
./stopServer.sh server1 -profileName cqwebprofile
./startServer.sh server1 -profileName cqwebprofile
Note: The examples in this procedure assume that Rational® ClearQuest® Web server is deployed in the default profilecqwebprofile. If you deploy Rational® ClearQuest® Web server in a different profile name, use that profile name instead ofcqwebprofile. This example assumes that you have WebSphere® and Rational® ClearQuest® installed in the default directory. - Windows™:
-
During an installation or upgrade to Rational®
ClearQuest® Web server, the IBM® Installation Manager does not set the JVM heap size value for the WebSphere® Application Server profile. By default, when a new
WebSphere® Application Server profile is created, the JVM
value is set to 256 MB. This value is too low for Rational®
ClearQuest® Web server, and must be increased to 1 GB
or more, based on your needs and environment. To increase the value: