开发者

Passenger install fails. RAM too low?

I have been trying to install Passanger for apa开发者_运维问答che on my VPS (running Ubuntu 10.10) and it seems to fail due to g++ as it fails at the point it compiles the module. The installation hangs for a while then:

g++: Internal error: Killed (program cc1plus)

After looking around on the net it seems this could be due to a lack of memory (I only have 256mb).

Is there any way around this? Or, is this in fact probably not the problem? I just need this server for a few days and so far it has been such a mess around just setting everything up so I'm not sure I really want to have to start again with a high RAM VPS. Any suggestions?


Use the debian package instead of building passenger yourself (apt-get install libapache2-mod-passenger).

256M seems pretty tight for a rails site though. I can't imagine you being able to run more than one or two passenger children (my passenger apache instances are using over 200M each).


I run into this problem, too. Then I tried to install the Debian package. But this package is used with Ruby 1.8 and is not compatible with 1.9 (I got problems with writing hash_name: value instead of :hash_name => value.

I'm trying to upgrade my VPS, but still looking for a way not to do so

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜