Hello List,

I am trying to run supervisord 3.0a8 on FreeBSD ( amd64 ) , with this
process configuration :

[fcgi-program:php-cgi]
user=webserver
command=/usr/local/bin/php-cgi -b /tmp/php.socket -q
socket=unix:///tmp/php.socket
autostart=true
exitcodes=0,2
startsecs=5
startretries=3
stopwaitsecs=10
environment=PHP_FCGI_MAX_REQUESTS=50,PHP_FCGI_CHILDREN=4
exitcodes=0,2
stopsignal=QUIT

I got this debug log :

2010-04-21 17:56:34,661 INFO spawned: 'php-cgi' with pid 28653
2010-04-21 17:56:34,723 DEBG fd 8 closed, stopped monitoring
<POutputDispatcher at 34413298320 for <Subprocess at 34409425232 with name
php-cgi in state STARTING> (stdout)>
2010-04-21 17:56:34,723 DEBG fd 10 closed, stopped monitoring
<POutputDispatcher at 34413307880 for <Subprocess at 34409425232 with name
php-cgi in state STARTING> (stderr)>
2010-04-21 17:56:34,723 INFO exited: php-cgi (exit status 0; not expected)
2010-04-21 17:56:34,724 DEBG received SIGCHLD indicating a child quit

This looks like supervisord is assuming the exitcode 0 as "not expected".
But the man pages

Any advise with this?

Thanks you in advance.


-- 
Jorge Niedbalski R.
--------------------------
Software Developer & Unix system administrator
_______________________________________________
Supervisor-users mailing list
[email protected]
http://lists.supervisord.org/mailman/listinfo/supervisor-users

Reply via email to