KNOWLEDGE BASE

repoItem*.tmp files in VizqlServer temp folder in Tableau Server 2021.3 Is Consuming Disk Space


Published: 21 Oct 2021
Last Modified Date: 21 Oct 2021

Issue

A large number of repoItem*.tmp files may accumulate and take up disk space on Tableau Server. These files are located in the Tableau Server temp folder, under vizqlserver_* child folder.
Expected behavior: Files modified more than 24 hours ago are expected to be purged.

Environment

  • Tableau Server 2021.3.0 on all platforms
  • Tableau Server 2021.3.1 on all platforms

Resolution

Option 1: Applying new configuration using TSM


Before applying this fix, note:
  1. The server will have to be restarted for the new configuration to take effect.
  2. Be prepared to save all work and files before applying this configuration change.
To apply the config change, launch a terminal on the machine that hosts Tableau Server and execute the following:
1.
tsm configuration set -k vizqlserver.purge_directories.directories -v "" --force-keys
(Note: When using PowerShell on windows, please replace -v "" in step 1 with -v '""' to avoid “missing argument for option v” error.)
2.
tsm pending-changes apply

Option 2:

 

1. Manually delete repoItem*.tmp files in vizqlserver_* folder

On each machine in the Tableau Server cluster running a VizQL Server process, manually delete repoItem*.tmp files in vizqlserver_* folder under tableau temp folder which were last modified more than 24 hours ago.

2. Set up a scheduled job which cleans up stale files daily

On Windows(x64), look for C:\ProgramData\Tableau\Tableau Server\data\tabsvc\temp\vizqlserver_* , for example, vizqlserver_0.20213.21.0917.1006. The repoItem*.tmp files under that folder will need to be purged if the last modified timestamp is more than 24 hours old.

On Linux, look for /var/opt/tableau/tableau_server/data/tabsvc/temp/vizqlserver_* , for example, vizqlserver_0.20213.21.0917.1006. The repoItem*.tmp files under that folder will need to be purged if the last modified timestamp is more than 24 hours old.

Option 3: Upgrading to a release where the issue has been resolved


Please refer to the known issues page https://www.tableau.com/support/known-issues and look up issue ID 1313074 for a release version where this defect has been corrected, or contact Tableau Support if the information is not listed.

Cause

A change in configuration management caused the temp-file-purge process to no longer follow the default behavior.

Additional Information

In most cases, repoItem files are quite small and do not cause any issues with disk space usage. The speed of disk space file accumulation highly depends on end-user usage.
Did this article resolve the issue?