Created on 03-13-2014 07:28 AM - edited 09-16-2022 01:55 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?
Created 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.
Created 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 firehose_time_series_storage_bytes | 10 GiB |
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. |
Created 03-13-2014 10:14 AM
Created 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.
Created 05-21-2014 03:04 PM
hi,
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
Created 07-23-2015 02:36 AM
I am facing a similair issue, is there a definitive way of clearing up old ts files?
thanks
Created 09-01-2015 02:40 AM
Created 09-01-2015 08:41 AM
Created 09-01-2015 08:42 AM
Thanks Chris. I'll have a look.
Created 03-08-2019 05:17 AM
This worked for me, the snipped below is an example for limiting the diskspace to 5gb
<property>
<name>firehose_time_series_storage_bytes</name>
<value>5368709120</value>
</property>