Uploaded image for project: 'Guacamole'
  1. Guacamole
  2. GUACAMOLE-533

Automatically kill wayward guacd processes

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Implemented
    • Affects Version/s: None
    • Fix Version/s: 1.0.0
    • Component/s: guacd
    • Labels:
      None

      Description

      The cleanup mechanisms of all supported protocols and guacd itself currently depend on the underlying client library being well behaved. In general, this works well, but there exist circumstances where bugs in an underlying library result in the process hanging, spinning, etc., despite the actual Guacamole side of the connection having entered a disconnected state. If this occurs, the process handling the connection never terminates.

      The handling of each connection process should be modified such that a failsafe kicks in if disconnect is not handled in a timely manner. If the Guacamole side of a connection closes, the protocol support should have some reasonable amount of time to finish its own cleanup, after which guacd should assume the worst and forcibly kill the process, allowing the OS to reclaim resources.

        Attachments

          Activity

            People

            • Assignee:
              mjumper Mike Jumper
              Reporter:
              mjumper Mike Jumper
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: