-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Snapshot open file descriptor permanently unusable after "filesystem full" condition #1744
Comments
Bumping this one... Any thoughts? |
@jjones-smug sorry haven't had a chance to chase this down yet. |
Bumping again, since I have a ticket open on this one that I'd like to close out. |
Hi, I'll test it. Added following line to /etc/fstab.
Set consul's data_dir to /opt/diskfull/consul
And...
It takes time to run out the resered area of local.snapshot file.
Although I got free space, outputting the error messages continue. I hope the problem will be fixed by following patch. best regards, |
I have a system that just ran into this problem as well:
A
Though a day or so ago that same machine did indeed run out of space, but obviously that space has since been cleared up. We did a Consul version 0.7.1 |
Just hit this (still) with 0.7.5 where agent never recovers after a disk full. Also see this error in the log
|
Is there a workaround for this issue? |
Fixed in #3236 |
We've run into an interesting error scenario where an attempt to write to the local snapshot files fails with a "no space left on device" error. The process seems to hold on to that error status and short-circuits subsequent write requests, indefinitely. So even after the filesystem issue is resolve, the consul process continues to SYSLOG "no space left on device" errors for each "tryAppend" call.
Running "strace" on the process show that no write() system calls are made to the file descriptor open against the snapshot file. Calls just result in writes to SYSLOG with an error returned to the application.
The text was updated successfully, but these errors were encountered: