Description of TIBCO Spotfire Web Player Temp directories from "Node Manager installation directory\services\WebWorker-GUID\Temp\"

Description of TIBCO Spotfire Web Player Temp directories from "Node Manager installation directory\services\WebWorker-GUID\Temp\"

book

Article ID: KB0079504

calendar_today

Updated On:

Products Versions
Spotfire Web Player 7.5 and higher

Description

This article will provide you information about the various temporary folders that are generated by the TIBCO Spotfire Web Player in the temp directory <Node Manager installation directory>\services\WebWorker-<GUID>\Temp\ on the Node Manager server.

Issue/Introduction

This article will provide you information about the various temporary folders that are generated by the TIBCO Spotfire Web Player.

Resolution

Explanation of folders and their contents:
  • \Temp\<Instance GUID>\DataStorage\: During normal operations, TIBCO Spotfire Web Player may store temporary files and data used in analyses that have been opened using the Web Player to disk, in order to support reuse of that data wherever possible. If analyses with large amounts of data are opened, then large amounts of data may be stored here temporarily. These files may reach hundreds of gigabytes in size depending on the data being accessed in the open analysis files. It is not abnormal for these files to be present, and the Web Player will delete them when they are no longer in use or when the web application is restarted. If the data stored in a particular temporary file is no longer required, the Web Player may remove that file to enable reuse of its disk space.
 
  • \Temp\<Instance GUID>\Export\: The Export folder is created whenever you perform an Export action in the Web Player on a specific report. The application creates temporary files in this folder (for example: Temp\XOFIHDdqfkOzfVjTSaLRRw\Export-660\texa4so02z0.mad.tmp) when you open a file and Export it to table, visualization, etc. As soon as you close the analysis file in the Web Player, the.tmp file gets removed automatically. Below are the entries for "Export to pdf", as you can see it initiated a temp directory called 'Export-660'" when a pdf is generated:
    DEBUG;2018-11-06T13:58:49,801-08:00;2018-11-06 21:58:49,801;1c48e15c-6a37-437e-b37d-58d349a2d147;29125505fewbuR;WorkThread 46;sfadmin WAT 35;Spotfire.Dxp.Internal.Utilities.InternalIOUtilities;"Initializing temporary directory 'Export-660'" 
    INFO ;2018-11-06T13:58:49,816-08:00;2018-11-06 21:58:49,816;1c48e15c-6a37-437e-b37d-58d349a2d147;29125505fewbuR;WorkThread 46;sfadmin WAT 35;Spotfire.Dxp.Web.Export.Tools.PdfExportTool`1[[Spotfire.Dxp.Application.Document, Spotfire.Dxp.Application, Version=32.0.12208.3599, Culture=neutral, PublicKeyToken=789861576bd64dc5]];"Preparing pages for export of 'WholeAnalysis'" 
    INFO ;2018-11-06T13:58:49,836-08:00;2018-11-06 21:58:49,836;1c48e15c-6a37-437e-b37d-58d349a2d147;29125505fewbuR;WorkThread 46;sfadmin WAT 35;Spotfire.Dxp.Web.Export.Tools.PdfExportTool`1[[Spotfire.Dxp.Application.Document, Spotfire.Dxp.Application, Version=32.0.12208.3599, Culture=neutral, PublicKeyToken=789861576bd64dc5]];"Finished preparing 1 pages for export in 21.0019 ms. Producing PDF." 
    INFO ;2018-11-06T13:58:54,225-08:00;2018-11-06 21:58:54,225;1c48e15c-6a37-437e-b37d-58d349a2d147;29125505fewbuR;WorkThread 46;sfadmin WAT 35;Spotfire.Dxp.Web.Export.Tools.PdfExportTool`1[[Spotfire.Dxp.Application.Document, Spotfire.Dxp.Application, Version=32.0.12208.3599, Culture=neutral, PublicKeyToken=789861576bd64dc5]];"Finished export. 1 of 1 PDF pages, 90936 bytes. Total duration 4409 ms."
           
  • \Temp\<Instance GUID>\Library\: As soon as a user opens an analysis file, it is downloaded from the TIBCO Spotfire Server to the Library folder which is then used to load the data and which is then removed when it is loaded fully. For example:
    DEBUG;2018-11-06T14:18:12,343-08:00;2018-11-06 22:18:12,343;1c48e15c-6a37-437e-b37d-58d349a2d147;29125505fewbuR;WorkThread 37;sfadmin WAT 52;Spotfire.Dxp.Framework.Library.InternalLibraryManager;"Downloaded attachment for entry Test_large (b80e5c28-37d8-47b2-8618-ba92ae82018e) to C:\tibco\tsnm\7.11.0\nm\services\WebWorker-32.0.12208.3599-b443c5a8-e165-4c9b-86d6-dd3f26cfb480\Temp\XOFIHDdqfkOzfVjTSaLRRw\Library-660\CY5WVeiZv06G+BWzEBEdWgFlVeg1YFX0SeVUnwKtygTg.dxp and took 93 ms (LoadContent took 109 ms). Size: 240771" 
    DEBUG;2018-11-06T14:18:12,500-08:00;2018-11-06 22:18:12,500;1c48e15c-6a37-437e-b37d-58d349a2d147;29125505fewbuR;WorkThread 37;sfadmin WAT 52;Spotfire.Dxp.Data.Access.Loader.DataArchiveReaderWriter;"Loading data archive from file C:\tibco\tsnm\7.11.0\nm\services\WebWorker-32.0.12208.3599-b443c5a8-e165-4c9b-86d6-dd3f26cfb480\Temp\XOFIHDdqfkOzfVjTSaLRRw\Library-660\CY5WVeiZv06G+BWzEBEdWgFlVeg1YFX0SeVUnwKtygTg.dxp" 
    DEBUG;2018-11-06T14:18:12,500-08:00;2018-11-06 22:18:12,500;1c48e15c-6a37-437e-b37d-58d349a2d147;29125505fewbuR;WorkThread 37;sfadmin WAT 52;Spotfire.Dxp.Internal.Utilities.InternalIOUtilities;"Succeded to remove C:\tibco\tsnm\7.11.0\nm\services\WebWorker-32.0.12208.3599-b443c5a8-e165-4c9b-86d6-dd3f26cfb480\Temp\XOFIHDdqfkOzfVjTSaLRRw\Library-660\CY5WVeiZv06G+BWzEBEdWgFlVeg1YFX0SeVUnwKtygTg.dxp."
 
  • \Temp\<Instance GUID>\Misc-660\: Whenever a user opens or schedules an analysis that accesses any excel files or other flat files, there will be sub-process created  to access that data which will be stored in the "Misc" folder of Spotfire temp directory. For example:
    INFO ;2018-11-06T12:59:53,507-08:00;2018-11-06 20:59:53,507;1c48e15c-6a37-437e-b37d-58d349a2d147;29125505fewbuR;WorkThread 24;scheduledupdates@SPOTFIRESYSTEM WAT 9;Spotfire.Dxp.Framework.ApplicationModel.SubprocessService;"Run subprocess C:\tibco\tsnm\7.11.0\nm\services\WebWorker-32.0.12208.3599-b443c5a8-e165-4c9b-86d6-dd3f26cfb480\Temp\XOFIHDdqfkOzfVjTSaLRRw\Misc-660\Spotfire.tspgbg452h2.hr4.exe."
 
  • \Temp\<Instance GUID>\Undo-660\: By default the application creates two .tmp files in this folder for each unique analysis file that is opened in Web Player. These two files are used for Undo and Redo stack of that specific analysis. Whenever you edit the file and use undo/redo option, it starts recording data into those temp files. These .tmp files get cleared once the users closes the file. For example:
    DEBUG;2018-11-05T15:40:36,079-08:00;2018-11-05 23:40:36,079;1c48e15c-6a37-437e-b37d-58d349a2d147;29125505fewbuR;WorkThread 34;sfadmin WAT 2;Spotfire.Dxp.Application.AnalysisApplication;"Starting undo/redo."
    DEBUG;2018-11-05T15:40:36,079-08:00;2018-11-05 23:40:36,079;1c48e15c-6a37-437e-b37d-58d349a2d147;29125505fewbuR;WorkThread 34;sfadmin WAT 2;Spotfire.Dxp.Internal.Utilities.InternalIOUtilities;"Initializing temporary directory 'Undo-660'"
    DEBUG;2018-11-05T15:40:36,094-08:00;2018-11-05 23:40:36,094;1c48e15c-6a37-437e-b37d-58d349a2d147;29125505fewbuR;WorkThread 34;sfadmin WAT 2;Spotfire.Dxp.Application.AnalysisApplication;"Finished opening document."

Additional Information

Doc: Changing the default location of the Web Player temporary files