unless your server cycled between each one.
Did you try shortening the timeout lengths? That way request will just
error out, rather than waiting around and putting pressure on CF. Since
they only need to be aquired a single time, setting the timeout to 1 be
perfectly adequate.
> -----Original Message-----
> From: Brook Davies [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, June 29, 2004 10:24 PM
> To: CF-Talk
> Subject: RE: Debugging CFMX
>
> Well, I restarted the service to 'test' the new code (after
> testing under
> no load on the dev server) and the requests again started
> stacking up and I
> could not get the server to start without adding conditional
> code to only
> allow my IP through...
>
> The new code looks like this:
>
>
> <cflock scope="application" type="readonly" timeout="10">
> <cfset reload_app_vars = NOT
> structKeyExists(application,"app_vars_loaded") />
> </cflock>
>
>
> <cfif reload_app_vars>
> <cflock scope="application" type="exclusive" timeout="60">
> <cfif NOT structKeyExists(application, "app_vars_loaded")>
> <cflog file="startupLog" date="yes" text="Running
> Instantiation of
> application components">
> <cfobject component =
> "lfcomponents.triggers.triggerAction" name =
> "application.ComponentInstance.triggerAction">
> <cfobject component = "lfcomponents.lfinsert_record" name =
> "application.ComponentInstance.lfInsertData">
> <cfobject component = "lfcomponents.lfincrement" name =
> "application.ComponentInstance.lfincrement">
> <cfobject component = "lfcomponents.lfcreatetable" name =
> "application.ComponentInstance.lfcreatetable">
> <cfobject component =
> "lfcomponents.lfdescript_string" name =
> "application.ComponentInstance.lfdescript_string">
> <cfset application.app_vars_loaded = true />
> </cfif>
> </cflock>
> </cfif>
>
>
> and now my log shows (see the cflog above):
>
> "Information","jrpp-0","06/29/04","22:12:24","LOGIFORMSV2","Running
> Instantiation of application components"
> "Information","jrpp-2","06/29/04","22:12:26","LOGIFORMSV2","Running
> Instantiation of application components"
> "Information","jrpp-1","06/29/04","22:15:41","LOGIFORMSV2","Running
> Instantiation of application components"
>
> So I guess that did not work...I wonder why...
>
> Brook
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

