shutdownコマンドとかで停止した後、pidファイルが残っている場合、 mongrel_cluster_ctl start --cleanや mongrel_rails cluster::start --cleanでpidファイルを削除してスムーズに起動する。
shutdownコマンドとかで停止した後、pidファイルが残っている場合、 mongrel_cluster_ctl start --cleanや mongrel_rails cluster::start --cleanでpidファイルを削除してスムーズに起動する。
[ruby][rvm] ruby+rails環境の再構築 ここを参考に http://d.hatena.ne.jp/mirakui/20100502/1272849327 古いバージョンのrails環境そのままで新しい環境を追加。 wwwグループでユーザ rails2 を追加し、パスワード変更 # useradd -G www rails2 # passwd rails2 rvm インストール $ gem install rvm $ bash < <( curl http://rvm.beginrescueend.com/releases/rvm-install-latest ) .bashrc に以下を追加 if -s /home/rails2/.rvm/scripts/rvm ; then source /home/rails2/.rvm/scripts/rvm ; fi いったんra
こんな感じのサンプルをよく見かける。 <Proxy *> Order deny,allow Allow from all </Proxy> ProxyRequests Off ProxyPass / balancer://cluster/ ProxyPassReverse / balancer://cluster/ <Proxy balancer://cluster/> BalancerMember http://127.0.0.1:3000 loadfactor=20 BalancerMember http://127.0.0.1:3001 loadfactor=20 BalancerMember http://127.0.0.1:3002 loadfactor=20 </Proxy> この場合、Mongrel Cluster への分散はできているが 静的コンテンツの処理までMongre
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く