[Ovirt-devel] re: got it!

David Lutterkort dlutter at redhat.com
Tue Jul 29 16:21:55 UTC 2008


On Tue, 2008-07-29 at 10:19 -0500, Steve Linabery wrote:
> Pursuant to my previous email with same subject line...
> 
> Here's a bit of follow-up information.
> 
> The
>          0.upto(@pool.hosts.total_memory) { |x| 
> 	        if x % 1024 == 0
>             	scale.push((x / 1024).to_s) # divide by 1024 to convert to MB
> 		    end
>          }
> 
> block eventually completes, after several minutes, before which the request times out.
> 
> On my setup, @pool.hosts.total_memory is 522555392.

Heh .. this has to make sure that the number of entries being pushed to
scale is capped (say at 100 at the very most)

David





More information about the ovirt-devel mailing list