<?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: A Very Wonky Request/CFTHREAD Bug</title>
	<atom:link href="http://www.barneyb.com/barneyblog/2007/11/28/a-very-wonky-requestcfthread-bug/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.barneyb.com/barneyblog/2007/11/28/a-very-wonky-requestcfthread-bug/</link>
	<description>Thoughts, rants, and even some code from the mind of Barney Boisvert.</description>
	<lastBuildDate>Thu, 11 Sep 2014 09:58:12 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Ken Auenson</title>
		<link>https://www.barneyb.com/barneyblog/2007/11/28/a-very-wonky-requestcfthread-bug/comment-page-1/#comment-50083</link>
		<dc:creator>Ken Auenson</dc:creator>
		<pubDate>Thu, 29 Nov 2007 02:32:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/2007/11/28/a-very-wonky-requestcfthread-bug/#comment-50083</guid>
		<description>Barney,
I ran this test on the vanilla install with the built-in web server on Windows XP... At least... I don&#039;t remember installing any of the patches or anything... too many machines to remember! lol

hope this helps, from CF Admin:
CF Version 8,0,0,176276
JVM 1.6.0_01</description>
		<content:encoded><![CDATA[<p>Barney,<br />
I ran this test on the vanilla install with the built-in web server on Windows XP&#8230; At least&#8230; I don't remember installing any of the patches or anything&#8230; too many machines to remember! lol</p>
<p>hope this helps, from CF Admin:<br />
CF Version 8,0,0,176276<br />
JVM 1.6.0_01</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: barneyb</title>
		<link>https://www.barneyb.com/barneyblog/2007/11/28/a-very-wonky-requestcfthread-bug/comment-page-1/#comment-50080</link>
		<dc:creator>barneyb</dc:creator>
		<pubDate>Thu, 29 Nov 2007 02:25:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/2007/11/28/a-very-wonky-requestcfthread-bug/#comment-50080</guid>
		<description>Ken,

Very interesting.  Can I inquire about your environment (JVM, OS, etc.)?  I&#039;m running a JEE installation on Windows with Tomcat as the container.</description>
		<content:encoded><![CDATA[<p>Ken,</p>
<p>Very interesting.  Can I inquire about your environment (JVM, OS, etc.)?  I'm running a JEE installation on Windows with Tomcat as the container.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ken Auenson</title>
		<link>https://www.barneyb.com/barneyblog/2007/11/28/a-very-wonky-requestcfthread-bug/comment-page-1/#comment-50079</link>
		<dc:creator>Ken Auenson</dc:creator>
		<pubDate>Thu, 29 Nov 2007 02:20:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/2007/11/28/a-very-wonky-requestcfthread-bug/#comment-50079</guid>
		<description>Barney,
I spoke up way too soon after only reading your post without actually greping everything you were saying...
I get exactly what you are describing now!

I used your code and ran the tests on my dev edition, and I am not able to reproduce.  If I run the first and second threads with the joins at the same time, they both run in seperate cfthread threads [different &quot;Java Thread Name&quot;s according to the server monitor]; and they do run in parallel [the second is not waiting for the first to complete].

HTH!</description>
		<content:encoded><![CDATA[<p>Barney,<br />
I spoke up way too soon after only reading your post without actually greping everything you were saying&#8230;<br />
I get exactly what you are describing now!</p>
<p>I used your code and ran the tests on my dev edition, and I am not able to reproduce.  If I run the first and second threads with the joins at the same time, they both run in seperate cfthread threads [different "Java Thread Name"s according to the server monitor]; and they do run in parallel [the second is not waiting for the first to complete].</p>
<p>HTH!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: barneyb</title>
		<link>https://www.barneyb.com/barneyblog/2007/11/28/a-very-wonky-requestcfthread-bug/comment-page-1/#comment-50074</link>
		<dc:creator>barneyb</dc:creator>
		<pubDate>Thu, 29 Nov 2007 01:34:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/2007/11/28/a-very-wonky-requestcfthread-bug/#comment-50074</guid>
		<description>Ken,

It&#039;s not a limit on concurrent requests (I have mine set at ten).  I can reach that by simply refreshing my three tabs four times each (for a total of 12 requests).  Two threads queue up while ten run, and when the first two of the ten complete, the two queued ones start running.

With the joins, those requests (in aggregate) become single threaded for launching CFTHREADs, while other requests can happily run CFTHREADs concurrently.</description>
		<content:encoded><![CDATA[<p>Ken,</p>
<p>It's not a limit on concurrent requests (I have mine set at ten).  I can reach that by simply refreshing my three tabs four times each (for a total of 12 requests).  Two threads queue up while ten run, and when the first two of the ten complete, the two queued ones start running.</p>
<p>With the joins, those requests (in aggregate) become single threaded for launching CFTHREADs, while other requests can happily run CFTHREADs concurrently.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: barneyb</title>
		<link>https://www.barneyb.com/barneyblog/2007/11/28/a-very-wonky-requestcfthread-bug/comment-page-1/#comment-50073</link>
		<dc:creator>barneyb</dc:creator>
		<pubDate>Thu, 29 Nov 2007 01:32:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/2007/11/28/a-very-wonky-requestcfthread-bug/#comment-50073</guid>
		<description>Ken,

With Standard edition, you are limited in the number of threads, but if you&#039;ve got that limitation, then the first run of three concurrent requests wouldn&#039;t load three threads, it&#039;d load two and then one.  So you&#039;d still be able to differentiate it from both the correct and the observed behaviour.</description>
		<content:encoded><![CDATA[<p>Ken,</p>
<p>With Standard edition, you are limited in the number of threads, but if you've got that limitation, then the first run of three concurrent requests wouldn't load three threads, it'd load two and then one.  So you'd still be able to differentiate it from both the correct and the observed behaviour.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ken Auenson</title>
		<link>https://www.barneyb.com/barneyblog/2007/11/28/a-very-wonky-requestcfthread-bug/comment-page-1/#comment-50072</link>
		<dc:creator>Ken Auenson</dc:creator>
		<pubDate>Thu, 29 Nov 2007 01:30:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/2007/11/28/a-very-wonky-requestcfthread-bug/#comment-50072</guid>
		<description>Oops...
I guess I do need to get some sleep!
Since you do mention the server monitor in your post, this means you are on developer or enterprise edition, so please ignore my previous comment!
It sure does sound like there is a limiter on the simultaneous running threads, tho!</description>
		<content:encoded><![CDATA[<p>Oops&#8230;<br />
I guess I do need to get some sleep!<br />
Since you do mention the server monitor in your post, this means you are on developer or enterprise edition, so please ignore my previous comment!<br />
It sure does sound like there is a limiter on the simultaneous running threads, tho!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ken Auenson</title>
		<link>https://www.barneyb.com/barneyblog/2007/11/28/a-very-wonky-requestcfthread-bug/comment-page-1/#comment-50071</link>
		<dc:creator>Ken Auenson</dc:creator>
		<pubDate>Thu, 29 Nov 2007 01:27:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/2007/11/28/a-very-wonky-requestcfthread-bug/#comment-50071</guid>
		<description>Barney,
Are you running these tests on CF8 standard?
I ask because CF8 standard does limit the number of threads that CFThread can use... 
actually, the quote I am finding online is &quot;CFTHREAD is limited to two additional spawned threads in Standard Edition&quot;
That sounds like it could explain your observations, if some other process was already using one of the threads alotted to CFThread...</description>
		<content:encoded><![CDATA[<p>Barney,<br />
Are you running these tests on CF8 standard?<br />
I ask because CF8 standard does limit the number of threads that CFThread can use&#8230;<br />
actually, the quote I am finding online is "CFTHREAD is limited to two additional spawned threads in Standard Edition"<br />
That sounds like it could explain your observations, if some other process was already using one of the threads alotted to CFThread&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben Nadel</title>
		<link>https://www.barneyb.com/barneyblog/2007/11/28/a-very-wonky-requestcfthread-bug/comment-page-1/#comment-50058</link>
		<dc:creator>Ben Nadel</dc:creator>
		<pubDate>Wed, 28 Nov 2007 22:06:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/2007/11/28/a-very-wonky-requestcfthread-bug/#comment-50058</guid>
		<description>Insanity!</description>
		<content:encoded><![CDATA[<p>Insanity!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: barneyb</title>
		<link>https://www.barneyb.com/barneyblog/2007/11/28/a-very-wonky-requestcfthread-bug/comment-page-1/#comment-50057</link>
		<dc:creator>barneyb</dc:creator>
		<pubDate>Wed, 28 Nov 2007 21:56:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/2007/11/28/a-very-wonky-requestcfthread-bug/#comment-50057</guid>
		<description>Ben, 

I did try, actually, and it doesn&#039;t seem to matter.</description>
		<content:encoded><![CDATA[<p>Ben, </p>
<p>I did try, actually, and it doesn't seem to matter.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben Nadel</title>
		<link>https://www.barneyb.com/barneyblog/2007/11/28/a-very-wonky-requestcfthread-bug/comment-page-1/#comment-50055</link>
		<dc:creator>Ben Nadel</dc:creator>
		<pubDate>Wed, 28 Nov 2007 21:49:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/2007/11/28/a-very-wonky-requestcfthread-bug/#comment-50055</guid>
		<description>That is very strange. Do you know if the same issue crops up if tab 1 and 2 are different files (ex. Test1.cfm, Test2.cfm). It might be that the threads are somehow tied to the physical file even though they have different requests?</description>
		<content:encoded><![CDATA[<p>That is very strange. Do you know if the same issue crops up if tab 1 and 2 are different files (ex. Test1.cfm, Test2.cfm). It might be that the threads are somehow tied to the physical file even though they have different requests?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
