Huge .csv "stat" files

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
Post Reply
User avatar
joho
Advanced member
Advanced member
Posts: 74
Joined: Tue Apr 26, 2016 9:24 am
ZCS/ZD Version: Release 8.8.15.GA.4177.UBUNTU20.64

Huge .csv "stat" files

Post by joho »

We recently noticed some disk space warnings in our Zimbra 8.8.x environment.

This is/was rather odd since we, until recently, had massive amounts of available space. So after digging around some, I found /opt/zimbra/zmstat to contain 3.1 TB (!) of ... well, "junk" :-)

As per this article:
https://wiki.zimbra.com/wiki/Purge_old_zmstats_data

I ran:
/opt/zimbra/libexec/zmstat-cleanup --keep 700
(I still don't know how to set "zmstat_max_retention", but that's another story)

Well, this removed some quite old statistics, but unfortunately, the main issue is still here:
1,3T ./vm.csv
979G ./io-x.csv
861G ./io.csv
7,1G ./io-x.csv.gz
6,4G ./io.csv.gz
5,8G ./vm.csv.gz
I really don't care much for this data over time, unless we're troubleshooting something. Then, and only then, may it be interesting with some "over time" data.

So how do I (safely) remove/truncate these files?



-joho
Post Reply