3

Amazon EC2 (Ubuntu + Apache + Passenger) に SequenceServer をデプロイしようとしていますが、「ハング」します: http://ncwebguru.com/sequenceserver

「helloworld」アプリでも同じことが起こります: http://ncwebguru.com/sequenceserver1

私の物理 Linux サーバー (EC2 ではない) では問題なく動作します。

Apache ログ ファイルには何も記録されないため、トラブルシューティングの方法がわかりません。問題を修正またはトラブルシューティングする方法についてのヘルプは大歓迎です。

アパッチ設定:

<VirtualHost *:80>
    DocumentRoot /var/www
    <Directory /var/www>
        Allow from all
    </Directory>

    RackBaseURI /sequenceserver
    RackBaseURI /sequneceserver1

    <Directory /var/www/sequenceserver>
        Options -MultiViews
    </Directory>
</VirtualHost>

/var/www ディレクトリ:

sequenceserver # sym link to /path/to/actual/sequenceserver/public
sequenceserver1 # sym link to /path/to/helloworld/public

/path/to/helloworld ディレクトリ:

tmp/ # empty
public/ # empty
config.ru # helloworld ruby rack app

config.ru

app = proc do |env|
    return [200, { "Content-Type" => "text/html" }, "hello world"]
end
run app
4

1 に答える 1

1

TimeOutApacheの構成ファイルでディレクティブを設定する必要があるようです。タイムアウトは秒単位で示されます。たとえば、次の場合、タイムアウトは5分に設定されます。

TimeOut 300
于 2012-05-31T05:26:55.147 に答える