{"action":"closed","issue":{"url":"https://api.github.com/repos/influxdb/influxdb/issues/3967","labels_url":"https://api.github.com/repos/influxdb/influxdb/issues/3967/labels{/name}","comments_url":"https://api.github.com/repos/influxdb/influxdb/issues/3967/comments","events_url":"https://api.github.com/repos/influxdb/influxdb/issues/3967/events","html_url":"https://github.com/influxdb/influxdb/issues/3967","id":104604800,"number":3967,"title":"[0.9.3] High Memory Consumption and weird WAL behavior.","user":{"login":"jhorwit2","id":3876739,"avatar_url":"https://avatars.githubusercontent.com/u/3876739?v=3","gravatar_id":"","url":"https://api.github.com/users/jhorwit2","html_url":"https://github.com/jhorwit2","followers_url":"https://api.github.com/users/jhorwit2/followers","following_url":"https://api.github.com/users/jhorwit2/following{/other_user}","gists_url":"https://api.github.com/users/jhorwit2/gists{/gist_id}","starred_url":"https://api.github.com/users/jhorwit2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhorwit2/subscriptions","organizations_url":"https://api.github.com/users/jhorwit2/orgs","repos_url":"https://api.github.com/users/jhorwit2/repos","events_url":"https://api.github.com/users/jhorwit2/events{/privacy}","received_events_url":"https://api.github.com/users/jhorwit2/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/influxdb/influxdb/labels/category/performance","name":"category/performance","color":"006b75"},{"url":"https://api.github.com/repos/influxdb/influxdb/labels/category/writes","name":"category/writes","color":"bfdadc"}],"state":"closed","locked":false,"assignee":{"login":"pauldix","id":4331,"avatar_url":"https://avatars.githubusercontent.com/u/4331?v=3","gravatar_id":"","url":"https://api.github.com/users/pauldix","html_url":"https://github.com/pauldix","followers_url":"https://api.github.com/users/pauldix/followers","following_url":"https://api.github.com/users/pauldix/following{/other_user}","gists_url":"https://api.github.com/users/pauldix/gists{/gist_id}","starred_url":"https://api.github.com/users/pauldix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pauldix/subscriptions","organizations_url":"https://api.github.com/users/pauldix/orgs","repos_url":"https://api.github.com/users/pauldix/repos","events_url":"https://api.github.com/users/pauldix/events{/privacy}","received_events_url":"https://api.github.com/users/pauldix/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/influxdb/influxdb/milestones/43","html_url":"https://github.com/influxdb/influxdb/milestones/0.9.4","labels_url":"https://api.github.com/repos/influxdb/influxdb/milestones/43/labels","id":1172852,"number":43,"title":"0.9.4","description":"","creator":{"login":"otoolep","id":536312,"avatar_url":"https://avatars.githubusercontent.com/u/536312?v=3","gravatar_id":"","url":"https://api.github.com/users/otoolep","html_url":"https://github.com/otoolep","followers_url":"https://api.github.com/users/otoolep/followers","following_url":"https://api.github.com/users/otoolep/following{/other_user}","gists_url":"https://api.github.com/users/otoolep/gists{/gist_id}","starred_url":"https://api.github.com/users/otoolep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/otoolep/subscriptions","organizations_url":"https://api.github.com/users/otoolep/orgs","repos_url":"https://api.github.com/users/otoolep/repos","events_url":"https://api.github.com/users/otoolep/events{/privacy}","received_events_url":"https://api.github.com/users/otoolep/received_events","type":"User","site_admin":false},"open_issues":65,"closed_issues":75,"state":"open","created_at":"2015-06-19T18:25:47Z","updated_at":"2015-09-10T18:13:38Z","due_on":"2015-09-10T07:00:00Z","closed_at":null},"comments":20,"created_at":"2015-09-03T01:42:16Z","updated_at":"2015-09-10T18:13:38Z","closed_at":"2015-09-10T18:13:38Z","body":"I started to notice since my upgrade to 0.9.3 that my memory usage has gone up significantly. The box I'm running only has about 10GB of ram, which was never an issue in the past; however, on the new release I notice that memory usage constantly goes up during the day until an OOM at night (current trend). The only way I can fix the memory issue is to clear my WAL directory completely on a restart. \r\n\r\nIf I restart influx w/o clearing the wal directory my memory shoots right back up. Shouldn't the WAL be flushing / draining to boltdb? Because that doesn't seem to be the case. I could turn off certain databases and still see the WAL full for it. \r\n\r\nI have also start to notice influx not restarting cleanly when the WAL is large. Influx will start, then just die without anything in the logs. I have noticed this quite a few times and the only solution I have found is to clear the WAL directory. "}}