Welcome to the Alteryx Knowledge Base

How to add clean up schedule to Map Tile Server
user

Created/Edited - 12/6/2024 by Michael Phipps | Alteryx

How To
Add file cleanup rotation to %\ProgramData\Alteryx\Engine\AlteryxMapServer* folders and file contents for improving disk usage management for cached files associated with Map Input Interface Tool
Environment
Alteryx Server (all versions)
  • Controller node
Procedure
Alteryx Server's System Settings does have Mapping configuration options for Memory cache size, Disk cache size and time to live, however there are additional custom RuntimeSettings.XML values that can be added for more granular control over the Map Tile Controller and its cache to better regulate disk space usage. Specifically, these will set cleanup intervals (in seconds) 
 

1. This can be done by manually adding the following three lines to manage cleanup of the 'AlteryxMapServer*' folders and their contents, within the <Controller> element:
 
  • <MapTileCleanupInterval>3600</MapTileCleanupInterval>
  • <MapTileDiskCacheCleanupFrequency>20000</MapTileDiskCacheCleanupFrequency>
  • <MapTileDiskCacheMaxCleanupTime>1000</MapTileDiskCacheMaxCleanupTime>
 

2. To complete the change to RuntimeSettings, AlteryxService must be restarted. 
Please note for multi-node environments additional steps should be taken

 
 
Additional Information

Important: Prior to Server 2023.1-LTS there are defects ( TELC-3304 & TELC-3239 ) where not all files have been reported to be cleaned up and this would also affect *AlteryxMapServer* folders and contents, in that even with these above XML parameters added to RunTimeSettings.XML the folders remain and need to be manually removed / cleaned up by a user. These have been fixed in 2023.1+

 

Additional Resources:

 

 

Manual cleanup approach (to clean only temp files within temp folders):

del /q /s C:\ProgramData\Alteryx\Engine\AlteryxMapServer_*

Was this article helpful?