Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-1075

Deploying a file results in HC logging "WFLYCTL0019: Graceful shutdown" warn on shutdown or reload

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 2.0.0.CR8
    • Fix Version/s: 2.0.0.Final
    • Component/s: Management
    • Labels:
      None

      Description

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

      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
      

      This is because MasterDomainControllerOperationHandlerImpl and ServerToHostProtocolHandler both handle a GET_FILE_REQUEST by registering an 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.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                brian.stansberry Brian Stansberry
                Reporter:
                brian.stansberry Brian Stansberry
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: