Retention Policy Configuration
By default, the system is designed to clean up locally stored results/received samples and other temporary files. These cleanup operations are performed either upon starting up the service (single-pass) or on continuous short-cycle intervals in a background process. To enable regular cleanup during the server mode, make sure the following options are enabled:
File | Option Name |
---|---|
broker.properties | runFileSystemCleanup |
transform.properties | runFileSystemCleanup |
By default, the following retention period is applied (see “Retention Policy” sections in both the broker and transform server properties files):
File | Option Name | Retention Period in minutes (days) |
---|---|---|
Analysis Results | deleteResultsPathArtifactsOlderThanXMinutes | 1440 (1 day) |
Sample Files | deleteResultsPathArtifactsOlderThanXMinutes | 10080 (7 days) |
Temp Files | deleteResultsPathArtifactsOlderThanXMinutes | 2880 (2 days) |
Queued Files | deleteResultsPathArtifactsOlderThanXMinutes | 1440 (1 day) |
Note: the queued files are only cleaned up if automatic re-queue is disabled (not by default). The automatic re-queue feature is designed to allow a downtime of the broker without losing previously submitted files from being processed. To change this behavior, configure the requeuePendingTasksFromPreviousTermination option.