Question #276143 on Graphite changed:
https://answers.launchpad.net/graphite/+question/276143

    Status: Open => Answered

Denis Zhdanov proposed the following answer:
Whisper is fixed size storage. When Graphite creates new metric it allocates 
space in advance, so, it will newer grow. 
So, disk usage can only grow when you create new metrics (and maybe even not 
update them anymore).
In that case you can simply delete old whisper files (non-updated in last 14 
days, for example) and empty directories with simply cron job, e.g. :
find /opt/graphite/storage/whisper -type f -name '*.wsp' -mtime +14 -delete
find /opt/graphite/storage/whisper -type d -empty -delete

-- 
You received this question notification because your team graphite-dev
is an answer contact for Graphite.

_______________________________________________
Mailing list: https://launchpad.net/~graphite-dev
Post to     : graphite-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~graphite-dev
More help   : https://help.launchpad.net/ListHelp

Reply via email to