guacamole-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From danielos <guacam...@dan-tech.pl>
Subject Re: guacd 0.9.12-incubating is using 100% cpu
Date Sun, 23 Jul 2017 17:18:40 GMT
I did interesting experiment. I runned 2 guacamole clients at the same 
time on the same vnc server (mirror view in 2 Firefoxes).

1st guacamole client - 0.9.13-RC1 (on docker)
2nd guacamole client - 0.9.12 (outside docker)

And acting on 2nd client (outside docker) I was able to hang 1st client 
(inside docker) by doing "clipboard copy by double click".

Contents od clipboards also looks different (see screenshot)

Daniel Nguyen

W dniu 23.07.2017 o 17:31, Mike Jumper [via Apache Guacamole 
(incubating) - Users] pisze:
> On Sat, Jul 22, 2017 at 3:28 AM, danielos <[hidden email] 
> </user/SendEmail.jtp?type=node&node=1375&i=0>> wrote:
>
> > I managed to install gdb in guacd container:
> >
> > -----------------------------
> >
> > [root@480dcc5d723f /]# top
> > top - 10:44:32 up 104 days, 23:28,  0 users,  load average: 1.66, 
> 1.95, 1.65
> > Tasks:   4 total,   1 running,   3 sleeping,   0 stopped, 0 zombie
> > %Cpu(s):  4.7 us,  0.7 sy,  0.0 ni, 93.8 id,  0.8 wa,  0.0 hi,  0.0 
> si,  0.0
> > st
> > KiB Mem : 32714444 total,  4350124 free,  4299328 used, 24064992 
> buff/cache
> > KiB Swap:  1048572 total,   993004 free,    55568 used. 27710752 
> avail Mem
> >
> >   PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM   TIME+ 
> COMMAND
> >    32 root      20   0  495456  45820   9360 S 100.0  0.1 132:28.00 
> guacd
> >     1 root      20   0  295568  15732   5332 S   0.0  0.0 0:01.08 guacd
> >    39 root      20   0   11880   2996   2584 S   0.0  0.0 0:00.00 bash
> >   178 root      20   0   52004   3888   3308 R   0.0  0.0 0:00.00 top
> >
> > -----------------------------
> >
> >
> > [root@480dcc5d723f /]# gdb -batch -ex bt -p 32
> > [New LWP 38]
> > [New LWP 36]
> > [Thread debugging using libthread_db enabled]
> > Using host libthread_db library "/lib64/libthread_db.so.1".
> > 0x00007f328ab93ef7 in pthread_join () from /lib64/libpthread.so.0
> > #0  0x00007f328ab93ef7 in pthread_join () from /lib64/libpthread.so.0
> > #1  0x00007f32820aa859 in guac_vnc_client_free_handler
> > (client=0x7f327c00abc0) at client.c:71
> > #2  0x00007f328b554b72 in guac_client_free (client=0x7f327c00abc0) at
> > client.c:193
> > #3  0x0000000000404310 in guacd_exec_proc (protocol=0x7f327c002b63 
> "vnc",
> > proc=0x7f327c00aba0) at proc.c:191
> > #4  guacd_create_proc (protocol=protocol@entry=0x7f327c002b63 "vnc") at
> > proc.c:253
> > #5  0x0000000000403a80 in guacd_route_connection 
> (socket=0x7f327c00ad10,
> > map=0x7f328bacd010) at connection.c:299
> > #6  guacd_connection_thread (data=0x251e450) at connection.c:394
> > #7  0x00007f328ab92dc5 in start_thread () from /lib64/libpthread.so.0
> > #8  0x00007f3289b6173d in clone () from /lib64/libc.so.6
> > [root@480dcc5d723f /]#
> >
>
> guacd and its per-connection processes use multiple threads, so this
> backtrace does not necessarily represent where things are spinning.
> Rather than just running "bt", please try "thread apply all bt". That
> will run bt for all running threads within the process.
>
> - Mike
>
>
> ------------------------------------------------------------------------
> If you reply to this email, your message will be added to the 
> discussion below:
> http://apache-guacamole-incubating-users.2363388.n4.nabble.com/guacd-0-9-12-incubating-is-using-100-cpu-tp1365p1375.html

>
> To unsubscribe from guacd 0.9.12-incubating is using 100% cpu, click 
> here 
> <http://apache-guacamole-incubating-users.2363388.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=1365&code=Z3VhY2Ftb2xlQGRhbi10ZWNoLnBsfDEzNjV8OTM3MTEyMDU2>.
> NAML 
> <http://apache-guacamole-incubating-users.2363388.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>

>



20170723_1937_screenshot_guacamole_sbs.png (67K) <http://apache-guacamole-incubating-users.2363388.n4.nabble.com/attachment/1378/0/20170723_1937_screenshot_guacamole_sbs.png>




--
View this message in context: http://apache-guacamole-incubating-users.2363388.n4.nabble.com/guacd-0-9-12-incubating-is-using-100-cpu-tp1365p1378.html
Sent from the Apache Guacamole (incubating) - Users mailing list archive at Nabble.com.
Mime
View raw message