X2Go Bug report logs - #475
x2goclient v4.0.2.0 running on OSX, causes remote UI breakage and high CPU load on server

Package: x2goclient; Maintainer for x2goclient is X2Go Developers <x2go-dev@lists.x2go.org>; Source for x2goclient is src:x2goclient.

Reported by: Eugene San <eugenesan@gmail.com>

Date: Fri, 11 Apr 2014 16:40:01 UTC

Severity: normal

Full log


🔗 View this message in rfc822 format

X-Loop: owner@bugs.x2go.org
Subject: Bug#475: [X2Go-Dev] Bug#475: Also seen on Centos 6.5 with Windows 7 client
Reply-To: Alan Fitch <apfitch@ieee.org>, 475@bugs.x2go.org
Resent-From: Alan Fitch <apfitch@ieee.org>
Resent-To: x2go-dev@lists.x2go.org
Resent-CC: X2Go Developers <x2go-dev@lists.x2go.org>
X-Loop: owner@bugs.x2go.org
Resent-Date: Mon, 28 Jul 2014 12:20:02 +0000
Resent-Message-ID: <handler.475.B475.140654979811313@bugs.x2go.org>
Resent-Sender: owner@bugs.x2go.org
X-X2Go-PR-Message: followup 475
X-X2Go-PR-Package: <x2goclient>
X-X2Go-PR-Keywords: 
Received: via spool by 475-submit@bugs.x2go.org id=B475.140654979811313
          (code B ref 475); Mon, 28 Jul 2014 12:20:02 +0000
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 <apfitch@ieee.org>
To: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
Cc: <475@bugs.x2go.org>
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)

Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Thu Nov 21 15:20:09 2024; Machine Name: ymir.das-netzwerkteam.de

X2Go Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.