- Free up space on the disk
-
- Remove common large files from the server
- Check modulestore disk usage:
du -h /var/cb/data/ --max-depth=1
- If the modulestore directory is consuming excessive disk, purge old modules
- Determine if cbevents or cbmodules is taking up space:
du -h /var/cb/data/solr --max-depth=1
du -h /var/cb/data/solr5 --max-depth=1
du -h /var/cb/data/solr6 --max-depth=1
- If cbevents data is filling the disk, purge the older events.
- If cbmodules data is filling the disk: review options to safely remove data
- Determine if a certain process log file is taking up space:
du -h /var/log/cb/ --max-depth=1
- Remove .tmp files older than 7 days
find <path_to_process_logs> -name *.tmp -mtime +7 -delete
- Remove .gz log files older than 7 days:
find <path_to_process_logs> -name *.gz -mtime +7 -delete
- If the server is still out of space, determine which drive partition is out of space
df -h
- From the affected partition, start at the root folder and work through the largest folder paths to clear data using the du command with the --max-depth=1 flag to list disk usage of each folder
du -h / --max-depth=1