[X2Go-Dev] findbusyservers algorithm

Anders Bruun Olsen abo at dsl.dk
Tue Mar 5 13:31:14 CET 2013


2013/3/5 Mike Gabriel <mike.gabriel at das-netzwerkteam.de>

> the find_busy_servers output is a percentage value and only lists servers
>>> that have users logged on via X2Go.
>>
>> So a ,,100'' for one server means:
>   o that one server is somehow busy (with one user or many)
>   o the other server is idle and does not have X2Go users logged on
> Examples:
>   term1: 2 users, term2: 2 users -> 50:50
>   term1: 1 user, term2 0 users -> 100
>   term1: 10 users, term2 5 users -> 66:33
>   and so on...
>

Right. But in our case, we had two users logged in via x2goclient on
testterm1 and no users on testterm2, but still got only testterm2: 100 as
output. That seems incorrect to me.


> I agree that we can later add more intelligent load detection, but for now
> I will leave it as this.


Sure thing. Real improvements can wait. But I still think there is a bug
somewhere, as specified above :)

-- 
Anders Bruun Olsen
It-ansvarlig
Det Danske Sprog- og Litteraturselskab
(Society for Danish Language and Literature)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x2go.org/pipermail/x2go-dev/attachments/20130305/1dbd25dd/attachment.html>


More information about the x2go-dev mailing list