-
Notifications
You must be signed in to change notification settings - Fork 1k
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
wanted support of {error,enospc} #3576
Comments
heya, I just want to clarify what you’re looking for here? Do you want this to say literally “there was an error, there is no more space on the filesystem”, or what are you asking for here? CouchDB can’t “handle” a full filesystem any better because it can’t write any data to disk |
I mean:
What is prefer:
This will make error messages more user-friendly and do not flood the error log in the future. |
To implement it we would need to maintain a timestamp when the message was logged last time. CouchDB project would benefit in few other places if we would implement log once facility in the logger.
|
We have implemented optional countermeasures when the disks are getting full in #4681 It may still be worth adding periodic clear warnings to the logs for |
Can this help us to rate the output? |
That seems interesting, yeah it could work. We'd specifically want to rate limit some messages, info or out of disk space ones but we may want make sure we don't limit critical or other such errors. Our current log system was designed before the new logging system was written in Erlang/OTP so we could probably update it to simplify it and take better advantage of the new features. |
Summary
I use dedicated volume for CouchDB. Our application time to tie start make lot of changes and database size gow very fast.
I can see this errors in couchdb log
Desired Behaviour
added support of this error and generate relevant log message.
Additional context
I use CouchDB 2.3.1
The text was updated successfully, but these errors were encountered: