Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consul Temp file creation #338

Closed
failattu opened this issue Sep 15, 2014 · 2 comments
Closed

Consul Temp file creation #338

failattu opened this issue Sep 15, 2014 · 2 comments
Assignees
Labels
type/bug Feature does not function as expected

Comments

@failattu
Copy link

So we had one nasty crash with Consul as we are running Consul as service our system tries to reboot consul automatically when it crashes. This was followed by multiple crashes in a row which lead to the problem.

So Consul keeps creating files to temp folder and eventually we had around 1 terabyte worth of temp files. So you should cleanup the temp files if possible so it doesn't eat all of the storage space.

Running on windows server 2008 R2, windows server 2012 and windows server 2012 R2
Happened during Consul 0.3.1 We haven't seen a crash with Consul 0.4 yet.

@armon
Copy link
Member

armon commented Sep 15, 2014

Yeah, this happens on linux it is just less obvious. Windows creates a file of the full mmap() size, while linux makes a sparse file, so the "garbage" build up is much worse. We can tackle this in the next release!

@armon armon added the type/bug Feature does not function as expected label Oct 14, 2014
@armon armon self-assigned this Oct 15, 2014
@armon
Copy link
Member

armon commented Oct 15, 2014

Fixed by bb3324d

@armon armon closed this as completed Oct 15, 2014
duckhan pushed a commit to duckhan/consul that referenced this issue Oct 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug Feature does not function as expected
Projects
None yet
Development

No branches or pull requests

2 participants