[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

"gem update" eats 100% cpu and memory

Axel Bock

7/16/2008 3:10:00 PM

Hi all,

I have no idea what to do any more. I develop a tiny web app with Ruby
on Rails, but when I try to update install rails on my root server
with "gem install rails" (or gem update), within seconds gem will
render the complete machine unusable, and it will finally crash due to
oom (out-of-memory) errors, according to the kernel log.

I have an ubuntu hardy server with ruby1.8 installed.
(rubygems_0.9.4-4_all.deb, according to dpkg)

any idea for a distressed person? :-)


cheers & thanks,
Axel.
3 Answers

Michael T. Richter

7/16/2008 3:16:00 PM

0

[Note: parts of this message were removed to make it a legal post.]

On Thu, 2008-07-17 at 00:05 +0900, Axel Bock wrote:

> I have an ubuntu hardy server with ruby1.8 installed.
> (rubygems_0.9.4-4_all.deb, according to dpkg)



> any idea for a distressed person? :-)


Uninstall the gem package from the repositories, download the latest gem
from RubyForge (1.2.0 is what I've got) and install it yourself, then
enjoy a gem that doesn't try and download/process the entire repository
in memory all at once each and every time you hit the servers.

--
Michael T. Richter <ttmrichter@gmail.com> (GoogleTalk:
ttmrichter@gmail.com)
In his errors a man is true to type. Observe the errors and you will
know the man. (�夫子)

Axel Bock

7/16/2008 6:27:00 PM

0

> Uninstall the gem package from the repositories, download the latest gem
> from RubyForge (1.2.0 is what I've got) and install it yourself, then
> enjoy a gem that doesn't try and download/process the entire repository
> in memory all at once each and every time you hit the servers.

thanks a lot for that. It seems I really have to install 1.2.0 by
hand, neither ubuntu stable nor intrepid have this one available.
Damn ... :-)


Thanks!!
Axel.

David Masover

7/19/2008 1:19:00 AM

0

On Wednesday 16 July 2008 13:25:13 Axel Bock wrote:
> > Uninstall the gem package from the repositories, download the latest gem
> > from RubyForge (1.2.0 is what I've got) and install it yourself, then
> > enjoy a gem that doesn't try and download/process the entire repository
> > in memory all at once each and every time you hit the servers.
>
> thanks a lot for that. It seems I really have to install 1.2.0 by
> hand, neither ubuntu stable nor intrepid have this one available.
> Damn ... :-)

It's a bit worrisome that it's not in Intrepid, though. Any Ubuntu maintainers
on this list?