Uploaded image for project: 'HPCC'
  1. HPCC
  2. HPCC-17088

dafilesrv can take up to 1 minute to shutdown via stopRemoteServer (e.g. called by dafscontrol)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.4.0
    • Component/s: dafilesrv
    • Labels:
      None

      Description

      It takes a long time to shutdown, because dafilesrv is sitting on a poll() with a timeout (of 60s) (inside a wait_read).
      Commands are received, a accept() is called to create a new socket and passed to a command handled, which handles the stop command on a different thread.
      The stop command then marks the server as stopped, but doesn't do anything re. the wait_read which the main loop has since re-entered.

      The issue might effect other things in a similar situation.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jakesmith Jake Smith
                Reporter:
                jakesmith Jake Smith
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: