[
https://issues.apache.org/jira/browse/COUCHDB-1499?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13855854#comment-13855854
]
Nathan Vander Wilt commented on COUCHDB-1499:
---------------------------------------------
Sorry, the reason I wasn't noticing this is because I usually started CouchDB
with the restart option. However on a project where I wanted to be able to stop
CouchDB (but couldn't because of [COUCHDB-1795]) and omitted those flags, I've
been noticing this pretty consistently.
So FWIW, I am able to duplicate this too. I wonder if the heartbeat routine
ends ups comparing wall clock times across the suspend somehow.
> 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 was sent by Atlassian JIRA
(v6.1.5#6160)