FastCGI on MT 3.35 part2
September 5th, 2007 by admin | No Comments | Filed in linux mod fcgid mt, onFastCGI on MT 3.35で、MT を FastCGI 上で動かしていたのですが、まれに次のエラーがでてしまった MT が落ちる現象が発生しました。
[alert] (11)Resource temporarily unavailable: setuid: unable to change to uid: 48
uid 48 というのは、apache ユーザにあるのですが、どうも原因が分からないので、mod_fcgi から mod_fcgid に切り替えてみました。
mod_fcgid は、パッケージとして提供されているので yum install mod_fcgid で済みます。
前の mod_fcgi の設定の代わりに、次の設定をしました。
<IfModule mod_fcgid.c>
SocketPath /tmp/fcgid_sock/
AddHandler fcgid-script .fcgi
</IfModule>
この状態で一晩たったのですが、いくつか notice が出ているのですが、上のエラーが出ていないので問題みたいです。






