There is a standard C library for FCGI.<div><br></div><div><a href="http://www.fastcgi.com/drupal/node/5">http://www.fastcgi.com/drupal/node/5</a><br><br><div class="gmail_quote">On Mon, Mar 15, 2010 at 9:38 AM, Stefan Parvu <span dir="ltr">&lt;<a href="mailto:sparvu@systemdatarecorder.org">sparvu@systemdatarecorder.org</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">&gt; A single page load can - and most often does - have more than one<br>
&gt; request; a webserver gets hits by more than oner person... The higher<br>
&gt; the traffic the higher the chances of you fork-bombing your own<br>
&gt; server. It might reach the maximum allowed number of processes, if<br>
&gt; defined, or whichever maximum size for the PID variable (will-guessing<br>
&gt; this one)? Nice academic exercise.<br>
&gt;<br>
<br>
</div>sure, makes sense.<br>
<div class="im"><br>
&gt; Anyway, you should look for a fastcgi daemon instead of a script;<br>
&gt; anything that won&#39;t spwan 1 process per 1 request. On Debian i use the<br>
&gt; php-cgi package and a fastcgi script to spawn the daemon on<br>
&gt; /etc/init.d. It uses 4-6 processes top, it&#39;s attached.<br>
&gt;<br>
<br>
</div>Thanks. Probable a fastcgi daemon written in C or Perl. Found<br>
out the Catalyst::Engine::FastCGI , FCGI::Engine. I would<br>
stick with the current version nginx-fcgi for time being.<br>
<br>
It would be nice to have a std fastcgi daemon written in C,<br>
part of NGINX. But most likely this is not the purpose of<br>
the project.<br>
<br>
If you guys have any ideas about a simple C based fastcgi daemon<br>
let me know. Would be cool if would compile across Solaris, Linux,<br>
FreeBSD.<br>
<br>
Cheers,<br>
<font color="#888888">Stefan<br>
</font><div><div></div><div class="h5"><br>
<br>
_______________________________________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org">nginx@nginx.org</a><br>
<a href="http://nginx.org/mailman/listinfo/nginx" target="_blank">http://nginx.org/mailman/listinfo/nginx</a><br>
</div></div></blockquote></div><br></div>