[jboss-jira] [JBoss JIRA] (WFCORE-1075) Deploying a file results in HC logging "WFLYCTL0019: Graceful shutdown" warn on shutdown or reload

Brian Stansberry (JIRA) issues at jboss.org
Sun Oct 25 18:13:00 EDT 2015


Brian Stansberry created WFCORE-1075:
----------------------------------------

             Summary: Deploying a file results in HC logging "WFLYCTL0019: Graceful shutdown" warn on shutdown or reload
                 Key: WFCORE-1075
                 URL: https://issues.jboss.org/browse/WFCORE-1075
             Project: WildFly Core
          Issue Type: Bug
          Components: Domain Management
    Affects Versions: 2.0.0.CR8
            Reporter: Brian Stansberry
            Assignee: Brian Stansberry
             Fix For: 2.0.0.CR9


Host Controllers frequently take 15 seconds to shutdown and reload, logging the following after a 15s pause:

{code}
WFLYCTL0019: Graceful shutdown of the handler used for native management requests did not complete within [15000] ms but shutdown of the underlying communication channel is proceeding
{code}

This is because MasterDomainControllerOperationHandlerImpl and ServerToHostProtocolHandler both handle a GET_FILE_REQUEST by registering and ActiveOperation with ActiveOperationSupport, but then the GetFileOperation handlers for the request never call "done" or "failed" on the ActiveOperation.ResultHandler. The activeRequests map in the ActiveOperationSupport therefore ends up with extraneous data resulting in the shutdown delay.

This is also a minor memory leak.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list