Railsプロセス(FastCGI)だけ別サーバにわけたのはいいんだけど、 これじゃ静的ファイルは依然としてlighttpdの動いてるサーバから返されるわけか。 一方でRailsがページキャッシュしたRSSとかアップロードしたファイルとかは Railsのサーバにできるわけだから、なるほどRSSが更新されないわけだわ。 この場合FastCGIのプロセスじゃなくてwebサーバごと一緒に引越ししなくちゃいけなかった。 てことでmongrel cluster。 設定ファイルconfig/mongrel_cluster.ymlの書き方がイミフなのでmongrel_cluster/init.rbをのぞく。 argv = [ "mongrel_rails" ] argv << "start" argv << "-d" argv << "-e #{@options["environment"]}" if
After your external applications are set up, all you need is a Litespeed context mapping the / url to either the load balancer or a single web server. Now, you are free to start/stop the mongrel processes as you wish. Here’s a sample mongrel command: mongrel_rails start -d -e production -p xxx1 -P log/mongrel-1.pid mongrel_rails start -d -e production -p xxx2 -P log/mongrel-2.pid So how well does
Unitl this week we used Lighttpd and FastCGI for MeinProf.de. The setup was nearly the same as described in the must read series scaling rails (1, 2, 3, 4) from poocs.net. We used this setup from day 1 but always had some small issues with Lighttpd. Lighttpd was crashing every couple of days. Nothing dramatic, we had a script that monitored Lighttpd and restarted it if necessary. During the last
「10分で作るRailsアプリ for Windows」の増井さんに直に話を聞く機会があって、名前だけ知ってたMongrelがこれからいい感じジャマイカということを聞いたので、とりあえず環境を作ってみた。 Mongrel: Home What is Mongrel? Mongrel is a fast HTTP library and server for Ruby that is intended for hosting Ruby web applications of any kind using plain HTTP rather than FastCGI or SCGI. で、具体的に参考にしたのはココ↓ Scaling Rails with Apache 2.2, mod_proxy_balancer and Mongrel Lighttpdがボコボコとクラッシュするようになって
Because of not fully correct testing methodology, benchmark results are not fully correct. So, I decided to redo all tests. New benchmark results you can get in “Looking For Optimal Solution” series Summary post. This week we have started one new project with Ruby on Rails as primary framework. My first task was to prepare runtime environment for it on one of our development servers. When I have t
gemでインストールするだけ。 gem install mongrel 1. mongrel 0.3.13.4 (ruby) 2. mongrel 0.3.13.3 (mswin32) 3. mongrel 0.3.13.3 (ruby) 4. mongrel 0.3.13.2 (ruby) 5. mongrel 0.3.13.2 (mswin32) 6. mongrel 0.3.13.1 (ruby) 7. mongrel 0.3.13.1 (mswin32) 8. mongrel 0.3.13 (ruby) > 1 Install required dependency daemons? [Yn] Y Install required dependency gem_plugin? [Yn] Y (中略) make install /usr/bin/install -c -m 0755
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く