Timeout in Log.cfc

29 views
Skip to first unread message

Jeff Pierson

unread,
Apr 26, 2013, 10:31:20 AM4/26/13
to mach-ii-for...@googlegroups.com
I have a mach-ii 1.8 application and am getting a cfloop timeout error in the log.cfc file.  Can anyone provide any guidance as to what may be causing the issue?

The request has exceeded the allowable time limit Tag: CFLOOP

 
The error occurred in D:/home/thesite.com/wwwroot/MachII/logging/Log.cfc: line 142
Called from D:/home/thesite.com/wwwroot/MachII/framework/RequestHandler.cfc: line 337
Called from D:/home/thesite.com/wwwroot/MachII/framework/RequestHandler.cfc: line 271
Called from D:/home/thesite.com/wwwroot/MachII/framework/RequestHandler.cfc: line 201
Called from D:/home/thesite.com/wwwroot/MachII/mach-ii.cfc: line 195
Called from D:/home/thesite.com/wwwroot/finzAdmin/Application.cfc: line 44
140 : 		<cfif StructKeyExists(arguments, "additionalInformation")>
141 : 			<cfloop collection="#variables.logAdapters#" item="key">
142 : 				<cfset variables.logAdapters[key].fatal(channel, arguments.message, arguments.additionalInformation) />
143 : 			</cfloop>
144 : 		<cfelse>

Peter J. Farrell

unread,
Apr 26, 2013, 10:34:11 AM4/26/13
to mach-ii-for...@googlegroups.com
Jeff Pierson said the following on 04/26/2013 09:31 AM:
> I have a mach-ii 1.8 application and am getting a cfloop timeout error
> in the log.cfc file. Can anyone provide any guidance as to what may
> be causing the issue?
You're request is exceeding the CFML engine request timeout. It just
happens that loops are a place in CFML engines where it checks the total
length of the request to see if it has exceeded the request timeout.
The location of where is a red herring. Trying increasing your request
timeout.

Jeff Pierson

unread,
Apr 26, 2013, 10:50:11 AM4/26/13
to mach-ii-for...@googlegroups.com
Thanks for the reply, this is on a shared hosting server so not sure I can get them to adjust that setting.
Is there any setting in mach-ii that will add in a global cfsetting requesttimeout? 

Peter J. Farrell

unread,
Apr 26, 2013, 3:42:02 PM4/26/13
to mach-ii-for...@googlegroups.com
Jeff Pierson said the following on 04/26/2013 09:50 AM:
> Thanks for the reply, this is on a shared hosting server so not sure I
> can get them to adjust that setting.
> Is there any setting in mach-ii that will add in a global cfsetting
> requesttimeout?
Is it happening during onApplicationStart() or during random requests?
You can use cfsetting in your Application.cfc

<cfsetting requestTimeout="60" />

--
Peter J. Farrell
OpenBD Steering Committee / Mach-II Lead Developer
http://blog.maestropublishing.com
Identi.ca / Twitter: @maestrofjp

Please do not send me Microsoft Office/Apple iWork documents. Send OpenDocument instead! http://fsf.org/campaigns/opendocument/

Jeff Pierson

unread,
Apr 26, 2013, 3:44:49 PM4/26/13
to mach-ii-for...@googlegroups.com
I was able to track down exactly where it is happening.  Even if I up the cfsetting requesttimeout and it is getting a seeFusion timeout from the host.
At least I know now where the bottle neck is.  thanks for your help
Reply all
Reply to author
Forward
0 new messages