[ 
https://issues.apache.org/jira/browse/DAEMON-381?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mark Thomas resolved DAEMON-381.
--------------------------------
    Resolution: Not A Bug

The timeout is only how long the manager service waits for the service to 
terminate. Like the standard Windows GUI for service management, if the service 
does not stop in that time control is returned to the user but the service is 
not forcibly stopped.

> StopTimeout not working
> -----------------------
>
>                 Key: DAEMON-381
>                 URL: https://issues.apache.org/jira/browse/DAEMON-381
>             Project: Commons Daemon
>          Issue Type: Bug
>          Components: Procrun
>    Affects Versions: 1.0.14, 1.0.15, 1.1.0
>         Environment: Windows 10, JDK 1.8.0_161, Spring Boot 1.3.6.RELEASE
>            Reporter: David Webb
>            Priority: Major
>
> With the stopTimeout set to 5 seconds, and a test application that sleeps for 
> 30 seconds after given the stop command, one would expect the prunsrv process 
> to be killed after 5 seconds.
> The process stays alive for 30 seconds before terminating.
> Based on the documentation I feel I am using this parameter correctly.  The 
> daemon should wait 5 seconds for the wrapped java process to terminate 
> gracefully, then terminate it.
>  
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to