Maximum session cache entries value
The max-entries stanza entry, located in the [session] stanza of the WebSEAL configuration file, specifies the maximum number of session cache entries in the WebSEAL unauthenticated and authenticated session caches.
This value corresponds to the number of concurrent login sessions. When the cache size reaches this value, entries are removed from the cache according to a least recently used algorithm to allow new incoming logins.
The following conditions affect the specified value:
- If the specified value is less than or equal to 0, the cache size becomes unlimited.
- If the specified value is between 0 and 8192, the actual number of entries allowed is rounded up to the next multiple of 32.
- Any specified value greater than 8192 is accepted as given.
WebSEAL does not impose a maximum value. See the guidelines on maximum size of integer values in Guidelines for changing configuration files. The default number of concurrent login sessions is 4096:
[session] max-entries = 4096The value for a particular session cache (either unauthenticated or authenticated) can be supplied by prefixing the configuration entry with the session cache name (either unauth or auth). For example:
unauth-max-entries = 1024
Parent topic: WebSEAL session cache configuration