Good Evening, I have Apache Guacamole running in 4 identical environments in 4 separate identical kubernetes clusters. I'm running the latest version of Guacamole 1.5.4 and guacd. This issue was occurring in 1.5.2, so I updated to 1.5.4 today. One environment has significantly more use than the other 3, and I am getting this error in guacd in that environment: "Major bug, unable to allocate a TLS value for currentThread". The user is presented with this error: "The remote desktop server encountered an error and has closed the connection. Please try again or contact your system administrator." I'll add some related logs below. I see that TLS refers to Thread Local Storage, so I have allocated 1 GB of memory for this pod. The node with the errors was also maxed on CPU, so I've also allocated 1 CPU for guacd. I believe both of these values are overkill, but I am still having the issue. I can reproduce it by opening multiple RDS sessions within a few seconds, or just wait a while and it will happen to users. I've had it running on a node by itself with no other pods except for kube-system pods and the error is still produced, so now I'm not sure what I need to fix and any help would be appreciated.
guacd[1048]: INFO: User "@4c1abdfc-b0c3-44f5-ab5e-edc1b84a3556" joined connection "$754e3eba-a017-431d-a308-9c6e9f5777da" (1 users now present) guacd[1048]: DEBUG: Client is using protocol version "VERSION_1_5_0" guacd[1048]: INFO: Loading keymap "base" guacd[1048]: INFO: Loading keymap "en-us-qwerty" guacd[1048]: DEBUG: Support for CLIPRDR (clipboard redirection) registered. Awaiting channel connection. guacd[1048]: DEBUG: Support for static channel "rdpdr" loaded. guacd[1048]: DEBUG: Support for static channel "rdpsnd" loaded. guacd[1048]: DEBUG: Local framebuffer format PIXEL_FORMAT_BGRX32 guacd[1048]: DEBUG: Remote framebuffer format PIXEL_FORMAT_RGB16 guacd[1048]: DEBUG: Major bug, unable to allocate a TLS value for currentThread guacd[1]: INFO: Connection "$754e3eba-a017-431d-a308-9c6e9f5777da" removed. guacd[1]: DEBUG: Unable to request termination of client process: No such process guacd[1]: DEBUG: All child processes for connection "$754e3eba-a017-431d-a308-9c6e9f5777da" have been terminated. Thanks, John
