Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

My CouchDB server (on a CentOS 4 installation) sometimes shuts down without my knowing.

  • I'm sure the server doesn't restart (looking at the uptime).
  • I've looked in the logs (both the var/log directory and the couchdb.stderr log file, the log severity is set to info, which would show errors too), but nothing indicates that a shutdown was issued, let alone the process doing so.
  • Lastly, since the server isn't being used in a production environment yet I doubt that it is a memory/buffer issue.

How can I log how and why the server is shut down?

share|improve this question
    
Are you on EC2? I have seen similar bugs on EC2 with CouchDB and I have heard others mention it too. –  jhs Jun 13 '11 at 1:16

1 Answer 1

Try use strace/gdb or setup debug level(http://beauty-of-code.de/2009/11/setting-debug-level-in-couchdb/).

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.