Comments (4)
Thank you for your report @tahirshak.
Is there any log emitted right before that?
After that happens does couchdb still work? Can you use the Fauxton interface or make API calls to it?
Does its resources usage seem to change during that time (uses more CPU/memory or less?).
from couchdb.
Hi @nickva , Please see the response to your questions.
Q: Is there any log emitted right before that?
Looking at the logs leading to when couchdb stopped writing to the journal, in just 5 minutes it emitted about 45k logs entries. Most of those messages are about the indexer such as Starting index update for db: shards
and Index update finished for db: shards
.
Q: After that happens does couchdb still work? Can you use the Fauxton interface or make API calls to it?
Couchdb still works and functioning, we can login to Fauxton and run the curl commands.
Q: Does its resources usage seem to change during that time (uses more CPU/memory or less?).
Yes, the CPU spiked little bit to 40% and the memory spiked as well to 15%.
from couchdb.
@tahirshak thank you for responding. That's interesting about the CPU spiking a bit afterwards. I still don't quite have a clue what might be going on.
In production I only have experience with the syslog writer. That one never seems to behave this way. The journald log writer just seems to write to standard_error
c2ff7da but I can't think why it would stop. Wonder if a log gets full or can't be rotated then standard_error would lock up?
Would it be possible for you try a syslog writer and have a system rsyslog package installed to see if it would behave the same way?
from couchdb.
Perhaps it's similar to coreos/bugs#990, a systemd issue?
If it's triggered by log volume can try lowering the log level to error
: https://docs.couchdb.org/en/stable/config/logging.html#log/level
I don't know if you want to dive in and debug journald/systemd but I owuld to bypass systemd altogether and log to a file or use rsyslog and use the syslog backend: https://docs.couchdb.org/en/stable/config/logging.html#log/syslog_host
from couchdb.
Related Issues (20)
- "apache.jfrog.io" no more available. Where are the .deb packages now? HOT 2
- Installing from yum repo fails repomd.xml signature could not be verified for couchdb HOT 2
- How do I customize port and service name for couchdb during silent installation in Windows HOT 7
- Extent log message about conflicted shards HOT 3
- Requiring support for leading wildcard search for nouveau HOT 3
- Inherited Permissions Not Applied in CouchDB's Windows Installer HOT 8
- No documentation on mem3 options in CouchDB
- Sign out from Admin HOT 5
- Invoking update function when changing document in Fauxton HOT 3
- HTTP call inside validation function in design document? HOT 2
- CouchDB replications cannot be configured with 'heartbeat'
- Slow couchdb after many queries HOT 29
- Add "exp" to mandatory JWT claims HOT 4
- Nouveau trial run observations HOT 3
- Unexpected JWT auth response "badmatch" HOT 7
- Verify CouchDB Installation fails with create view HOT 4
- replicator session auth cannot handle multiple Set-Cookie headers in /_session request HOT 1
- Create new Fauxton release and update couch HOT 1
- Compactor case clause error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from couchdb.