Hi all.
I have a virtual Arch machine with X2Go Server 4.0.1.8-1 installed. There seems to some CPU activity even when no X2Go sessions are running, see attached image. The first half of the graph is with x2goserver running, the other halt with it stopped. No X2Go Sessions were active on the machine.
Using top it looks like it is x2golistsessions and x2gocleansessions that use CPU periodically.
If you have multiple virtual machines running X2Go Server, the total CPU consumption of frequently running x2go(list|clean)sessions could probably add up to a noticeable performance hit.
Is there a way to change how often they run?
Cheers, Daniel
Hi, Daniel.
It's really easy to find the right line ( while(sleep 5) ) in /usr/sbin/x2gocleansessions. You can just change this line in your setup or provide some patch to take this variable from config file.
I was hoping there was a "hidden" option somewhere (couldn't find it in the man pages or the wiki), changing the script itself isn't desirable since an update will overwrite it.
Cheers, Daniel
2013/12/26 Nable 80 <nable.maininbox@googlemail.com>
Hi, Daniel.
It's really easy to find the right line ( while(sleep 5) ) in /usr/sbin/x2gocleansessions. You can just change this line in your setup or provide some patch to take this variable from config file.
X2Go-Dev mailing list X2Go-Dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
Hi Daniel,
On Do 26 Dez 2013 13:49:15 CET, Daniel Lindgren wrote:
I was hoping there was a "hidden" option somewhere (couldn't find it in the man pages or the wiki), changing the script itself isn't desirable since an update will overwrite it.
Cheers, Daniel
the tasks performed by x2gocleansessions are so minimal, they should
be invisible in a CPU load graph.
Normally, KVM (virt-manager produces those kinds of graphs IIRC) only
shows the CPU load on a relative scale. So, if nothing happens in the
VM you get a flat line.
Then, if a little something happens (x2gocleansessions), you get those
peaks. And those peaks are relatively high compared to the nothingness
before.
If you then start a compilation of some C code on that machine, you
get really high peaks, the scale of the figure gets adapted/rescaled
to the new maximum load.
If the compilation job is over, x2gocleansessions will disappear in a
flat line now (my guess), because relatively to the compilation
process, the created load of x2gocleansessions is virtually zero.
Does that make sense?
Mike
--
DAS-NETZWERKTEAM mike gabriel, herweg 7, 24357 fleckeby fon: +49 (1520) 1976 148
GnuPG Key ID 0x25771B31 mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de
freeBusy: https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xf...