You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@guacamole.apache.org by "Frank Riley (JIRA)" <ji...@apache.org> on 2019/07/18 21:14:00 UTC

[jira] [Comment Edited] (GUACAMOLE-847) Memory leak when using RDP with audio data

    [ https://issues.apache.org/jira/browse/GUACAMOLE-847?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16888338#comment-16888338 ] 

Frank Riley edited comment on GUACAMOLE-847 at 7/18/19 9:13 PM:
----------------------------------------------------------------

The green line is the memory usage of the guacd process (not the VM size). You can see the memory going from a few hundred megabytes to 5GB over the span of 8 hours. Two days are shown in the image. The other lines are irrelevant as they are other processes I am monitoring. As I noted above, guacd only leaks when there is actual audio data transmitted. When I turn off the camera audio, which is on a windows box that guacd is RDP'ing to, guacd stops leaking memory.

 

You can also verify this by watching the RES column in top continually going up for the guacd process.


was (Author: fhriley):
The green line is the memory usage of the `guacd` process (not the VM size). You can see the memory going from a few hundred megabytes to 5GB over the span of 8 hours. Two days are shown in the image. The other lines are irrelevant as they are other processes I am monitoring. As I noted above, `guacd` only leaks when there is actual audio data transmitted. When I turn off the camera audio, which is on a windows box that `guacd` is RDP'ing to, `guacd` stops leaking memory.

 

You can also verify this by watching the `RES` column in `top` continually going up for the guacd process.

> Memory leak when using RDP with audio data
> ------------------------------------------
>
>                 Key: GUACAMOLE-847
>                 URL: https://issues.apache.org/jira/browse/GUACAMOLE-847
>             Project: Guacamole
>          Issue Type: Bug
>          Components: guacd
>    Affects Versions: 1.0.0
>            Reporter: Frank Riley
>            Priority: Major
>         Attachments: Screen Shot 2019-07-17 at 8.43.12 PM.png
>
>
> I use guacamole to RDP to a windows box and monitor a camera in my home. When I have the audio from the camera turned off, guacamole uses very little memory. However, when I turn on audio, guacd is leaking memory very badly. I monitor process memory usage with telegraf and grafana, and attached is the grafana plot showing the guacd memory usage over two days. I only connect to guacamole when I'm at work, and you can easily see when I connect to guacamole when I arrive and when I disconnect before I leave.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)