Enterprise Vault cleans up temporary files, using the Admin Service. You can
Create a Dtrace Filter as follows :
Dtrace
Set adminservice v
Filter
Clear includes
Include CCleanUptempFiles
Exit
Log to a file, and then MON
Once an hour you will get the following :
2465 10:00:44.968 [5104] (AdminService) <2308> EV:M CCleanUpTempFiles::ThreadRoutine – GetTempPath
2466 10:00:45.390 [5104] (AdminService) <2308> EV:M CCleanUpTempFiles::ThreadRoutine – TempPath = C:DOCUME~1vsaLOCALS~1Temp
2467 10:00:46.437 [5104] (AdminService) <2308> EV:M CCleanUpTempFiles::ThreadRoutine – GetRegistrySettings
2468 10:00:46.671 [5104] (AdminService) <2308> EV:M CCleanUpTempFiles::GetRegistrySettings – Try toopen [SOFTWAREKVSEnterprise VaultAdminService]
2469 10:00:46.671 [5104] (AdminService) <2308> EV:M CCleanUpTempFiles::GetRegistrySettings – Read [DelFilesOlderThanHours]
2470 10:00:46.671 [5104] (AdminService) <2308> EV:M CCleanUpTempFiles::GetRegistrySettings – DelFilesOlderThanHours = [24]
2471 10:00:46.671 [5104] (AdminService) <2308> EV:M CCleanUpTempFiles::GetRegistrySettings – Read [DelFileTypes]
2472 10:00:46.671 [5104] (AdminService) <2308> EV:M CCleanUpTempFiles::GetRegistrySettings – DelFileTypes = []
2473 10:00:46.671 [5104] (AdminService) <2308> EV:M CCleanUpTempFiles::GetRegistrySettings – CloseKey
2474 10:00:47.218 [5104] (AdminService) <2308> EV:M CCleanUpTempFiles::ThreadRoutine CleanupFiles loop
2475 10:00:47.843 [5104] (AdminService) <2308> EV:M CCleanUpTempFiles::CleanupFiles – Find Files (C:DOCUME~1vsaLOCALS~1TempEV$*.*)
2476 10:00:47.843 [5104] (AdminService) <2308> EV:M CCleanUpTempFiles::CleanupFiles – Skipped – Not due for deletion (ev$1.1)
2477 10:00:47.843 [5104] (AdminService) <2308> EV:M CCleanUpTempFiles::CleanupFiles – Exit
2478 10:00:49.031 [5104] (AdminService) <2308> EV:M CCleanUpTempFiles::CleanupFiles – Find Files (C:DOCUME~1vsaLOCALS~1Temp~DF*.TMP)
2479 10:00:49.031 [5104] (AdminService) <2308> EV:M CCleanUpTempFiles::CleanupFiles – Exit
2480 10:00:52.749 [5104] (AdminService) <2308> EV:M CCleanUpTempFiles::ThreadRoutine – wait for 1 hour or until service exits.
There are a couple of things to note :
- It runs once per hour
- It will remove non-read-only files which aren’t in use
- By default it will use the file pattern : $*.* and ~DF*.TMP.
- It won’t delete files newer than 24 hours old
Control of the last two options is through the registry keys :
HKEY_LOCAL_MACHINESOFTWAREKVSEnterprise VaultAdminService
DelFileTypes = “~DF*.tmp;EV$*.*;*.tmp”
DelFilesOlderThanHours
These are read dynamically (at the next run interval)





[...] http://robwilc.wordpress.com/2010/11/26/cleaning-up-temp-files/ [...]