+

Search Tips   |   Advanced Search

Tune parameter custom settings

Customize tuning parameters for distributed sessions.

From the admin console, click...

        Servers > Server Types > WebSphere application servers > server > Session management > Distributed environment settings > Custom tuning parameters > Custom settings.


Write frequency

Specifies when the session is written to the persistent store.

Information Value
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 WAS 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.

Information Value
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.

Information Value
Specify distributed sessions cleanup schedule Enable 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. 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:

  • Scheduled invalidation
  • Tune the application serving environment
  • Tune parameter settings
  • Session management tuning