pingcap / tiup

A component manager for TiDB
https://tiup.io
Apache License 2.0
423 stars 312 forks source link

tiup's cache use too many disk storage and never free #1595

Open bestwoody opened 3 years ago

bestwoody commented 3 years ago

Bug Report

Please answer these questions before submitting your issue. Thanks!

  1. What did you do?

    use tiup to deploy my cluster

  2. What did you expect to see?

tiup should use limited disk storage, not unlimited.

  1. What did you see instead?

tiup‘s storage usage keep up until disk is full. the cache dir use the most storage. And it never free.

  1. What version of TiUP are you using (tiup --version)? v1.3.2 tiup Go Version: go1.13 Git Branch: release-1.3 GitHash: 2d88460
AstroProfundis commented 3 years ago

Maybe we can add some new sub command(s) to show disk usage stats of tiup itself and purge cached files.