Welcome to the Alteryx Knowledge Base
How to add clean up schedule to Map Tile Server
Created/Edited -
How To
Environment
- Controller node
Procedure
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?