<div dir="ltr"><br><div class="gmail_extra"><div class="gmail_quote">2013/3/2 Mike Gabriel <span dir="ltr"><<a href="mailto:mike.gabriel@das-netzwerkteam.de" target="_blank">mike.gabriel@das-netzwerkteam.de</a>></span><br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div class="im"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
We have tried running /usr/lib/x2go/x2gobroker-agent abo findbusyservers<br>
and got this output:<br>
OK<br>
16:testterm2<br>
83:testterm1<br>
Which tells me that it might be the x2gobroker-daemon which isn't using the<br>
information correctly.</blockquote></div>
My plain guess is that this is related a DNS hostname / FQDN mismatching. The broker code has to become more tolerant about this.<br></blockquote><div><br></div><div style>Yes, after some more testing, that is indeed a problem. I have tried added some strategic debug-logging to the code and this is the content of busy_server_list in broker.base_broker.select_session(), after it gets info back from servers:</div>
<div style><br></div><div style>busy_server_list: [(0, 'testterm1.dsl.lan'), (0, 'testterm2.dsl.lan'), (100, 'testterm2')]<br></div><div style><br></div><div style>Meaning that it doesn't see those as the same. That is of course what bug #133 is about.</div>
<div style><br></div><div style>A more interesting problem as I see it, is why testterm2 is being reported with 100 in the above. In fact, when I look at the value of server_list in agent.find_busy_servers() this is the content:</div>
<div style><br></div><div style>busy_servers: {'testterm2': 100}<br></div><div style><br></div><div style>That is when I have a couple of users logged in to testterm1 and a load of 2.0 while testterm2 has no users and a load of 0.29. I still think something is wrong with the script that determines if a server is busy or not :)</div>
</div><div><br></div>-- <br>Anders Bruun Olsen<br>It-ansvarlig<br>Det Danske Sprog- og Litteraturselskab<br>(Society for Danish Language and Literature)<br>
</div></div>