Jonas Zeiger created GUACAMOLE-958:
--------------------------------------

             Summary: Race in guacd client termination
                 Key: GUACAMOLE-958
                 URL: https://issues.apache.org/jira/browse/GUACAMOLE-958
             Project: Guacamole
          Issue Type: Bug
          Components: guacd
    Affects Versions: 1.1.0
            Reporter: Jonas Zeiger


I observed delays when trying to shutdown guacd cleanly:
{code:java}
2020-02-12 12:20:52.886 [some-app] [0c7bfb7f-c009-4685-8b83-a144aa0bb4f6] 
[140049387599616]: guacd[174]: DEBUG: Client terminated successfully.
2020-02-12 12:20:52.887 [some-app] [0c7bfb7f-c009-4685-8b83-a144aa0bb4f6] 
[140049387599616]: guacd[166]: ERROR: Error handling message from VNC server.
2020-02-12 12:20:52.887 [some-app] [0c7bfb7f-c009-4685-8b83-a144aa0bb4f6] 
[140049387599616]: guacd[166]: INFO:  User 
"@e2dac0b0-5e01-4b3e-8898-14d2d351abee" disconnected (0 users remain)
2020-02-12 12:20:52.887 [some-app] [0c7bfb7f-c009-4685-8b83-a144aa0bb4f6] 
[140049387599616]: guacd[166]: INFO:  Last user of connection 
"$902a4fea-c198-409f-a249-9a5dbaa4bdec" disconnected
2020-02-12 12:20:52.887 [some-app] [0c7bfb7f-c009-4685-8b83-a144aa0bb4f6] 
[140049387599616]: guacd[166]: DEBUG: Requesting termination of client...
2020-02-12 12:20:52.887 [some-app] [0c7bfb7f-c009-4685-8b83-a144aa0bb4f6] 
[140049387599616]: guacd[166]: INFO:  Internal VNC client disconnected
2020-02-12 12:20:57.887 [some-app] [0c7bfb7f-c009-4685-8b83-a144aa0bb4f6] 
[140049387599616]: guacd[166]: WARNING:       Client did not terminate in a 
timely manner. Forcibly terminating client and any child processes.
{code}
I suspect the client actually terminated properly (see log message "Internal 
VNC client disconnected").



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to