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

Cumulative number of connections are limited to about 60.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.5.5
    • None
    • guacd
    • None
    • Version: 1.5.5 & latest from the official Dockerhub image

    Description

      When the cumulative number of connections reach about 60 user connections, new ones can't be created.

      Version: 1.5.5

      guacd_compose  | guacd[1645]: INFO:     User "@9d098496-4861-4953-8d7f-0a6818f9943c" joined connection "$90ce76b4-1dcf-4f1e-9653-0d77d1b25318" (1 users now present)
      guacd_compose  | guacd[1645]: ERROR:    SSH handshake failed.
      guacd_compose  | guacd[1645]: INFO:     User "@9d098496-4861-4953-8d7f-0a6818f9943c" disconnected (0 users remain)
      guacd_compose  | guacd[1645]: INFO:     Last user of connection "$90ce76b4-1dcf-4f1e-9653-0d77d1b25318" disconnected

      After about 60 connections, new ones can't be created.

       

      Latest (2024-11-04 12:00:00 UTC):

      guacd_compose  | guacd[1312]: INFO:     User "@4267e072-2b24-4cf8-800a-63fd91ac36d8" joined connection "$223f505b-f6ca-4dc6-b346-53d6a4233833" (1 users now present)
      guacd_compose  | GLib (gthread-posix.c): Unexpected error from C library during 'pthread_key_create': Resource temporarily unavailable.  Aborting.
      guacd_compose  | guacd[1]: INFO:        Connection "$223f505b-f6ca-4dc6-b346-53d6a4233833" removed
      ...
      guacd_compose  | guacd[1584]: INFO:     User "@e963456d-3bac-4f97-ab1b-89e4845a5470" joined connection "$d4e67432-840c-42ba-82f1-68d5c0544d84" (1 users now present)
      guacd_compose  | guacd[1584]: ERROR:    SSH handshake failed.
      guacd_compose  | guacd[1584]: INFO:     User "@e963456d-3bac-4f97-ab1b-89e4845a5470" disconnected (0 users remain)
      guacd_compose  | guacd[1584]: INFO:     Last user of connection "$d4e67432-840c-42ba-82f1-68d5c0544d84" disconnected 

      After about 60 connections, the oldest connection will be closed to open the new connection.

      In the logs, we can see a similar issue mentioned in GUACAMOLE-1920 When the cumulative number of user connections reaches a certain amount, guacd will report an error. "RDP server closed/refused connection: Security negotiation failed (wrong security type?)” - ASF JIRA

       

      Version 1.5.3 seems to work fine with >100 cumulative connections tested on the same environment.

       

      Affecting SSH + RDP.

      Attachments

        Activity

          People

            Unassigned Unassigned
            mtlordix Maik Tralles
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: