Return-Path: X-Original-To: apmail-couchdb-dev-archive@www.apache.org Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9A9F0D906 for ; Tue, 19 Jun 2012 07:14:45 +0000 (UTC) Received: (qmail 7544 invoked by uid 500); 19 Jun 2012 07:14:45 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 7483 invoked by uid 500); 19 Jun 2012 07:14:44 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 7264 invoked by uid 99); 19 Jun 2012 07:14:43 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Jun 2012 07:14:43 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id 12F0A1427F2 for ; Tue, 19 Jun 2012 07:14:43 +0000 (UTC) Date: Tue, 19 Jun 2012 07:14:43 +0000 (UTC) From: "Dave Cottlehuber (JIRA)" To: dev@couchdb.apache.org Message-ID: <1145183581.28701.1340090083081.JavaMail.jiratomcat@issues-vm> In-Reply-To: <1566766307.28525.1340085645562.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Commented] (COUCHDB-1499) CouchDB daemon terminates when the computer goes to sleep MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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