You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gary D. Gregory (Jira)" <ji...@apache.org> on 2021/03/12 19:11:00 UTC

[jira] [Updated] (DAEMON-430) prunsrv stop timeout not honored

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

Gary D. Gregory updated DAEMON-430:
-----------------------------------
    Fix Version/s:     (was: 1.2.4)
                   1.2.5

> prunsrv stop timeout not honored
> --------------------------------
>
>                 Key: DAEMON-430
>                 URL: https://issues.apache.org/jira/browse/DAEMON-430
>             Project: Commons Daemon
>          Issue Type: Bug
>          Components: Procrun
>    Affects Versions: 1.2.3
>            Reporter: Jean-Frederic Clere
>            Assignee: Jean-Frederic Clere
>            Priority: Major
>             Fix For: 1.2.5
>
>
> From [procrun|https://commons.apache.org/proper/commons-daemon/procrun.html] , --StopTimeout can be used to define the time that procrun waits for service to exit.
> But it waits forever even setting --StopTimeout when  apxServiceControl(SERVICE_CONTROL_STOP) hangs.
> 1105            apxLogWrite(APXLOG_MARK_DEBUG "Waiting for stop worker to finish...");
> 1106            apxHandleWait(hWorker, INFINITE, FALSE);
> 1107            apxLogWrite(APXLOG_MARK_DEBUG "Stop worker finished.");



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