03-13-2014 07:28 AM
My disks are filling up from files in /var/lib/cloudera-service-monitor/ts
1) What it safe to delete and is this done manually or is there a CM way to clean up?
2) What CM config controlls the amount of data produced here?
3) What does "ts" stand for?
03-13-2014 08:41 AM
"ts" stands for Time Series. This is where the Service Monitor role in the Management Service stores data for Time Series information. You can configure retention policies in the configuraiton of your Service Monitor role. There's also a page to help you understand the disk usage in detail, as described below:
|Time-Series Storage |
The approximate amount of disk space dedicated to storing time series and health data. Once the store has reached its maximum size older data will be deleted to make room for newer data. The disk usage is approximate because we only begin deleting data once we've reached the limit.
03-13-2014 10:14 AM
03-13-2014 10:44 AM
Yes, 10 GB is the minimum value here, and yes both the Host Monitor and Service Monitor have a setting like this.
So yes, the VM hosting your Service Monitor needs a volume to hold this store which will grow to approximately 10 GB over time. So does the VM hosting your Host Monitor. If it's the same VM, then you'd need 20 GB on that node. Note that things will perform much better if the Host Monitor and Service Monitor storage directories are on different volumes.
05-21-2014 03:04 PM
came across this post as i am having the same issue with the /var partition being at 100% full.
is it possible to delete older *.ts files from command prompt? aside from cleaning up /var/log, what else can i do?
thanks in advance, terry
09-01-2015 08:41 AM
03-08-2019 05:17 AM
This worked for me, the snipped below is an example for limiting the diskspace to 5gb