Return-Path: X-Original-To: apmail-couchdb-commits-archive@www.apache.org Delivered-To: apmail-couchdb-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6FFC9C176 for ; Fri, 14 Jun 2013 08:25:35 +0000 (UTC) Received: (qmail 88042 invoked by uid 500); 14 Jun 2013 08:25:16 -0000 Delivered-To: apmail-couchdb-commits-archive@couchdb.apache.org Received: (qmail 87515 invoked by uid 500); 14 Jun 2013 08:25:11 -0000 Mailing-List: contact commits-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 commits@couchdb.apache.org Received: (qmail 85711 invoked by uid 99); 14 Jun 2013 08:25:00 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Jun 2013 08:25:00 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id F20BA816C39; Fri, 14 Jun 2013 08:24:58 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: kxepal@apache.org To: commits@couchdb.apache.org Date: Fri, 14 Jun 2013 08:25:16 -0000 Message-Id: <17d920bf444d4165aa52b4e3294cd858@git.apache.org> In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [19/32] git commit: updated refs/heads/1781-reorganize-and-improve-docs to 11fd32a Describe os_daemon config sections. Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/b1f5b1db Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/b1f5b1db Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/b1f5b1db Branch: refs/heads/1781-reorganize-and-improve-docs Commit: b1f5b1dbbe38f1df1438299168a541f02d253850 Parents: af1003e Author: Alexander Shorin Authored: Wed Jun 12 15:55:25 2013 +0400 Committer: Alexander Shorin Committed: Wed Jun 12 16:06:30 2013 +0400 ---------------------------------------------------------------------- share/doc/src/config/os-daemons.rst | 32 +++++++++++++++++++++++++++++++- 1 file changed, 31 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/couchdb/blob/b1f5b1db/share/doc/src/config/os-daemons.rst ---------------------------------------------------------------------- diff --git a/share/doc/src/config/os-daemons.rst b/share/doc/src/config/os-daemons.rst index 3bde3aa..8f8611d 100644 --- a/share/doc/src/config/os-daemons.rst +++ b/share/doc/src/config/os-daemons.rst @@ -21,7 +21,8 @@ This is a simple feature that allows users to configure CouchDB so that it maintains a given OS level process alive. If the process dies for any reason, CouchDB will restart it. If the process restarts too often, then CouchDB will mark it has halted and not attempt to restart it. The default max restart rate -is ``3`` times in the last ``5`` seconds. These parameters are adjustable. +is ``3`` times in the last ``5`` seconds. These parameters are +:ref:`adjustable `. Commands that are started in this manner will have access to a simple API over stdio to request configuration parameters or to add log @@ -94,3 +95,32 @@ see :ref:`http-proxying`. For further background on the OS Daemon service, see `CouchDB Externals API`_. .. _CouchDB Externals API: http://davispj.com/2010/09/26/new-couchdb-externals-api.html + + +.. _config/os_daemons_settings: + +``[os_daemon_settings]`` :: OS Daemons settings +=============================================== + +.. _config/os_daemons_settings/max_retries: + +``max_retries`` :: Maximum restart retries +------------------------------------------ + +Specifies maximum attempts to run :ref:`os_daemon ` before +mark him halted:: + + [os_daemon_settings] + max_retries = 3 + + +.. _config/os_daemons_settings/retry_time: + +``retry_time`` :: Delay between restart attempts +------------------------------------------------ + +Delay in seconds between :ref:`os_daemon ` restarts:: + + [os_daemon_settings] + retry_time = 5 +