Tuning parameter custom settings
Use this page to customize tuning parameters for distributed sessions.
To view this administrative console page, click Servers > Application servers > servername Web container settings > Session management > Distributed environment settings > Custom tuning parameters > Custom settings.
Configuration tab
- Write frequency
Specifies when the session is written to the persistent store.
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 WAS instance. Time based Session data writes to the database or another WebSphere Application Server instance based on the specified Write interval value. Default: 10 seconds - 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.
Only updated attributes Only updated attributes are written to the persistent store. All session attribute All attributes are written to the persistent store. - Schedule sessions cleanup
Specifies when to clean the invalid sessions from a database or another application server instance.
Specify distributed 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 (0 - 23) Indicates the first hour 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 (0 - 23) Indicates the second hour 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.
Related Tasks
Tuning the application serving environment