{"action":"created","issue":{"url":"https://api.github.com/repos/hashicorp/consul/issues/866","repository_url":"https://api.github.com/repos/hashicorp/consul","labels_url":"https://api.github.com/repos/hashicorp/consul/issues/866/labels{/name}","comments_url":"https://api.github.com/repos/hashicorp/consul/issues/866/comments","events_url":"https://api.github.com/repos/hashicorp/consul/issues/866/events","html_url":"https://github.com/hashicorp/consul/issues/866","id":68877716,"number":866,"title":"Consul/raft consumes lot of space disk","user":{"login":"lyrixx","id":408368,"avatar_url":"https://avatars.githubusercontent.com/u/408368?v=3","gravatar_id":"","url":"https://api.github.com/users/lyrixx","html_url":"https://github.com/lyrixx","followers_url":"https://api.github.com/users/lyrixx/followers","following_url":"https://api.github.com/users/lyrixx/following{/other_user}","gists_url":"https://api.github.com/users/lyrixx/gists{/gist_id}","starred_url":"https://api.github.com/users/lyrixx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lyrixx/subscriptions","organizations_url":"https://api.github.com/users/lyrixx/orgs","repos_url":"https://api.github.com/users/lyrixx/repos","events_url":"https://api.github.com/users/lyrixx/events{/privacy}","received_events_url":"https://api.github.com/users/lyrixx/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":45,"created_at":"2015-04-16T09:01:10Z","updated_at":"2016-12-09T00:04:08Z","closed_at":null,"body":"Hello.\n\nWe are using consul 0.5.0 and on one server (we have 3 servers), consul folder is really heavy:\n\n```\n# du -sh *\n4.0K    checkpoint-signature\n3.2G    raft\n24K serf\n1.8G    tmp\n0   ui\ndu -sh raft/*\n3.2G    raft/mdb\n4.0K    raft/peers.json\n552K    raft/snapshots\n```\n\nIf I run `strings` on the db file I have always this pattern:\n\n```\nToken\nIndex\nTerm\nType\nData\nDatacenter\nDirEnt\nCreateIndex\nFlags\n5consul-alerts/checks/wax-prod.worker-1/_/memory_usage\nLockIndex\nModifyIndex\nSession\nValue\no{\"Current\":\"passing\",\"CurrentTimestamp\":\"2015-03-19T07:16:19.750627946Z\",\"Pending\":\"\",\"PendingTimestamp\":\"0001-01-01T00:00:00Z\",\"HealthCheck\":{\"Node\":\"wax-prod.worker-1\",\"CheckID\":\"memory_usage\",\"Name\":\"memory_usage\",\"Status\":\"passing\",\"Notes\":\"\",\"Output\":\"MEM OK - usage system memory: 17% (free: 1405 MB)\\n\",\"ServiceID\":\"\",\"ServiceName\":\"\"},\"ForNotification\":false}\n```\n\nMay be, you to have to know, we are using consul-alerts too.\n"},"comment":{"url":"https://api.github.com/repos/hashicorp/consul/issues/comments/265893651","html_url":"https://github.com/hashicorp/consul/issues/866#issuecomment-265893651","issue_url":"https://api.github.com/repos/hashicorp/consul/issues/866","id":265893651,"user":{"login":"myusuf3","id":156825,"avatar_url":"https://avatars.githubusercontent.com/u/156825?v=3","gravatar_id":"","url":"https://api.github.com/users/myusuf3","html_url":"https://github.com/myusuf3","followers_url":"https://api.github.com/users/myusuf3/followers","following_url":"https://api.github.com/users/myusuf3/following{/other_user}","gists_url":"https://api.github.com/users/myusuf3/gists{/gist_id}","starred_url":"https://api.github.com/users/myusuf3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/myusuf3/subscriptions","organizations_url":"https://api.github.com/users/myusuf3/orgs","repos_url":"https://api.github.com/users/myusuf3/repos","events_url":"https://api.github.com/users/myusuf3/events{/privacy}","received_events_url":"https://api.github.com/users/myusuf3/received_events","type":"User","site_admin":false},"created_at":"2016-12-09T00:04:07Z","updated_at":"2016-12-09T00:04:07Z","body":"@Nomon so doing this rotating per machine till they came back up, but didn't have bloat and that worked. \r\n\r\nI will give it a shot, but recently added a new box and it matched the machines in bloat as well. "}}
{"actor":{"display_login":"myusuf3"}}