Managing temporary vault package archives in Adobe Experience Manager
This article describes how to resolve recurring disk storage warnings in Adobe Experience Manager (AEM) caused by the accumulation of temporary vault package archive files, and provides steps for manual and automated cleanup.
Description description
In Adobe Experience Manager (AEM) environments, disk storage warnings occur when temporary vault package archive files accumulate in the server’s temporary directory. These files, typically named vaultpack*.zip, are created during package installation or replication activities. If not properly cleaned up, they can consume significant disk space and lead to recurring storage alerts.
Environment
Adobe Experience Manager (all versions)
Symptoms
- Recurring disk storage warning alerts on AEM instances
- The temporary directory approaches or exceeds critical disk usage thresholds.
- Presence of numerous large
vaultpack*.zipfiles in the temporary directory
Cause
Temporary vault package archive files generated during package installation and replication may not be automatically removed, especially if package operations don’t close archives properly or if garbage collection jobs encounter errors. Over time, these files can accumulate and exhaust available disk space.
Resolution resolution
Follow the steps below to resolve the issue:
- Identify the largest files in the temporary directory (For example:
/mnt/tmp). - Before deleting any file, verify it’s not in use by a running AEM process.
- Remove only older
vaultpack*.zipfiles that aren’t associated with current deployments and aren’t open by any process. - Don’t delete the entire temporary directory while AEM is running.
- (Optional) Set up an automated cleanup using a scheduled job (such as cron) to periodically delete
vaultpack*.zipfiles older than a set threshold (For example: 3–7 days), after confirming they aren’t needed. - If using ACS Commons Package Garbage Collector, review and configure the job according to your AEM version to ensure proper cleanup of old package files. Address any errors related to unclosed FileVault archives, as these can prevent cleanup.
- For environments managed by Adobe Managed Services, consider enabling the AMS AEM Package Garbage Collector for managed cleanup of old packages. Coordinate with your implementation partner or internal team to validate configuration and address known issues.
After cleanup, monitor disk usage to confirm that space has been reclaimed and that storage warnings no longer occur.