To implement real FastCGI servers in Perl, you can use the CGI::Fast module.<br><br><a href="http://search.cpan.org/~lds/CGI.pm-3.38/CGI/Fast.pm">http://search.cpan.org/~lds/CGI.pm-3.38/CGI/Fast.pm</a><br><br>For process management, supervisord (<a href="http://supervisord.org/">http://supervisord.org/</a>) can manage any kind of FastCGI processes.&nbsp; The FastCGI support has not been officially released yet but if you check out the trunk, it will work just fine.&nbsp; The config would look something like this.<br>
<br>[fcgi-program:foo]<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; socket=unix:///tmp/%(program_name)s.sock //(or tcp://&lt;host&gt;:&lt;port number&gt;)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; process_name = %(program_name)s_%(process_num)s<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; command = /bin/foo.fcgi<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; numprocs = 5<br>
<br>Roger<br><br><div class="gmail_quote">On Tue, Jul 1, 2008 at 2:06 PM, mike &lt;<a href="mailto:mike503@gmail.com">mike503@gmail.com</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Actually, it will process one request for each process and die right after...<br>
<br>
<br>
<br>
FastCGI: manager (pid 11232): server (pid 11233) exited with status 2304<br>
FastCGI: manager (pid 11232): sending TERM to PIDs, 11237 11235 11236 11234<br>
FastCGI: manager (pid 11232): server (pid 11235) exited with status 0<br>
FastCGI: manager (pid 11232): server (pid 11236) exited with status 0<br>
FastCGI: manager (pid 11232): server (pid 11237) exited with status 0<br>
FastCGI: manager (pid 11232): server (pid 11234) exited with status 0<br>
FastCGI: manager (pid 11232): dying: calling process has died<br>
<div><div></div><div class="Wj3C7c"><br>
On 7/1/08, mike &lt;<a href="mailto:mike503@gmail.com">mike503@gmail.com</a>&gt; wrote:<br>
&gt; This seems a bit overkill:<br>
&gt; <a href="http://wiki.codemongers.com/NginxSimpleCGI" target="_blank">http://wiki.codemongers.com/NginxSimpleCGI</a><br>
&gt;<br>
&gt; Not to mention it&#39;s not persistent. Anyone have any better tools to<br>
&gt; keep Perl-capable fastcgi engines running?<br>
&gt;<br>
&gt; I have it supposedly running at the moment (not ideal, but says it&#39;s<br>
&gt; running) ...<br>
&gt;<br>
&gt; Is there anything like php-fpm out there but for perl? :)<br>
&gt;<br>
<br>
</div></div></blockquote></div><br>