Forum

PHP FastCGI daemon dies with code 65280

Yassen Damyanov
21 May 2011, 21:22
Hiawatha version: 7.4.1 (downloaded from http://tuxhelp.org/pub/hiawatha/hiawatha_7.4-1_amd64.deb
Operating System: ubuntu 10.04 lucid chroot(!)

Hello Hugo and community,

For a long time I used to run hiawatha and fast-cgi within ubuntu lucid chroot environment. It was some old version and today I upgraded to 7.4.1, .deb downloaded from tuxhelp.org. When I restarted php-fcgi deamons, at first I got failures with the following line in php-fcgi.conf:

PHP FastCGI daemon exited with code 65280


I sometimes got one of the configured daemons to work and the other not.

Strange, as after some time the restart began to work fine.

My php-fcgi.conf looks like this:
PidFile = /var/run/php-fcgi.pid
Forks = 12
MaxRequests = 384

Server = /usr/bin/php5-cgi; 127.0.0.1:2005; www-data
Server = /usr/bin/php5-cgi ; 127.0.0.1:2099 ; www-data ; /var/www/vhosts/eichi.ch/conf/php.ini


Any suggestions? I am afraid, in case of server reboot I ma not get the web service running ...
Thanks in advance!

Yassen
24 May 2011, 21:04
Strange, sometimes it still crashes the same way upon restart ... Suggestions? What is exit status 65280?
Hugo Leisink
24 May 2011, 23:00
Does PHP run when started manually? To do so, run "php5-cgi -b <port>". Don't forget to set the environment variables PHP_FCGI_CHILDREN (5) and PHP_FCGI_MAX_REQUESTS (100).
This topic has been closed.