Spotfire starts checking for inactive analysis files when 'checkInactivityInterval' time is met and closes inactive analysis files if there are any. 'checkInactivityInterval' specifies how often, in seconds, a check should be made to determine if an analysis session has no user activity. Default value is 300 and the range is from 60 to 12*3600. This is found in Web Player’s
Spotfire.Dxp.Worker.Web.Config configuration file.
Log entries for 'checkInactivityInterval' and 'inactivityTimeout' are captured when logging is set to 'DEBUG' mode and will be found in web player logs (
Spotfire.Dxp.Worker.Host.Debug.xxx.log)
Below line will be logged when 'checkInactivityInterval' time is met and Spotfire starts checking for inactive analysis files.
--------------------------------------
DEBUG;2020-02-17T10:23:42,222-06:00;2020-02-17 16:23:42,222;3f134018-02da-471b-9bcb-3309f829d210;1709559790EGrL;BG Thread Cleanup RIA 70;;;Spotfire.Dxp.Web.SiteManager;"Timer for probing for inactive analyses started."
-------------------------------------
Below entries will be logged if any inactive/idle analysis are found in any user session and is removed from user session.
-----------------------------------
DEBUG;2020-02-17T10:23:42,222-06:00;2020-02-17 16:23:42,222;3f134018-02da-471b-9bcb-3309f829d210;1709559790EGrL;BG Thread Cleanup RIA 70;arpitha;8475c7208b845de73f0b3a626577fbdc;Spotfire.Dxp.Web.UserSession;"Found inactive analysis 'r9BmVVNw60y7WL1z7EH7U-1709559790EGrL' (GROUPS) (00:01:31.6670987) in user session '8475c7208b845de73f0b3a626577fbdc'."
DEBUG;2020-02-17T10:23:42,222-06:00;2020-02-17 16:23:42,222;3f134018-02da-471b-9bcb-3309f829d210;1709559790EGrL;BG Thread Cleanup RIA 70;arpitha;8475c7208b845de73f0b3a626577fbdc;Spotfire.Dxp.Web.UserSession;"Removing (interactive) analysis 'r9BmVVNw60y7WL1z7EH7U-1709559790EGrL-0' in user session '8475c7208b845de73f0b3a626577fbdc'. Analysis status is 'Idle'."
INFO ;2020-02-17T10:23:42,222-06:00;2020-02-17 16:23:42,222;3f134018-02da-471b-9bcb-3309f829d210;1709559790EGrL;BG Thread Cleanup RIA 70;;;Spotfire.Dxp.Web.SiteManager;"Removed 1 inactive analyses.""
------------------------------------
On the browser 'Your analysis has been closed.' message will be displayed with 'Reopen analysis' button.