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

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to x2go-dev@lists.x2go.org, X2Go Developers <x2go-dev@lists.x2go.org>:
Bug#1528; Package x2goserver. (Mon, 01 Mar 2021 08:00:02 GMT) (full text, mbox, link).


Acknowledgement sent to "Giuseppe Ragusa" <giuseppe.ragusa@hotmail.com>:
New Bug report received and forwarded. Copy sent to X2Go Developers <x2go-dev@lists.x2go.org>. (Mon, 01 Mar 2021 08:00:03 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.x2go.org (full text, mbox, reply):

From: "Giuseppe Ragusa" <giuseppe.ragusa@hotmail.com>
To: submit@bugs.x2go.org
Subject: x2gocleansessions has hardcoded sleep time
Date: Mon, 01 Mar 2021 08:56:54 +0100
[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: Thu Nov 21 11:30:39 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.