<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: How to: Nginx, FCGI, PHP, MySQL, Ruby On Rails, Rewrite</title>
	<atom:link href="http://www.johnyerhot.com/2008/02/12/how-to-nginx-fcgi-php-mysql-ruby-on-rails-rewrite-vhosts/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.johnyerhot.com/2008/02/12/how-to-nginx-fcgi-php-mysql-ruby-on-rails-rewrite-vhosts/</link>
	<description>im in ur computrz makin castz</description>
	<lastBuildDate>Thu, 14 Jan 2010 01:35:36 +0300</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Nnyan</title>
		<link>http://www.johnyerhot.com/2008/02/12/how-to-nginx-fcgi-php-mysql-ruby-on-rails-rewrite-vhosts/comment-page-1/#comment-3458</link>
		<dc:creator>Nnyan</dc:creator>
		<pubDate>Thu, 14 Jan 2010 01:35:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.johnyerhot.com/2008/02/12/how-to-nginx-fcgi-php-mysql-ruby-on-rails-rewrite-vhosts/#comment-3458</guid>
		<description>ok so got past that part and get this error:

[@gandalf bin]# /etc/init.d/init-fastcgi start
/etc/init.d/init-fastcgi: line 19: stop: command not found
/etc/init.d/init-fastcgi: line 19: restart}.: command not found</description>
		<content:encoded><![CDATA[<p>ok so got past that part and get this error:</p>
<p>[@gandalf bin]# /etc/init.d/init-fastcgi start<br />
/etc/init.d/init-fastcgi: line 19: stop: command not found<br />
/etc/init.d/init-fastcgi: line 19: restart}.: command not found</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nnyan</title>
		<link>http://www.johnyerhot.com/2008/02/12/how-to-nginx-fcgi-php-mysql-ruby-on-rails-rewrite-vhosts/comment-page-1/#comment-3457</link>
		<dc:creator>Nnyan</dc:creator>
		<pubDate>Thu, 14 Jan 2010 01:18:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.johnyerhot.com/2008/02/12/how-to-nginx-fcgi-php-mysql-ruby-on-rails-rewrite-vhosts/#comment-3457</guid>
		<description>OK found that if I enabled the EPEL repo&#039;s I could do a simple yum install spawn-fcgi</description>
		<content:encoded><![CDATA[<p>OK found that if I enabled the EPEL repo&#8217;s I could do a simple yum install spawn-fcgi</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nnyan</title>
		<link>http://www.johnyerhot.com/2008/02/12/how-to-nginx-fcgi-php-mysql-ruby-on-rails-rewrite-vhosts/comment-page-1/#comment-3456</link>
		<dc:creator>Nnyan</dc:creator>
		<pubDate>Thu, 14 Jan 2010 00:30:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.johnyerhot.com/2008/02/12/how-to-nginx-fcgi-php-mysql-ruby-on-rails-rewrite-vhosts/#comment-3456</guid>
		<description>I download the latest version of lighttpd (1.4.24) and I can not find the spawn-fcgi anywhere.  Any help would be greatly appreciated.</description>
		<content:encoded><![CDATA[<p>I download the latest version of lighttpd (1.4.24) and I can not find the spawn-fcgi anywhere.  Any help would be greatly appreciated.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jimmy</title>
		<link>http://www.johnyerhot.com/2008/02/12/how-to-nginx-fcgi-php-mysql-ruby-on-rails-rewrite-vhosts/comment-page-1/#comment-3424</link>
		<dc:creator>Jimmy</dc:creator>
		<pubDate>Fri, 13 Nov 2009 14:26:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.johnyerhot.com/2008/02/12/how-to-nginx-fcgi-php-mysql-ruby-on-rails-rewrite-vhosts/#comment-3424</guid>
		<description>Thanks for this great article, your examples worked out of the book.

There is however a small problem regarding php via fcgi.

fcgi allows for a certain count of requests per child (in this example we have no config-file for fcgi afaik)
while a child is closing, a request might be made and channeled to the fcgi process (which is still closing) and thus this request fails.

Here is the output of my benchmark:

[quote]
Document Path:          /phpinfo.php
Document Length:        193 bytes

Concurrency Level:      1000
Time taken for tests:   15.180180 seconds
Complete requests:      100000
Failed requests:        3643
   (Connect: 0, Length: 3643, Exceptions: 0)
Write errors:           0
Non-2xx responses:      96358
Total transferred:      276542058 bytes
HTML transferred:       260356636 bytes
Requests per second:    6587.54 [#/sec] (mean)
Time per request:       151.802 [ms] (mean)
Time per request:       0.152 [ms] (mean, across all concurrent requests)
Transfer rate:          17790.30 [Kbytes/sec] received
[/quote]

Any ideas on how to remedy this minor yet annoying issue ?

Thanks,
/Jimmy</description>
		<content:encoded><![CDATA[<p>Thanks for this great article, your examples worked out of the book.</p>
<p>There is however a small problem regarding php via fcgi.</p>
<p>fcgi allows for a certain count of requests per child (in this example we have no config-file for fcgi afaik)<br />
while a child is closing, a request might be made and channeled to the fcgi process (which is still closing) and thus this request fails.</p>
<p>Here is the output of my benchmark:</p>
<p>[quote]<br />
Document Path:          /phpinfo.php<br />
Document Length:        193 bytes</p>
<p>Concurrency Level:      1000<br />
Time taken for tests:   15.180180 seconds<br />
Complete requests:      100000<br />
Failed requests:        3643<br />
   (Connect: 0, Length: 3643, Exceptions: 0)<br />
Write errors:           0<br />
Non-2xx responses:      96358<br />
Total transferred:      276542058 bytes<br />
HTML transferred:       260356636 bytes<br />
Requests per second:    6587.54 [#/sec] (mean)<br />
Time per request:       151.802 [ms] (mean)<br />
Time per request:       0.152 [ms] (mean, across all concurrent requests)<br />
Transfer rate:          17790.30 [Kbytes/sec] received<br />
[/quote]</p>
<p>Any ideas on how to remedy this minor yet annoying issue ?</p>
<p>Thanks,<br />
/Jimmy</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John</title>
		<link>http://www.johnyerhot.com/2008/02/12/how-to-nginx-fcgi-php-mysql-ruby-on-rails-rewrite-vhosts/comment-page-1/#comment-2615</link>
		<dc:creator>John</dc:creator>
		<pubDate>Mon, 15 Jun 2009 01:05:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.johnyerhot.com/2008/02/12/how-to-nginx-fcgi-php-mysql-ruby-on-rails-rewrite-vhosts/#comment-2615</guid>
		<description>Sorry, I ended up taking down my other blog with the &#039;updated version&#039; so I&#039;ve removed that link.  This one should still be good. :)</description>
		<content:encoded><![CDATA[<p>Sorry, I ended up taking down my other blog with the &#8216;updated version&#8217; so I&#8217;ve removed that link.  This one should still be good. :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: roger</title>
		<link>http://www.johnyerhot.com/2008/02/12/how-to-nginx-fcgi-php-mysql-ruby-on-rails-rewrite-vhosts/comment-page-1/#comment-2602</link>
		<dc:creator>roger</dc:creator>
		<pubDate>Sun, 14 Jun 2009 03:44:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.johnyerhot.com/2008/02/12/how-to-nginx-fcgi-php-mysql-ruby-on-rails-rewrite-vhosts/#comment-2602</guid>
		<description>the link to the &quot;updated version&quot; is not working (?)</description>
		<content:encoded><![CDATA[<p>the link to the &#8220;updated version&#8221; is not working (?)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: debian 4 web server setup</title>
		<link>http://www.johnyerhot.com/2008/02/12/how-to-nginx-fcgi-php-mysql-ruby-on-rails-rewrite-vhosts/comment-page-1/#comment-2510</link>
		<dc:creator>debian 4 web server setup</dc:creator>
		<pubDate>Mon, 10 Nov 2008 16:40:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.johnyerhot.com/2008/02/12/how-to-nginx-fcgi-php-mysql-ruby-on-rails-rewrite-vhosts/#comment-2510</guid>
		<description>[...] #8 was based on: http://www.johnyerhot.com/2008/02/12/how-to-nginx-fcgi-php-mysql-ruby-on-rails-rewrite-vhosts/ [...]</description>
		<content:encoded><![CDATA[<p>[...] #8 was based on: <a href="http://www.johnyerhot.com/2008/02/12/how-to-nginx-fcgi-php-mysql-ruby-on-rails-rewrite-vhosts/" rel="nofollow">http://www.johnyerhot.com/2008/02/12/how-to-nginx-fcgi-php-mysql-ruby-on-rails-rewrite-vhosts/</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nerdtopia etal &#187; Blog Archive</title>
		<link>http://www.johnyerhot.com/2008/02/12/how-to-nginx-fcgi-php-mysql-ruby-on-rails-rewrite-vhosts/comment-page-1/#comment-1783</link>
		<dc:creator>nerdtopia etal &#187; Blog Archive</dc:creator>
		<pubDate>Sat, 23 Aug 2008 15:06:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.johnyerhot.com/2008/02/12/how-to-nginx-fcgi-php-mysql-ruby-on-rails-rewrite-vhosts/#comment-1783</guid>
		<description>[...] more difficult part is getting php installed with a fastcgi initiator. This was the best guide I ultimately managed to find. It fit my purposes because it compiled lighttpd, but didn&#8217;t make install it (which would have [...]</description>
		<content:encoded><![CDATA[<p>[...] more difficult part is getting php installed with a fastcgi initiator. This was the best guide I ultimately managed to find. It fit my purposes because it compiled lighttpd, but didn&#8217;t make install it (which would have [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nginx + HAProxy + Thin + FastCGI + PHP5 = Load Balanced Rails with PHP Support at elwoodicious</title>
		<link>http://www.johnyerhot.com/2008/02/12/how-to-nginx-fcgi-php-mysql-ruby-on-rails-rewrite-vhosts/comment-page-1/#comment-1519</link>
		<dc:creator>nginx + HAProxy + Thin + FastCGI + PHP5 = Load Balanced Rails with PHP Support at elwoodicious</dc:creator>
		<pubDate>Tue, 15 Jul 2008 17:05:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.johnyerhot.com/2008/02/12/how-to-nginx-fcgi-php-mysql-ruby-on-rails-rewrite-vhosts/#comment-1519</guid>
		<description>[...] cribbed from HowtoForge,  John Yerhot, and  [...]</description>
		<content:encoded><![CDATA[<p>[...] cribbed from HowtoForge,  John Yerhot, and  [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: links for 2008-07-02 at Topper&#8217;s Blog</title>
		<link>http://www.johnyerhot.com/2008/02/12/how-to-nginx-fcgi-php-mysql-ruby-on-rails-rewrite-vhosts/comment-page-1/#comment-1400</link>
		<dc:creator>links for 2008-07-02 at Topper&#8217;s Blog</dc:creator>
		<pubDate>Wed, 02 Jul 2008 04:33:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.johnyerhot.com/2008/02/12/how-to-nginx-fcgi-php-mysql-ruby-on-rails-rewrite-vhosts/#comment-1400</guid>
		<description>[...] How To: How to: Nginx, FCGI, PHP, MySQL, Ruby On Rails, Rewrite, Vhosts &#124; John Yerhot (tags: nginx rails fcgi php mongrel setup ubuntu) [...]</description>
		<content:encoded><![CDATA[<p>[...] How To: How to: Nginx, FCGI, PHP, MySQL, Ruby On Rails, Rewrite, Vhosts | John Yerhot (tags: nginx rails fcgi php mongrel setup ubuntu) [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
