This nginx module is intended to manage FCGI programs on demand.

http://labs.frickle.com/nginx_ngx_supervisord/

On Fri, Jun 18, 2010 at 10:56 AM, <[email protected]> wrote:

> Hello,
>
> I have the following configuration
>    131 [fcgi-program:chat]
>    132 command=/websites/nginx/chat.toff
>    133 socket=tcp://127.0.0.1:9000
>    134 process_name=%(program_name)s_%(process_num)02d
>    135 numprocs=2
>    136 priority=999
>    137 autostart=true
>    138 autorestart=unexpected
>    139 startsecs=1
>    140 startretries=3
>    141 exitcodes=0,2
>    142 stopsignal=QUIT
>    143 stopwaitsecs=10
>
> numprocs is 2 and chat.toff takes 20 seconds to run. If I quickly refresh
> the webpage calling chat.toff three times, the third request is not
> processed until the first process has ended.
>
> Is there a way to have supervisord start processes on demand?
>
> Thank you
>
>
> _______________________________________________
> Supervisor-users mailing list
> [email protected]
> http://lists.supervisord.org/mailman/listinfo/supervisor-users
>
_______________________________________________
Supervisor-users mailing list
[email protected]
http://lists.supervisord.org/mailman/listinfo/supervisor-users

Reply via email to