[ 
https://issues.apache.org/jira/browse/COUCHDB-370?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12738697#action_12738697
 ] 

Paul Joseph Davis commented on COUCHDB-370:
-------------------------------------------

Is it possible to make couchspawnkillable watch for the parent process death 
without introducing a new process into the mix? The *nix variant is a simple 
shell script that exec's and I'd be a tad remiss to make it more complicated. 
It also seems awfully recursive otherwise. Not to mention that we'd be doubling 
the number of OS level processes used.

My vote would still be for using heart if possible.

> If the CouchDB vm is dies or is killed, view subprocesses (js) are not 
> automatically killed
> -------------------------------------------------------------------------------------------
>
>                 Key: COUCHDB-370
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-370
>             Project: CouchDB
>          Issue Type: Bug
>          Components: JavaScript View Server
>    Affects Versions: 0.9
>            Reporter: Damien Katz
>            Priority: Minor
>
> If CouchDB dies or is killed, it's subprocess are not forcefully killed. If 
> the subprocesses are in infinite loops, they will never die. We need some 
> kind of external watchdog process, or processes that kill the subprocess 
> automatically if the CouchDB erlang vm dies.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to