<?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: mpm-worker versus mpm-prefork, and mod_php versus fastcgi</title>
	<atom:link href="http://www.complich8.net/archives/404/feed" rel="self" type="application/rss+xml" />
	<link>http://www.complich8.net/archives/404</link>
	<description>complacence is the enemy</description>
	<lastBuildDate>Wed, 18 Feb 2009 02:57:02 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: complich8</title>
		<link>http://www.complich8.net/archives/404/comment-page-1#comment-17182</link>
		<dc:creator>complich8</dc:creator>
		<pubDate>Wed, 12 Nov 2008 02:16:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.complich8.net/archives/404#comment-17182</guid>
		<description>I haven&#039;t tried it.  Honestly, prefork works pretty well if though, so worker isn&#039;t really getting you a whole lot other than a shorter process list.  At least for me, didn&#039;t make sense.</description>
		<content:encoded><![CDATA[<p>I haven&#8217;t tried it.  Honestly, prefork works pretty well if though, so worker isn&#8217;t really getting you a whole lot other than a shorter process list.  At least for me, didn&#8217;t make sense.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jase</title>
		<link>http://www.complich8.net/archives/404/comment-page-1#comment-17180</link>
		<dc:creator>Jase</dc:creator>
		<pubDate>Wed, 12 Nov 2008 01:35:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.complich8.net/archives/404#comment-17180</guid>
		<description>How about MPM worker with fastcgi to recommend that compared to MPM Prefork? I have an upload script but that uses mod_perl.</description>
		<content:encoded><![CDATA[<p>How about MPM worker with fastcgi to recommend that compared to MPM Prefork? I have an upload script but that uses mod_perl.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: complich8</title>
		<link>http://www.complich8.net/archives/404/comment-page-1#comment-11087</link>
		<dc:creator>complich8</dc:creator>
		<pubDate>Wed, 02 Apr 2008 23:38:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.complich8.net/archives/404#comment-11087</guid>
		<description>I&#039;ll start off ... I don&#039;t know much about mpm_winnt, other than that it&#039;s supposed to spawn worker threads like a simpler mpm_worker.  What I _do_ know is that mpm_prefork is pretty well windows-only :p.

I don&#039;t know exactly how you&#039;re set up on that system, but it sounds like you&#039;ve got php running as a cgi instead of fcgi?  Because fastcgi should be able to handle simultaneous requests ... if one fcgi process is too busy to handle other requests it should spawn another.  At least, that&#039;s how it works in linux.  Incidentally, if you were using mod_php, every thread would have access to its own php instance-ish sort of thing.

As for PHP&#039;s thread safety, that only really comes into play if you&#039;re using non-threadsafe third party php modules.  Most people aren&#039;t, so for most people it&#039;s a non-issue...

Preferred linux distros... debian family (including ubuntu), redhat family (including rhel, centos and fedora) and freebsd are the most common... but it&#039;s all a matter of preference there, they&#039;re all legitimate good choices...</description>
		<content:encoded><![CDATA[<p>I&#8217;ll start off &#8230; I don&#8217;t know much about mpm_winnt, other than that it&#8217;s supposed to spawn worker threads like a simpler mpm_worker.  What I _do_ know is that mpm_prefork is pretty well windows-only :p.</p>
<p>I don&#8217;t know exactly how you&#8217;re set up on that system, but it sounds like you&#8217;ve got php running as a cgi instead of fcgi?  Because fastcgi should be able to handle simultaneous requests &#8230; if one fcgi process is too busy to handle other requests it should spawn another.  At least, that&#8217;s how it works in linux.  Incidentally, if you were using mod_php, every thread would have access to its own php instance-ish sort of thing.</p>
<p>As for PHP&#8217;s thread safety, that only really comes into play if you&#8217;re using non-threadsafe third party php modules.  Most people aren&#8217;t, so for most people it&#8217;s a non-issue&#8230;</p>
<p>Preferred linux distros&#8230; debian family (including ubuntu), redhat family (including rhel, centos and fedora) and freebsd are the most common&#8230; but it&#8217;s all a matter of preference there, they&#8217;re all legitimate good choices&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Savaal</title>
		<link>http://www.complich8.net/archives/404/comment-page-1#comment-11086</link>
		<dc:creator>Savaal</dc:creator>
		<pubDate>Wed, 02 Apr 2008 22:04:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.complich8.net/archives/404#comment-11086</guid>
		<description>I was wondering if I could get some more information on the prefork+fastcgi build you are running.  I am currently using a windows system for my dev environment, with apache and php using the winnt mpm.  This sucks for concurrency, since php is not designed for threaded use, and if one user is in the throes of a long file i/o, other users have to wait until that user is finished before they can have their request taken, likely due to the way the windows mpm works.  See, I need separate instances of php to run concurrently.  With my current config, apache spawns one instance of php that is shared with all apache requests.  I was hoping that if there were multiple processes of apache, that there would be multiple processes of php, as well.  Thoughts?  Oh, and for bonus points, what is the currently preferred distro of linux for webserver with php?  Thanks in advance.

Savaal</description>
		<content:encoded><![CDATA[<p>I was wondering if I could get some more information on the prefork+fastcgi build you are running.  I am currently using a windows system for my dev environment, with apache and php using the winnt mpm.  This sucks for concurrency, since php is not designed for threaded use, and if one user is in the throes of a long file i/o, other users have to wait until that user is finished before they can have their request taken, likely due to the way the windows mpm works.  See, I need separate instances of php to run concurrently.  With my current config, apache spawns one instance of php that is shared with all apache requests.  I was hoping that if there were multiple processes of apache, that there would be multiple processes of php, as well.  Thoughts?  Oh, and for bonus points, what is the currently preferred distro of linux for webserver with php?  Thanks in advance.</p>
<p>Savaal</p>
]]></content:encoded>
	</item>
</channel>
</rss>
