X2Go Bug report logs - #1060
x2goagent exhaust all Sysv5 shared memory segments when running Java GUI app

version graph

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

Reported by: Grigory Shamov <Grigory.Shamov@umanitoba.ca>

Date: Mon, 18 Jul 2016 15:45:01 UTC

Severity: normal

Found in version 3.5.0.32

Full log


🔗 View this message in rfc822 format

X-Loop: owner@bugs.x2go.org
Subject: Bug#1060: x2goagent exhaust all Sysv5 shared memory segments when running Java GUI app
Reply-To: Grigory Shamov <Grigory.Shamov@umanitoba.ca>, 1060@bugs.x2go.org
Resent-From: Grigory Shamov <Grigory.Shamov@umanitoba.ca>
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, 18 Jul 2016 15:45:01 +0000
Resent-Message-ID: <handler.1060.B.14688566867755@bugs.x2go.org>
Resent-Sender: owner@bugs.x2go.org
X-X2Go-PR-Message: report 1060
X-X2Go-PR-Package: x2goagent
X-X2Go-PR-Keywords: 
Received: via spool by submit@bugs.x2go.org id=B.14688566867755
          (code B); Mon, 18 Jul 2016 15:45:01 +0000
Received: (at submit) by bugs.x2go.org; 18 Jul 2016 15:44:46 +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.8 required=3.0 tests=BAYES_50,URIBL_BLOCKED
	autolearn=ham version=3.3.2
Received: from localhost (localhost [127.0.0.1])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTP id 2577C5DDF5
	for <submit@bugs.x2go.org>; Mon, 18 Jul 2016 17:44:43 +0200 (CEST)
X-Virus-Scanned: Debian amavisd-new at ymir.das-netzwerkteam.de
Received: from ymir.das-netzwerkteam.de ([127.0.0.1])
	by localhost (ymir.das-netzwerkteam.de [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id bamHUwcqMgtl for <submit@bugs.x2go.org>;
	Mon, 18 Jul 2016 17:44:36 +0200 (CEST)
X-Greylist: delayed 589 seconds by postgrey-1.34 at ymir.das-netzwerkteam.de; Mon, 18 Jul 2016 17:44:36 CEST
Received: from UMCE3CIP02.ad.umanitoba.ca (umce3cip02.ad.umanitoba.ca [130.179.21.19])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTP id 5AA4F5DA8E
	for <submit@bugs.x2go.org>; Mon, 18 Jul 2016 17:44:36 +0200 (CEST)
X-IronPort-AV: E=Sophos;i="5.28,384,1464670800"; 
   d="scan'208";a="63430393"
Received: from umce3exhc02.ad.umanitoba.ca (HELO ad.umanitoba.ca) ([10.0.1.22])
  by UMCE3CIP02.ad.umanitoba.ca with ESMTP; 18 Jul 2016 10:34:46 -0500
Received: from UMCE3EXMD01.ad.umanitoba.ca ([169.254.1.127]) by
 UMCE3EXHC02.ad.umanitoba.ca ([10.0.1.22]) with mapi id 14.03.0279.002; Mon,
 18 Jul 2016 10:34:46 -0500
From: Grigory Shamov <Grigory.Shamov@umanitoba.ca>
To: "submit@bugs.x2go.org" <submit@bugs.x2go.org>
Thread-Topic: x2goagent exhaust all Sysv5 shared memory segments when
 running Java GUI app
Thread-Index: AQHR4Qnp6T+K+f3UmUK+2fUnnLdhxA==
Date: Mon, 18 Jul 2016 15:34:46 +0000
Message-ID: <D3B2609B.B900E%Grigory.Shamov@ad.umanitoba.ca>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.0.1.81]
x-kse-attachmentfiltering-interceptor-info: protection disabled
x-kse-serverinfo: UMCE3EXHC02.ad.umanitoba.ca, 9
x-kse-antivirus-interceptor-info: scan successful
x-kse-antivirus-info: Clean, bases: 7/18/2016 3:45:00 AM
Content-Type: text/plain; charset="utf-8"
Content-ID: <B7E90922ECBCB640B4107546F9AD129B@umanitoba.ca>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
Package: x2goagent
Version: 3.5.0.32


We have encountered a strange problem: x2goagent on the server  would eat
up all the System5 shared memory segments when running a particular Java
GUI application. After that any other processes doing shared memory would
naturally fail. 

When the user connects, everything is as usual; then when Java program is
opened and starts working (dataset is loaded, some graphics based on it
displayed, several threads started to process the data) it quickly uses
over 4K of the shared memory segments.

In the output 'lsof -u user' there is about 4K lines of the sort:

x2goagent 29374 auser  DEL    REG                0,4           402984941
/SYSV00000000
x2goagent 29374 auser  DEL    REG                0,4           403017710
/SYSV00000000
x2goagent 29374 auser  DEL    REG                0,4           403050479
/SYSV00000000


In Œipcs¹ output there is about 4K lines of this sort:

------ Shared Memory Segments --------
key        shmid      owner      perms      bytes      nattch     status


0x00000000 339708005 auser 600        4331520    1          dest
0x00000000 339740774 auser 600        4331520    1          dest
0x00000000 339773543 auser 600        4331520    1          dest

The Java application is IGV: https://www.broadinstitute.org/igv/

Could you please advise, what causes this behaviour and what to do?

The server¹s OS is CentOS 6.6, I am using X2go packages rebuilt from from
EPEL sources. 
The desktop environment is GNOME. Thank you very much in advance!


-- 
Grigory Shamov

Westgrid/ComputeCanada Site Lead
University of Manitoba
E2-588 EITC Building,
(204) 474-9625








Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Mon May 27 23:02:24 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.