You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Dave Cottlehuber (JIRA)" <ji...@apache.org> on 2012/06/19 09:14:43 UTC

[jira] [Commented] (COUCHDB-1499) CouchDB daemon terminates when the computer goes to sleep

    [ https://issues.apache.org/jira/browse/COUCHDB-1499?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13396573#comment-13396573 ] 

Dave Cottlehuber commented on COUCHDB-1499:
-------------------------------------------

What distribution mechanism are you using?

    e.g. brew, manual build from source, binary bundle.

How have you set up CouchDB to run?

    e.g. using launchdaemon or something else?

Using launchdaemon to control/manage Couch is 
the right thing to do here; more details in
https://github.com/mxcl/homebrew/blob/master/Library/Formula/couchdb.rb

                
> CouchDB daemon terminates when the computer goes to sleep
> ---------------------------------------------------------
>
>                 Key: COUCHDB-1499
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-1499
>             Project: CouchDB
>          Issue Type: Bug
>          Components: Infrastructure
>    Affects Versions: 1.1.1, 1.2
>         Environment: OS X 10.6.8
>            Reporter: Ivan Krechetov
>            Priority: Minor
>              Labels: daemon
>
> Log entries on sleep and wake up:
> heart: Mon Jun 18 18:28:11 2012: heart-beat time-out.
> heart: Mon Jun 18 20:52:23 2012: Executed "/usr/local/Cellar/couchdb/1.2.0/bin/couchdb -k". Terminating.
> heart_beat_kill_pid = 62249
> heart_beat_timeout = 11
> Then, I just start it manually again, after the OS wakes up:
> Apache CouchDB 1.2.0 (LogLevel=info) is starting.
> Apache CouchDB has started. Time to relax.
> [info] [<0.31.0>] Apache CouchDB has started on http://127.0.0.1:5984/

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira