Tuning parameter settings
Use this page to set tuning parameters for distributed sessions.
To view this administrative console page, click Servers > Application Servers > server_name > Web Container > Session Management > Distributed Environment Settings > Custom Tuning Parameters.
Configuration tab
- Tuning Level
- Specifies that the Session Management facility provides certain predefined settings that affect performance.
Select one of these predefined settings or customize a setting. The default setting is 10 seconds.
To customize a setting, select one of the predefined settings that comes closest to the setting you want, click Custom settings, make your changes, and then click OK.
Predefined options and their settings follow:
Very high (optimize for performance):
Write frequency TIME_BASED_WRITES Write interval 300 sec Write Contents Only updated attributes Schedule Sessions Clean up true First Hour 00 High:
Write frequency TIME_BASED_WRITES Write interval 300 sec Write Contents All session attributes Medium:
Write frequency END_OF_SERVICE Write Contents Only updated attributes Low (optimize for failover)
Write frequency END_OF_SERVICE Write Contents All session attributes - Write frequency
- Specifies when the session writes to the database or another WebSphere Application Server instance happens.
End of servlet service A session writes to a database or another WebSphere Application Server instance after the servlet completes execution. Manual update A programmatic sync on the IBMSession object is required to write the session data to the database or another WebSphere Application Server instance. Time based Session data writes to the database or another WebSphere Application Server instance based on the specified Write Interval value. - Write contents
- Specifies whether updated attributes are only written to the external location or all of the session attributes are written to the external location, regardless of whether or not they changed. The external location can be either a database or another application server instance.
- Schedule sessions cleanup
- Specifies when to clean the invalid sessions from a database or another application server instance.
Specify sessions cleanup schedule
Enables the scheduled invalidation process for cleaning up the invalidated HTTP sessions from the external location. Enable this option to reduce the number of updates to a database or another application server instance required to keep the HTTP sessions alive. When this option is not enabled, the invalidator process runs every few minutes to remove invalidated HTTP sessions.
When this option is enabled, specify the two hours of a day for the process to clean up the invalidated sessions in the external location. Specify the times when there is the least activity in the application servers. An external location can be either a database or another application server instance.
First Time of Day
Indicates the first hour, in Greenwich Mean Time (GMT), during which the invalidated sessions are cleared from the external location. Specify this value as a positive integer between 0 and 23. This value is valid only when schedule invalidation is enabled.
Second Time of Day
Indicates the second hour, in Greenwich Mean Time (GMT), during which the invalidated sessions are cleared from the external location. Specify this value as a positive integer between 0 and 23. This value is valid only when schedule invalidation is enabled.