[MEGOLDVA] mod_fcgid forgatva "Connection reset by peer"

Fórumok

látott már valaki ilyet:
[Thu Aug 12 15:18:56 2010] [warn] [client x.x.x.x] (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server
[Thu Aug 12 15:18:56 2010] [error] [client x.x.x.x] Premature end of script headers: test.php

- Debian Lenny
- Apache 2.2.16 (forrásból)
- PHP 5.2.14 (forrásból)
- mod_cfgid (forrásból, modulként)

A fenti hiba üzeneten kívül semmi mást nem lehet előcsalni logokból.

apache comp. opt:
./configure --enable-rewrite --enable-ssl --with-ssl=/usr/local/ssl/ --enable-so --enable-cgi --enable-cgid --sysconfdir=/etc/apache2 --enable-suexec --with-suexec-caller=www-data --with-suexec-logfile=suexec.log --with-suexec-docroot=/www --enable-fcgid --with-mpm=prefork

PHP comp. opt:
./configure --enable-rewrite --enable-ssl --with-ssl=/usr/local/ssl/ --enable-so --enable-cgi --enable-cgid --sysconfdir=/etc/apache2 --enable-suexec --with-suexec-caller=www-data --with-suexec-logfile=suexec.log --with-suexec-docroot=/www --enable-fcgid

php5-fcgi-starter:

#!/bin/sh
PHPRC=/www/default/xxx.eu/_fcgi
export PHPRC

PHP_FCGI_MAX_REQUESTS=10000
export PHP_FCGI_MAX_REQUESTS

exec /usr/local/bin/php

Már lassan kezdzem feladni, valakinél 5let ?

Hozzászólások

Megoldva :)

/usr/local/bin/php helyett /usr/local/bin/php-cgi

Fáradtság nem lehet kifogás a nem figyelésre :(