How to Configure the Maximum Number of LiveView Sessions

How to Configure the Maximum Number of LiveView Sessions

book

Article ID: KB0083494

calendar_today

Updated On:

Products Versions
TIBCO Live Datamart 2.1.x, 2.2.x, 10.x

Description

In some cases, a Live Datamart administrator may want to limit the number of user sessions for a running application.

Issue/Introduction

This article explains how to configure the maximum number of simultaneous user sessions for a Live Datamart application.

Resolution

The default maximum session limit (1500) can be changed by setting the following system property
 
  liveview.max.sessions
 
We routinely bump this up when doing automated scale testing.  It's clear if the server hits this limit because it reports every time another connection attempt is made when at the max with:
 
MAX_SESSIONS_EXCEEDED(28, "Max session ''{0}'' exceeded"),
 
A session comes from an individual connection, which is normally a single user. A session can have publishers and a configured maximum number of queries open on it. The default maximum number of queries usually isn’t a factor, as it defaults to 100. This can be changed by setting:
 
  liveview.max.queries.per.session