You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Ivan Krechetov (JIRA)" <ji...@apache.org> on 2012/06/19 08:00:44 UTC
[jira] [Created] (COUCHDB-1499) CouchDB daemon terminates when the
computer goes to sleep
Ivan Krechetov created COUCHDB-1499:
---------------------------------------
Summary: 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.2, 1.1.1
Environment: OS X 10.6.8
Reporter: Ivan Krechetov
Priority: Minor
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
[jira] [Commented] (COUCHDB-1499) CouchDB daemon terminates when
the computer goes to sleep
Posted by "Dave Cottlehuber (JIRA)" <ji...@apache.org>.
[ 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
[jira] [Updated] (COUCHDB-1499) CouchDB daemon terminates when the
computer goes to sleep
Posted by "Ivan Krechetov (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/COUCHDB-1499?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ivan Krechetov updated COUCHDB-1499:
------------------------------------
Environment: OS X 10.6.8, homebrew, using couchdb -b to start (was: OS X 10.6.8)
> 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, homebrew, using couchdb -b to start
> 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
[jira] [Commented] (COUCHDB-1499) CouchDB daemon terminates when
the computer goes to sleep
Posted by "Ivan Krechetov (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/COUCHDB-1499?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13396579#comment-13396579 ]
Ivan Krechetov commented on COUCHDB-1499:
-----------------------------------------
I'm using homebrew.
To start the daemon I simply do
/usr/local/bin/couchdb -b -o /usr/local/var/log/couchdb.log -e /usr/local/var/log/couchdb.log
Thanks for the launchdaemon reference! I'll check it out.
> 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