X2Go Bug report logs - #1528
x2gocleansessions has hardcoded sleep time

version graph

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

Reported by: "Giuseppe Ragusa" <giuseppe.ragusa@hotmail.com>

Date: Mon, 1 Mar 2021 08:00:02 UTC

Severity: wishlist

Found in version 4.1.0.4

Full log


🔗 View this message in rfc822 format

X-Loop: owner@bugs.x2go.org
Subject: Bug#1528: x2gocleansessions has hardcoded sleep time
Reply-To: "Giuseppe Ragusa" <giuseppe.ragusa@hotmail.com>, 1528@bugs.x2go.org
Resent-From: "Giuseppe Ragusa" <giuseppe.ragusa@hotmail.com>
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, 01 Mar 2021 08:00:02 +0000
Resent-Message-ID: <handler.1528.B.161458547631159@bugs.x2go.org>
Resent-Sender: owner@bugs.x2go.org
X-X2Go-PR-Message: report 1528
X-X2Go-PR-Package: x2goserver
X-X2Go-PR-Keywords: 
Received: via spool by submit@bugs.x2go.org id=B.161458547631159
          (code B); Mon, 01 Mar 2021 08:00:02 +0000
Received: (at submit) by bugs.x2go.org; 1 Mar 2021 07:57:56 +0000
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
	ymir.das-netzwerkteam.de
X-Spam-Level: *
X-Spam-Status: No, score=1.7 required=3.0 tests=BAYES_50,DKIM_SIGNED,
	DKIM_VALID,FORGED_HOTMAIL_RCVD2,FREEMAIL_FROM,SPF_HELO_PASS,
	URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.2
Received: from wforward4-smtp.messagingengine.com (wforward4-smtp.messagingengine.com [64.147.123.34])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id 257BE5DA77
	for <submit@bugs.x2go.org>; Mon,  1 Mar 2021 08:57:42 +0100 (CET)
Received: from compute4.internal (compute4.nyi.internal [10.202.2.44])
	by mailforward.west.internal (Postfix) with ESMTP id 7A261600
	for <submit@bugs.x2go.org>; Mon,  1 Mar 2021 02:57:39 -0500 (EST)
Received: from imap38 ([10.202.2.88])
  by compute4.internal (MEProxy); Mon, 01 Mar 2021 02:57:39 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
	messagingengine.com; h=content-type:date:from:message-id
	:mime-version:subject:to:x-me-proxy:x-me-proxy:x-me-sender
	:x-me-sender:x-sasl-enc; s=fm2; bh=GXRJFBqozGXUGKYrff0SP4QkMprPv
	0MgIUQ0ubJDzTQ=; b=vtoiKL9KiMkpD6bJLH8F9eM7WpEUZoEtT+ndDHGHZS6/E
	gdHQ9jQ9rDlr0wb4eab62LbNXSCQG2WMLNaQpPtpH9lEmainGiaE8RVsuiOs1o2z
	EczUXOfMOB2GVM7riXE7A6Rq3GD9GIze454YWGPjVdWrtN1ZhdELmjDbY+V/lRmB
	2Jj6snYnKsDwNe7dNapmIhsGlUkZKH6vqViLRJbcuAxE37yTuMQ3MBLXhzrw3XsW
	KW/HSVhRyYUUDQLx3gwm6dIUVXlmTOPd+H3PEUPT0RamIZk0GRIzG+d03p+wKTSt
	sdpr58g7pVFzzqH3k5gBbdTOkcxFTcvDusB4eY43A==
X-ME-Sender: <xms:cp48YCLPYGHeuDupiWmdE3f3SmvtxlwNDvf7kHzrsOewIxsWAd-WUQ>
    <xme:cp48YKLZnie6_qvQDZK4g34lsmwVPXn77icttGWg2vJbgntrKoj57uxxoH5_78YyN
    6whLY_qru9vWw>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrleejgdduudehucetufdoteggodetrfdotf
    fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen
    uceurghilhhouhhtmecufedttdenucenucfjughrpefofgggkfffhffvufgtsehmtderre
    erredtnecuhfhrohhmpedfifhiuhhsvghpphgvucftrghguhhsrgdfuceoghhiuhhsvghp
    phgvrdhrrghguhhsrgeshhhothhmrghilhdrtghomheqnecuggftrfgrthhtvghrnhepie
    fgjeehteehheeiuefggeeiheduleekgfehjedvteeukedvgfeigeffgfelhedtnecuvehl
    uhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepghhiuhhsvghpph
    gvrdhrrghguhhsrgeshhhothhmrghilhdrtghomh
X-ME-Proxy: <xmx:cp48YCuO4qpDCSoW71kT2hn8q61ouSu6zg6fmNKCqVgFdDfrdTfl8A>
    <xmx:cp48YHaWuOw6q0VAtc1lCa4TOkcUjcVIQ660Rbrr_vZ9qVSkCFg5gQ>
    <xmx:cp48YJbY0ebu-hQ_zFUM_txgnv7lVIZ01LOGBXgZHob9ndUdsgmIJA>
    <xmx:c548YIWVSiK7Ziq-7Yyh4AI6-b1l5VsEJ5NULq5H4DZJ1RZyQBUQXjnqLpltcGV0>
Received: by mailuser.nyi.internal (Postfix, from userid 501)
	id F1FC1CA005D; Mon,  1 Mar 2021 02:57:37 -0500 (EST)
X-Mailer: MessagingEngine.com Webmail Interface
User-Agent: Cyrus-JMAP/3.5.0-alpha0-206-g078a48fda5-fm-20210226.001-g078a48fd
Mime-Version: 1.0
Message-Id: <e070126f-851d-4ae8-925a-5925cad6cfbf@www.fastmail.com>
Date: Mon, 01 Mar 2021 08:56:54 +0100
From: "Giuseppe Ragusa" <giuseppe.ragusa@hotmail.com>
To: submit@bugs.x2go.org
Content-Type: multipart/mixed;
 boundary=dc8cd126e3c042abb9af44f5fadf2a59
[Message part 1 (text/plain, inline)]
Package: x2goserver
Version: 4.1.0.4
Tag: patch
Severity: wishlist

The x2gocleansessions program has a hardcoded sleep time of 2 seconds.
Several requests to make it configurable have been seen in mailing list.
In my specific case, a machine with many active sessions from AD users (SSSD on CentOS7)
experiences almost constant undesired extra load (sssd_be): the issue goes away when configuring
a 3600 seconds sleep time in /etc/x2go/x2goserver.conf by adding a section like this:

[x2gocleansessions]
sleep-time = 3600

Please find attached a git-formatted patch against latest version.
I can provide a patch for older versions (is_int missing in Utils).

Many thanks.

Best regards,
Giuseppe Ragusa
[x2gocleansessions.patch (application/octet-stream, attachment)]

Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Fri Mar 29 05:56:53 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.