Supervisord adding multiple processes for PHP and Gearman
问题 I recently set up Ubuntu Natty with PHP5-FPM, Gearman, and Supervisor. I've edited my Supervisord config to run a Gearman worker. [program:gearman] command=/usr/bin/php php_gearman_worker.php numprocs=1 directory=/root/sandbox stdout_logfile=/root/sandbox/supervisord.log environment=GEARMAN_USER=gearman autostart=true autorestart=true user=gearman Here's the relevant info (showing only gearmand and php processes) when I lsof -i -P before I run supervisord: COMMAND PID USER FD TYPE DEVICE SIZE