From apfitch@ieee.org Mon Jul 28 14:16:37 2014 Received: (at 475) by bugs.x2go.org; 28 Jul 2014 12:16:38 +0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on ymir.das-netzwerkteam.de X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_40 autolearn=ham version=3.3.2 Received: from avasout03.plus.net (avasout03.plus.net [84.93.230.244]) by ymir.das-netzwerkteam.de (Postfix) with ESMTP id EE7755DB52 for <475@bugs.x2go.org>; Mon, 28 Jul 2014 14:16:36 +0200 (CEST) Received: from webmail.plus.net ([84.93.228.147]) by avasout03 with smtp id XoGc1o0063BT6uC01oGcL9; Mon, 28 Jul 2014 13:16:36 +0100 X-CM-Score: 0.00 X-CNFS-Analysis: v=2.1 cv=ZOBZmBLb c=1 sm=1 tr=0 a=jSQgp9IWXRf89EXR5FPwJg==:117 a=w4EKCLIKYwgYHYQkPyk5+Q==:17 a=0Bzu9jTXAAAA:8 a=dYCPD3cKDi0A:10 a=p7PgN5Y1ueAA:10 a=ONEJXaA8-E4A:10 a=W3ozwn2qWJIA:10 a=IkcTkHD0fZMA:10 a=o83nqyVRAAAA:8 a=f56q1jsUjX8x8XtVe78A:9 a=QEXdDO2ut3YA:10 X-AUTH: apfitch:2500 Received: from [78.154.109.115] by webmail.plus.net with HTTP (HTTP/1.1 POST); Mon, 28 Jul 2014 13:16:36 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Mon, 28 Jul 2014 13:16:36 +0100 From: Alan Fitch To: Mike Gabriel Cc: <475@bugs.x2go.org> Subject: Re: [X2Go-Dev] Bug#475: Also seen on Centos 6.5 with Windows 7 client In-Reply-To: <20140725193832.Horde.Om8C1ZmTUn-EbkeqV6E6gQ1@mail.das-netzwerkteam.de> References: <20140725193832.Horde.Om8C1ZmTUn-EbkeqV6E6gQ1@mail.das-netzwerkteam.de> Message-ID: <34a89d2d4c51da62638387ea44f33d94@imap.plus.net> X-Sender: apfitch@ieee.org User-Agent: Roundcube Webmail/0.7.4 X-Originating-IP: [78.154.109.115] On 25.07.2014 20:38, Mike Gabriel wrote: > Hi Alan, > > On Fr 25 Jul 2014 00:44:29 CEST, Alan Peter Fitch wrote: > >> I've seen this on Centos 6.5 with the Windows 7 x2go client, both >> 4.0.2.0. >> >> I tried downgrading the client all the way back to 3.11 with no >> effect. >> >> One interesting point - a colleague running x2goclient on Ubuntu 12 >> LTS >> (client version was 3.99) did *not* experience the problem. >> >> In my environment it makes x2go unusable, so I'm now investigating >> xpra >> to get the resume/suspend functionality. > > Can you detect where exactly the sesion startup hangs? > > My guess is that you have an everlasting x2gostartagent process on > the X2Go Server machine that loops endlessly while detecting a free > TCP/IP port for binding its forwarding tunnel endpoints to. > > We have to rely on a little testing here. Thanks. Hi Mike, I've done some more testing. I tried running Questasim on the cluster controller node (not on one of the cluster machines) and it was just as bad. Again x2goagent was consuming up to 70% CPU, which was slowing window re-draws right down. I ran strace -p pid where pid was the process ID of x2go agent, and captured a log. Here is a short extract: Process 14310 attached - interrupt to quit ioctl(7, FIONREAD, [0]) = 0 write(7, "\2\"\0\0\0\0\377\377", 8) = 8 ioctl(7, FIONREAD, [0]) = 0 ioctl(7, FIONREAD, [0]) = 0 select(8, [7], [], NULL, {5, 0}) = 1 (in [7], left {4, 998540}) ioctl(7, FIONREAD, [13]) = 0 read(7, "\32\r\22\270#`A\2\0\0\0\377\377", 65536) = 13 ioctl(7, FIONREAD, [0]) = 0 ioctl(7, FIONREAD, [0]) = 0 write(7, "\2\"\0\0\0\0\377\377", 8) = 8 ioctl(7, FIONREAD, [0]) = 0 ioctl(7, FIONREAD, [0]) = 0 select(8, [7], [], NULL, {5, 0}) = 1 (in [7], left {4, 995499}) ioctl(7, FIONREAD, [13]) = 0 read(7, "\32\r\22\270#`A\2\0\0\0\377\377", 65536) = 13 ioctl(7, FIONREAD, [0]) = 0 ioctl(7, FIONREAD, [0]) = 0 write(7, "\2\"\0\0\0\0\377\377", 8) = 8 ioctl(7, FIONREAD, [0]) = 0 ioctl(7, FIONREAD, [0]) = 0 select(8, [7], [], NULL, {5, 0}) = 1 (in [7], left {4, 998045}) ioctl(7, FIONREAD, [13]) = 0 read(7, "\32\r\22\270#`A\2\0\0\0\377\377", 65536) = 13 I've got 270K(!) of this if there's some way to upload an attachment, regards Alan > > Mike -- Alan Fitch (Home)