Administration : Maintaining Your Installation : Controlling Disk Space
 
Controlling Disk Space
 
Reduce Disk Space
Maximize Disk Space
If you encounter disk space issues, you can:
Reduce Disk Space
To reduce disk space, you can safely remove the content of the following directories:
<DATADIR>/tmp. You can remove it when the product is stopped.
<DATADIR>/run: contains log files. To free up space permanently in this directory, consider using log purge and rotation.
<DATADIR>/reporting_store: contains SQLite databases (queries, analysis/import/compact events, restarts)
<DATADIR>/**/*.tmp.*: temporary files. You can remove it when the product is stopped.
You can also delete old configuration versions stored in <DATADIR>/gct with the API Console using the deleteVersionsBefore method.
Maximize Disk Space
You can maximize disk space either by compacting your index or by disabling the document cache.
View <DATADIR>/build/index-unit/<buildgroupname>/ and see which subfolder is taking up the space:
If the index directory is taking a lot of space, it may be that it is not compacted. You can perform a full compact, but keep in mind you need twice the size of your index available on disk to perform this. Otherwise, perform your compact on a slice by slice basis.
If the cache directory is taking a lot of space, you can deactivate the document cache option either at build group or at connector level.