You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Jean-Frederic Clere (Jira)" <ji...@apache.org> on 2021/02/03 15:37:00 UTC

[jira] [Commented] (DAEMON-314) [daemon] feature request: jsvc stop with force option

    [ https://issues.apache.org/jira/browse/DAEMON-314?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17278081#comment-17278081 ] 

Jean-Frederic Clere commented on DAEMON-314:
--------------------------------------------

According to my tests that it is probably due to INFINITE time-out on the stop command (–StopTimeout n is ignored in serviceStop() for both waiting for JNI and the external stop process).

> [daemon] feature request: jsvc stop with force option
> -----------------------------------------------------
>
>                 Key: DAEMON-314
>                 URL: https://issues.apache.org/jira/browse/DAEMON-314
>             Project: Commons Daemon
>          Issue Type: New Feature
>          Components: Jsvc
>            Reporter: Jungtaek Lim
>            Assignee: Jean-Frederic Clere
>            Priority: Major
>
> I have been used Apache Commons Daemon, and jsvc in product.
> If we stop processes with "jsvc stop", sometimes process doesn't shutdown.
> I think it's more beautiful to let parent process to force shutdown child process than kill parent process and child process manually.
> Does it make sense and is it possible?



--
This message was sent by Atlassian Jira
(v8.3.4#803005)