On 2007-05-29 12:04:57 +0100, Matt Mower wrote:
> I'm having a problem with bulk updating the gem index on one of my VPS
> such that it doesn't seem likely to complete (it didn't finish in a
> little over 8hrs).
> 
> The ruby process eats all available memory and most, although not all,
> of the swap. CPU usage appeared minimal although the load average
> crept up. There is nothing else on the system competing for memory or
> cpu while this was going on.

mostlikely it needed the 8hrs because it was constantly swapping.

>   curl -o yaml http://gems.rubyforge.org/yaml
>   irb
>   require 'yaml'
>   YAML.load( File.open( 'yaml' ) )
> 
> This uses a lot of CPU until free ram is exhausted (with ruby between
> 70-75mb), then CPU use drops to almost nothing while the process
> acretes swap space. The VPS has 96mb ram + 128mb of swap.

i tried it on my box and it went up to 220 mb (the peak usage i could
see in top).

just curious: what ruby version do you have?

    darix

-- 
           openSUSE - SUSE Linux is my linux
               openSUSE is good for you
                   www.opensuse.org
_______________________________________________
Rubygems-developers mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rubygems-developers

Reply via email to