<?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 is this timeout on CFLOOP possible?</title>
	<atom:link href="http://blog.crankybit.com/how-is-this-timeout-on-cfloop-possible/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.crankybit.com/how-is-this-timeout-on-cfloop-possible/</link>
	<description>Take a byte out of tech!</description>
	<lastBuildDate>Wed, 08 Feb 2012 15:54:01 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Josh</title>
		<link>http://blog.crankybit.com/how-is-this-timeout-on-cfloop-possible/#comment-10246</link>
		<dc:creator>Josh</dc:creator>
		<pubDate>Sun, 16 Dec 2007 05:27:58 +0000</pubDate>
		<guid isPermaLink="false">http://blog.crankybit.com/how-is-this-timeout-on-cfloop-possible/#comment-10246</guid>
		<description>Mike, this was on a CFMX 7 server. I wouldn&#039;t be surprised if this behavior has been around since CFMX 6, though. I would seriously look into the possibility of a timeout from a related function, like Dan suggested. I highly suspect this was the issue for my situation.</description>
		<content:encoded><![CDATA[<p>Mike, this was on a CFMX 7 server. I wouldn&#8217;t be surprised if this behavior has been around since CFMX 6, though. I would seriously look into the possibility of a timeout from a related function, like Dan suggested. I highly suspect this was the issue for my situation.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>http://blog.crankybit.com/how-is-this-timeout-on-cfloop-possible/#comment-10215</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Sat, 15 Dec 2007 13:28:54 +0000</pubDate>
		<guid isPermaLink="false">http://blog.crankybit.com/how-is-this-timeout-on-cfloop-possible/#comment-10215</guid>
		<description>What version of Coldfusion server are you running?  I have the same problem with coldfusion 8, same code ran fine on coldfusion 5, now it is timing out on cfdirectory...</description>
		<content:encoded><![CDATA[<p>What version of Coldfusion server are you running?  I have the same problem with coldfusion 8, same code ran fine on coldfusion 5, now it is timing out on cfdirectory&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Josh</title>
		<link>http://blog.crankybit.com/how-is-this-timeout-on-cfloop-possible/#comment-4673</link>
		<dc:creator>Josh</dc:creator>
		<pubDate>Thu, 27 Sep 2007 21:21:42 +0000</pubDate>
		<guid isPermaLink="false">http://blog.crankybit.com/how-is-this-timeout-on-cfloop-possible/#comment-4673</guid>
		<description>Wow. Seven years of developing in CF and I&#039;ve never seen a situation where that was the apparent answer. Of course, I&#039;ve spent most of that developing apps for a server that I control. Thanks for that insight. 

It&#039;s still weird that CFDIRECTORY would timeout. One time it will execute in less than a second, then next time it times out. And naturally, the hosting company refuses to lift a finger. I swear I must be the only CF customer on this server.</description>
		<content:encoded><![CDATA[<p>Wow. Seven years of developing in CF and I&#8217;ve never seen a situation where that was the apparent answer. Of course, I&#8217;ve spent most of that developing apps for a server that I control. Thanks for that insight. </p>
<p>It&#8217;s still weird that CFDIRECTORY would timeout. One time it will execute in less than a second, then next time it times out. And naturally, the hosting company refuses to lift a finger. I swear I must be the only CF customer on this server.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dan G. Switzer, II</title>
		<link>http://blog.crankybit.com/how-is-this-timeout-on-cfloop-possible/#comment-4627</link>
		<dc:creator>Dan G. Switzer, II</dc:creator>
		<pubDate>Wed, 26 Sep 2007 21:10:34 +0000</pubDate>
		<guid isPermaLink="false">http://blog.crankybit.com/how-is-this-timeout-on-cfloop-possible/#comment-4627</guid>
		<description>The timeout messages in CF can be misleading. I suspect it&#039;s actually timing out on the CFDIRECTORY line (which is probably because a file is in use and it&#039;s causing issues with reading the files.)

The reason the message can sometimes be misleading is because CF won&#039;t actually timeout after XX seconds on some operations (such as a CFQUERY operation.) It actually has to complete the full operation first. 

So if you have a query that takes 60 seconds to run, but your template timeout is set to 30 seconds the query won&#039;t just stop after 30 seconds. It&#039;ll run the entire query first and then throw an error (so the error would occur after 60 seconds, not 30 seconds.)

Also, since that operation completes, the error that is reported as &quot;timing out&quot; is actually the next line that gets executed.

That&#039;s why I suspect it&#039;s actually the CFDIRECTORY tag that&#039;s causing the timeout.</description>
		<content:encoded><![CDATA[<p>The timeout messages in CF can be misleading. I suspect it&#8217;s actually timing out on the CFDIRECTORY line (which is probably because a file is in use and it&#8217;s causing issues with reading the files.)</p>
<p>The reason the message can sometimes be misleading is because CF won&#8217;t actually timeout after XX seconds on some operations (such as a CFQUERY operation.) It actually has to complete the full operation first. </p>
<p>So if you have a query that takes 60 seconds to run, but your template timeout is set to 30 seconds the query won&#8217;t just stop after 30 seconds. It&#8217;ll run the entire query first and then throw an error (so the error would occur after 60 seconds, not 30 seconds.)</p>
<p>Also, since that operation completes, the error that is reported as &#8220;timing out&#8221; is actually the next line that gets executed.</p>
<p>That&#8217;s why I suspect it&#8217;s actually the CFDIRECTORY tag that&#8217;s causing the timeout.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

