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/05 14:22:00 UTC

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

Jean-Frederic Clere created DAEMON-430:
------------------------------------------

             Summary: 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
             Fix For: 1.2.4


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)