You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CouchDB dies and systemd tries to restart it over and over, if the log directory for file based logging is full.
Steps to Reproduce
Fill the disk (for example with fallocate) where the CouchDB log is written to and watch CouchDB go down.
Expected Behaviour
I expect, that CouchDB just stops logging and still works. The CouchDB data directory is on a separate disk and still has plenty of space to work with.
Your Environment
Debian 12 with the official CouchDB 3.3.3 package.
The text was updated successfully, but these errors were encountered:
@mikkimichaelis good point. But I think CouchDB's simple file logger is just that - a basic logger. I think it would be good to enhance it to stop writing when the disk is full, however I don't know if it will gain proper file rotation, it's own remote logging, or other such features.
In production it might be better to use a proper logger like rsyslog or journald [1]. CouchDB can be configured to use those easily:
CouchDB dies and systemd tries to restart it over and over, if the log directory for file based logging is full.
Steps to Reproduce
Fill the disk (for example with fallocate) where the CouchDB log is written to and watch CouchDB go down.
Expected Behaviour
I expect, that CouchDB just stops logging and still works. The CouchDB data directory is on a separate disk and still has plenty of space to work with.
Your Environment
Debian 12 with the official CouchDB 3.3.3 package.
The text was updated successfully, but these errors were encountered: