|
Loading...
|
cfwheels@googlegroups.com
[Prev] Thread [Next] | [Prev] Date [Next]
[cfwheels] Re: Reloading w/ active connections [EMAIL PROTECTED] Mon Jan 31 13:00:45 2011
I looks like Railo is not seeing that the application scope is unlocked and so the request waits for 180s before timing out. Don't quote me on this, it's just a first guess. James On Jan 31, 2:23 pm, John C Bland II <[EMAIL PROTECTED]> wrote: > Using Railo 3.2 on Tomcat 6 through Apache by way of AJP. :-D #mouthful > > It never lasts the whole request timeout length. I set it to 3 minutes but it > takes less than 15s. > > requesttimeout.log > "ERROR","web-0","01/31/2011","13:59:13","controler","stop thread (27) because > run into a timeout path: > /var/www/vhosts/mysite/subdomains/dev/httpdocs/rewrite.cfm > (/var/www/vhosts/mysite/subdomains/dev/httpdocs/controllers/Controller.cfc) . > open locks (wheelsreloadlock)" > > Error email (partial): > there is a timeout occurred on a exclusive lock with name [wheelsReloadLock] > after 180 seconds > > catalina.out > Mon Jan 31 13:59:10 EST 2011-144 Release: (78) > - I/O exception (java.net.ConnectException) caught when processing request: > Connection timed out > - Retrying request > > On Jan 31, 2011, at 9:56 AM, [EMAIL PROTECTED] wrote: > > > > > > > > > Couple of questions John: > > > 1. How long does the reload take? > > 2. Are you using railo or cf9? > > > We are running cf9 and can easily do 60 rpm during the day and have > > never run into this issue. All other requests should wait for the lock > > to end so the only reason that the timeouts would occur would be if > > the timeout is set too low. > > > James > > > On Jan 31, 10:16 am, "[EMAIL PROTECTED]" > > <[EMAIL PROTECTED]> wrote: > >> I would not recommend removing the lock. I would recommend setting the > >> timeout higher. > > >> James > > >> On Jan 31, 7:08 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > > >>> is there a way you can post the actual error from your coldfusion > >>> error logs? > > >>> On Jan 31, 12:30 am, "John C. Bland II" <[EMAIL PROTECTED]> > >>> wrote: > > >>>> Cool thought but not going to fix my issue anytime soon. [not being rude > >>>> just annoyed w/ this one] > > >>>> Any thoughts for immediate fixes? > > >>>> --- > >>>> John C. Bland II > >>>> Blog:http://www.johncblandii.com > >>>> Company:http://www.katapultmedia.com > >>>> Twitter: @johncblandii > > >>>> On Sun, Jan 30, 2011 at 8:43 PM, [EMAIL PROTECTED] <[EMAIL > >>>> PROTECTED]>wrote: > > >>>>> screwed up that bit of code :) > >>>>> should read: > > >>>>> <cfif SturctKeyExist( URL, "reset" )> > >>>>> <cflock scope="application" timeout="10"> > >>>>> <cfset THIS.OnApplicationStart() /> > >>>>> </cflock> > >>>>> </cfif> > > >>>>> On Jan 30, 9:41 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > >>>>>> i've often wondered if we really even need to have the > >>>>>> wheelsReloadLock. In the old days, to reload an application, it was > >>>>>> custom to add the following into the onrequeststart() in the > >>>>>> application.cfm > > >>>>>> <cflock scope="application" timeout="10"> > >>>>>> <cfif SturctKeyExist( URL, "reset" )> > >>>>>> <cfset THIS.OnApplicationStart() /> > >>>>>> </cfif> > >>>>>> </cflock> > > >>>>>> i'm wondering if getting rid of all the wheelsReloadLock and just > >>>>>> scope locking the onapplicationstart call in wheels/event/ > >>>>>> onrequeststart.cfm would be enough? > > >>>>>> On Jan 30, 8:41 pm, "John C. Bland II" <[EMAIL PROTECTED]> wrote: > > >>>>>>> I'm seeing some problems reloading w/ active site connections. > > >>>>>>> Steps: > >>>>>>> 1) Reload > >>>>>>> 2) Hit a different page while reload is happening > >>>>>>> 3) wheelsReloadLock timeout > > >>>>>>> Any ideas? For sites that aren't high traffic this isn't a problem but > >>>>> sites > >>>>>>> with a lot of active users, ajax refreshes, etc I'm seeing some major > >>>>> issues > >>>>>>> w/ this and restarting Railo/Tomcat isn't going to cut it. > > >>>>>>> --- > >>>>>>> John C. Bland II > >>>>>>> Blog:http://www.johncblandii.com > >>>>>>> Company:http://www.katapultmedia.com > >>>>>>> Twitter: @johncblandii > > >>>>> -- > >>>>> You received this message because you are subscribed to the Google > >>>>> Groups > >>>>> "ColdFusion on Wheels" group. > >>>>> To post to this group, send email to [EMAIL PROTECTED] > >>>>> To unsubscribe from this group, send email to > >>>>> [EMAIL PROTECTED]<[EMAIL PROTECTED] om> > >>>>> . > >>>>> For more options, visit this group at > >>>>>http://groups.google.com/group/cfwheels?hl=en. > > > -- > > You received this message because you are subscribed to the Google Groups > > "ColdFusion on Wheels" group. > > To post to this group, send email to [EMAIL PROTECTED] > > To unsubscribe from this group, send email to [EMAIL PROTECTED] > > For more options, visit this group > > athttp://groups.google.com/group/cfwheels?hl=en. -- You received this message because you are subscribed to the Google Groups "ColdFusion on Wheels" group. To post to this group, send email to [EMAIL PROTECTED] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfwheels?hl=en.
- [cfwheels] Reloading w/ active connections John C. Bland II 2011/01/30
- [cfwheels] Re: Reloading w/ active connections [EMAIL PROTECTED] 2011/01/30
- [cfwheels] Re: Reloading w/ active connections [EMAIL PROTECTED] 2011/01/30
- Re: [cfwheels] Re: Reloading w/ active connections John C. Bland II 2011/01/30
- [cfwheels] Re: Reloading w/ active connections [EMAIL PROTECTED] 2011/01/31
- [cfwheels] Re: Reloading w/ active connections [EMAIL PROTECTED] 2011/01/31
- [cfwheels] Re: Reloading w/ active connections [EMAIL PROTECTED] 2011/01/31
- Re: [cfwheels] Re: Reloading w/ active connections John C. Bland II 2011/01/31
- Re: [cfwheels] Re: Reloading w/ active connections John C Bland II 2011/01/31
- [cfwheels] Re: Reloading w/ active connections [EMAIL PROTECTED] 2011/01/31 <=
- Re: [cfwheels] Re: Reloading w/ active connections John C. Bland II 2011/01/31
- [cfwheels] Re: Reloading w/ active connections [EMAIL PROTECTED] 2011/01/31
- Re: [cfwheels] Re: Reloading w/ active connections John C Bland II 2011/01/31
- Re: [cfwheels] Re: Reloading w/ active connections John C. Bland II 2011/01/31
- Re: [cfwheels] Re: Reloading w/ active connections John C. Bland II 2011/01/31
- [cfwheels] Re: Reloading w/ active connections [EMAIL PROTECTED] 2011/01/31
- Re: [cfwheels] Re: Reloading w/ active connections John C Bland II 2011/01/31