<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">Hi,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">We are using x2go for a common compute server at our department. We have users both on the local LAN and connections to the other side of Europe that work really well. Being able to close the client and have computations still running in
 a GUI environment is great.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">However, I think we have encountered a bug. Some (but not all) of the long-running x2goagent processes start taking a lot of memory, ~30 GB. This adds up quickly so that the other users can’t do their work. Below you can see how user3 and
 user7 have x2goagent processes with large memory use (RSS column).<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">How can I go about debugging this? I have quite a bit of Linux experience, but I don’t know where to start on this one since I don’t know much about how x2go works internally.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="background:white"><span style="color:#222222">Server is on Ubuntu Server 18.04.1 LTS, (x2goserver 4.1.0.3-0~1708~ubuntu18.04.1). Clients are on Windows 10, version. 4.1.2.0.<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="background:white"><span style="color:#222222"><o:p> </o:p></span></p>
<p class="MsoNormal" style="background:white"><span style="font-family:"Courier New";color:#222222">johannes@compute-server:~$ ps  -o pid,lstart,rss,user $(pgrep x2goagent)<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span style="font-family:"Courier New";color:#222222">  PID      STARTED                    RSS           USER<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span style="font-family:"Courier New";color:#222222">4668      Fri Nov  8 08:35:35 2019   60896           user1<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span style="font-family:"Courier New";color:#222222">5743      Wed Dec  4 15:44:41 2019   249456         
</span><span lang="SV" style="font-family:"Courier New";color:#222222">user2<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span lang="SV" style="font-family:"Courier New";color:#222222;background:yellow;mso-highlight:yellow">14728      Thu Dec  5 10:17:25 2019   34926120        user3</span><span lang="SV" style="font-family:"Courier New";color:#222222"><o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span style="font-family:"Courier New";color:#222222">19408      Fri Dec 20 08:46:30 2019   199720          user4<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span style="font-family:"Courier New";color:#222222">48797      Wed Oct  2 15:34:44 2019   297680          user5<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span style="font-family:"Courier New";color:#222222">50693      Thu Dec 12 18:24:24 2019   317796          user6<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span style="font-family:"Courier New";color:#222222;background:yellow;mso-highlight:yellow">54561      Thu Dec 19 09:35:34 2019   28977804        user7</span><span style="font-family:"Courier New";color:#222222"><o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span lang="SV" style="font-family:"Courier New";color:#222222">56244      Fri Jan 17 08:19:29 2020   170856         
</span><span style="font-family:"Courier New";color:#222222">user8</span><span lang="SV" style="font-family:"Courier New";color:#222222"><o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span style="font-family:"Courier New";color:#222222">60386      Thu Nov 14 09:23:37 2019   146416          user9<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span style="color:#222222"><o:p> </o:p></span></p>
<p class="MsoNormal" style="background:white"><span style="color:#222222"><o:p> </o:p></span></p>
<p class="MsoNormal" style="background:white"><span style="color:#222222"><o:p> </o:p></span></p>
<p class="MsoNormal" style="background:white"><span style="font-family:"Courier New";color:#222222">johannes@compute-server:~$ apt show x2goserver<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span style="font-family:"Courier New";color:#222222">Package: x2goserver<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span style="font-family:"Courier New";color:#222222">Version: 4.1.0.3-0~1708~ubuntu18.04.1<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span style="color:#222222"><o:p> </o:p></span></p>
<p class="MsoNormal" style="background:white"><span style="color:#222222"><br>
— <o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span style="color:#222222">Johannes Töger<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span style="color:#222222"><o:p> </o:p></span></p>
<p class="MsoNormal" style="background:white"><span style="color:#222222">Associate Senior Lecturer<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span style="color:#222222">Cardiac MR Group<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span style="color:#222222">Department of Clinical Sciences Lund, Clinical Physiology<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span style="color:#222222">Lund University, Sweden<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>