Hi Team, 

Environment:
Guacamole release 0.9.14  installed on CentOS 7.0 (final) server having 4
vCPUs.  ( I tried with the latest CODE from th eGIT as well. )
RDP session of Windows 10 VM through Guacamole.
Play any You tube video on target VM in Google chrome/IE.
This is single session through Guacamole.

Findings:
High, almost 100% CPU usage by “guacd” process on CentOS server.
guacd process contains 9 threads out of which only a SINGLE thread eats 100%
CPU and hence the process. (Image 1)
This is the thread which handles TCP connection with target VM over which
RDP data flows. 
Doing a strace on this process shows it is getting frequent timeouts in
select and frequent data on poll (Image 2).
Image 3 shows a gdb back trace of the same thread. Just to see call stack.
When the video stops, CPU usage falls back to 5%.

Please find the below screenshots.

<http://apache-guacamole-general-user-mailing-list.2363388.n4.nabble.com/file/t328/Image_1.png>
 

<http://apache-guacamole-general-user-mailing-list.2363388.n4.nabble.com/file/t328/Image_2.jpg>
 

<http://apache-guacamole-general-user-mailing-list.2363388.n4.nabble.com/file/t328/Image_3.png>
 

<http://apache-guacamole-general-user-mailing-list.2363388.n4.nabble.com/file/t328/Guacd_configuration_file.png>
 

Please suggest the reason behind and any possible quick workaround.






--
Sent from: 
http://apache-guacamole-general-user-mailing-list.2363388.n4.nabble.com/

Reply via email to