{"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,"milestone":null,"comments":21,"created_at":"2015-04-16T09:01:10Z","updated_at":"2016-04-14T05:46:41Z","closed_at":null,"body":"Hello.\r\n\r\nWe are using consul 0.5.0 and on one server (we have 3 servers), consul folder is really heavy:\r\n\r\n```\r\n# du -sh *\r\n4.0K\tcheckpoint-signature\r\n3.2G\traft\r\n24K\tserf\r\n1.8G\ttmp\r\n0\tui\r\ndu -sh raft/*\r\n3.2G\traft/mdb\r\n4.0K\traft/peers.json\r\n552K\traft/snapshots\r\n```\r\n\r\nIf I run `strings` on the db file I have always this pattern:\r\n\r\n```\r\nToken\r\nIndex\r\nTerm\r\nType\r\nData\r\nDatacenter\r\nDirEnt\r\nCreateIndex\r\nFlags\r\n5consul-alerts/checks/wax-prod.worker-1/_/memory_usage\r\nLockIndex\r\nModifyIndex\r\nSession\r\nValue\r\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}\r\n```\r\n\r\nMay be, you to have to know, we are using consul-alerts too.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/hashicorp/consul/issues/comments/209773087","html_url":"https://github.com/hashicorp/consul/issues/866#issuecomment-209773087","issue_url":"https://api.github.com/repos/hashicorp/consul/issues/866","id":209773087,"user":{"login":"Omeryl","id":6556439,"avatar_url":"https://avatars.githubusercontent.com/u/6556439?v=3","gravatar_id":"","url":"https://api.github.com/users/Omeryl","html_url":"https://github.com/Omeryl","followers_url":"https://api.github.com/users/Omeryl/followers","following_url":"https://api.github.com/users/Omeryl/following{/other_user}","gists_url":"https://api.github.com/users/Omeryl/gists{/gist_id}","starred_url":"https://api.github.com/users/Omeryl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Omeryl/subscriptions","organizations_url":"https://api.github.com/users/Omeryl/orgs","repos_url":"https://api.github.com/users/Omeryl/repos","events_url":"https://api.github.com/users/Omeryl/events{/privacy}","received_events_url":"https://api.github.com/users/Omeryl/received_events","type":"User","site_admin":false},"created_at":"2016-04-14T05:46:41Z","updated_at":"2016-04-14T05:46:41Z","body":"I have a similar problem, is there any work to fix this or provide workarounds? "}}