FastCGIでエラー Part2

前回までの設定でMovableTypeを使えるようになったが、たまにInternal Server Errorが出てしまうことがある。
このときもApacheのエラーログにエラーが出力されている。
# tail -f error.log
[Wed May 30 16:30:53 2007] [warn] mod_fcgid: read data timeout in 40 seconds
どうやらFastCGIはデフォルトで40秒でタイムアウトしてしまうようだ。
うちのようにスペックの低いマシンだと40秒だとちょっと短いのかも。
タイムアウト時間を長くして対処することにした。
/usrl/local/apache2/conf/httpd.conf
<IfModule mod_fcgid.c>
SocketPath /tmp/fcgid_sock/
AddHandler fcgid-script .fcgi
IPCCommTimeout 120
</IfModule>

Trackback Pings

TrackBack URL for this entry:

No trackbacks found.

Comments

No comments found.

Post a Comment

Remember personal info?

Search this site