Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 22578 invoked from network); 2 Feb 2010 16:56:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 2 Feb 2010 16:56:53 -0000 Received: (qmail 55544 invoked by uid 500); 2 Feb 2010 16:56:52 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 55472 invoked by uid 500); 2 Feb 2010 16:56:52 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 55462 invoked by uid 99); 2 Feb 2010 16:56:51 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Feb 2010 16:56:51 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of tkruthoff@gmail.com designates 209.85.220.212 as permitted sender) Received: from [209.85.220.212] (HELO mail-fx0-f212.google.com) (209.85.220.212) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Feb 2010 16:56:40 +0000 Received: by fxm4 with SMTP id 4so293365fxm.32 for ; Tue, 02 Feb 2010 08:56:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:mime-version :subject:date:references:x-mailer; bh=wdROH57N09apzOK5kk9TFypXVqEbNMNxRJEGKV2LRMs=; b=sKDaYzvVUv6hfz4pFFynyQC8ZaVHdKVs+Ntx9y92I8pKB6GO1wwll5XdEsTDDTZ3RP G3EqgCbe8FGbB+InqDuD1L7emqB/IVNGI8MvosL6lcFVWOgrhD8HdloXNWiWiWCMzvDn tWr0QXXn/DveOdMF3P+mQFOz6YZ9YkM0huvMs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:in-reply-to:content-type :content-transfer-encoding:mime-version:subject:date:references :x-mailer; b=o8QbLUU+9DHrC1T+jdJcxAT2qzxAmdvzOSmL4afN19i4W/oi/GdVD5+6ZulpZ2fjD4 8taCarrF86NO45FmnlauJgAHfk60vXhTS6FLTaLX3J3tZer/mtfHVxNpG61z4z0tzXtK yOWD/FYxMuk3Is20tkyKW8HuEKCEUAFkJMIYs= Received: by 10.223.76.91 with SMTP id b27mr5099226fak.4.1265129778346; Tue, 02 Feb 2010 08:56:18 -0800 (PST) Received: from ?10.0.1.5? (c-24-4-248-80.hsd1.ca.comcast.net [24.4.248.80]) by mx.google.com with ESMTPS id 14sm2633677fxm.3.2010.02.02.08.56.15 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 02 Feb 2010 08:56:16 -0800 (PST) Message-Id: From: Troy Kruthoff To: user@couchdb.apache.org In-Reply-To: <201002021012.58251.markus@buyways.nl> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Subject: Re: Stopping externals Date: Tue, 2 Feb 2010 08:56:13 -0800 References: <201002021012.58251.markus@buyways.nl> X-Mailer: Apple Mail (2.936) X-Virus-Checked: Checked by ClamAV on apache.org The external script is responsible for detecting that the stdin/out pipe was closed. We coded a few ext scripts and had to bake this in, pseudo code: while STDIN do work unless STDIN.EOF Troy On Feb 2, 2010, at 1:12 AM, Markus Jelsma wrote: > Hi, > > > Is it normal behaviour for external scripts to continue running > after i have > either killed CouchDB by hand or kindly used provided init scripts? > > At least, the Lounge's replicator will continue running until i > force it down > manually. Is killing an external process something CouchDB should be > responsible for? > > > Cheers, > > Markus Jelsma - Technisch Architect - Buyways BV > http://www.linkedin.com/in/markus17 > 050-8536620 / 06-50258350 >