<span style>I don't think it is a memory leak within the load balancer. elb does not endlessly add to the host queue, see the first few lines of parse_qhost:</span><div style><pre style="white-space:pre-wrap"><div>def parse_qhost(self, string):</div>
<div> """</div><div> this function parses qhost -xml output and makes a neat array</div><div>
takes in a string, so we can pipe in output from ssh.exec('qhost -xml')</div><div> """</div><div>
self.hosts = [] # clear the old hosts</div><br></pre><div class="gmail_quote"><a href="https://github.com/jtriley/StarCluster/blob/develop/starcluster/balancers/sge/__init__.py" target="_blank" style="color:rgb(17,85,204)">https://github.com/jtriley/StarCluster/blob/develop/starcluster/balancers/sge/__init__.py</a><br>
<br>Looks to be an XML parser issue. Maybe ELB is using the parser incorrectly. How truly huge is the qhosts -xml output? I would think it would be about 1 xml record per host in the cluster, and the XML output contains many many parameters about the status of the host.</div>
</div>