删除/清空的石墨耳语文件会自动重新生成 [英] Deleted/Empty Graphite Whisper Files Automatically Re-Generating

查看:135
本文介绍了删除/清空的石墨耳语文件会自动重新生成的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图删除一些旧的石墨测试耳语指标,但没有成功.我可以通过删除文件来删除指标. (请参阅:如何清除石墨耳语的数据?)但是,在销毁它们重新生成的文件后的几秒钟内(它们没有度量标准,并且保持这种状态,因为没有任何东西可以在这些文件中创建新的度量标准).我曾尝试在删除文件之前先停止carbon(carbon-cache.py stop),但是当我重新启动carbon(carbon-cache.py --debug start&)时,它们只是回来了.

I am trying to delete some old graphite test whisper metrics without any success. I can delete the metrics by removing the files. (See: How to cleanup the graphite whisper's data? ) But, within a few seconds of blowing away the files they regenerate (they are empty of metrics and stay that way since nothing is creating new metrics in those files). I've tried stopping carbon (carbon-cache.py stop) before deleting the files, but when I restart carbon (carbon-cache.py --debug start &) they just come back.

如何永久删除这些文件/模样,使它们永远不会回来?

How do I permanently delete these files/metics so they never come back?

推荐答案

您正在运行statsd还是类似的东西?

Are you running statsd or something similar?

我遇到了同样的问题,这是因为在删除了耳语文件之后,statsd正在刷新其在内存中的计数器.我回收了statsd,并且文件现在保持删除状态.

I had the same issue and it was because statsd was flushing the counters it had in memory after I deleted the whisper files. I recycled statsd and the files stay deleted now.

希望这会有所帮助

这篇关于删除/清空的石墨耳语文件会自动重新生成的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆