couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Markus Jelsma <>
Subject Re: Fwd: Stopping externals
Date Fri, 12 Feb 2010 12:26:56 GMT
Hi Paul,

CouchDB 0.10 does seem to have couchspawnkillable;
couch-1 [~/apache-couchdb-0.10.0] # find  -name "couchspawnkillable*"

Can you confirm this is the desired output?

Anyway, if so there might probably be a bug then because the replicator does 
not quit with CouchDB. I am not entirely sure whether the replicator checks 
for a terminating pipe but i guess it does.

Here is the Python code that sits in the main loop:                                
stuff = sys.stdin.readline()
    if not stuff:

Perhaps a lounge developer can tell us whether the replicator actually behaves 
as Troy suggested.


>Don't recall when that came in. To check:
>$ find $PREFIX/lib/couchdb -name "couchspawnkillable*"
>If that finds something then it should be new enough to theoretically
>kill things.
>Also, you should still use Troy's pattern for reading from stdin to be
>well behaved for the case that we have a bug. :)
>Paul Davis
>Managed to forget the ML in my reply.

Markus Jelsma - Technisch Architect - Buyways BV
050-8536620 / 06-50258350

View raw message