Nginx error
Cliff Wells
cliff at develix.com
Tue Mar 10 19:07:54 MSK 2009
On Tue, 2009-03-10 at 22:18 +0800, Max wrote:
> Thanks.
>
> I just changed worker processes to 2 and worker connections to 1024.
>
> But there problem is still there. It redirects me to 50x page from
> time to time.
Which particular 50x code? The code can often help you figure out the
problem.
> The only way to make it work again is, kill all nginx process, restart
> it, and then I must type:
>
> /usr/bin/spawn-fcgi -a 127.0.0.1 -p 9000 -u nginx -g nginx
> -f /usr/bin/php-cgi -P /var/run/fastcgi-php.pid
>
> in order to make it works again. It seems the problem is related to
> fastcgi.
Quite likely. There's a few settings you can adjust for dealing with
FCGI apps. Is the PHP app a well-known one?
Cliff
More information about the nginx
mailing list