Thanks Chris. Yes, report execution times is turned off. Below is my system information as shown in CF admin. This is a dev box, but pretty much anything I build will need to be optimized for running in a shared environment. Hence, I may not have access to change CF settings. Although I haven't worked much with cfcs on my own projects until now, I've had to work on a couple existing sites with an extensive number of cfcs, some large, and these sites seem to experience the same problem. Not the model-glue problem, but the general problem that it seems to take a long time for CF to compile many and/or large cfcs.
Anyway, it can take 40 seconds or longer for the first page load after I've made changes to cfcs. Even longer the first time loading the app after CF itself restarts. It only takes 10 seconds after a simple application timeout or reset_app=true without having made any changes to any cfcs. Server Product ColdFusion MX Version 7,0,2,142559 Edition Developer Serial Number Developer Operating System Windows 2000 OS Version 5.0 JVM Details Java Version 1.4.2_09 Java Vendor Sun Microsystems Inc. Java Vendor URL http://java.sun.com/ Java Home C:\CFusionMX7\runtime\jre Java File Encoding Cp1252 Java Default Locale en_US File Separator \ Path Separator ; Line Separator Chr(13) User Name SYSTEM User Home C:\Documents and Settings\Default User User Dir C:\CFusionMX7\runtime\bin Java VM Specification Version 1.0 Java VM Specification Vendor Sun Microsystems Inc. Java VM Specification Name Java Virtual Machine Specification Java VM Version 1.4.2_09-b05 Java VM Vendor Sun Microsystems Inc. Java VM Name Java HotSpot(TM) Server VM Java Specification Version 1.4 Java Specification Vendor Sun Microsystems Inc. Java Specification Name Java Platform API Specification Java Class Version 48.0 On Jan 14, 8:05 am, Chris Blackwell <[email protected]> wrote: > If you've turned off report execution times in cfadmin are you're still > seeing slow startup times? > give us an idea of times, cf version, java version etc.. > > Hopefully Dan will chime in and let us know what the situation is with > addressing bug #368. Maybe if i get time i'll take a look at Ray's proposed > fix and see if i can come up with a patch that Dan can test (no promises > though!) > > -Chris > > 2010/1/14 Bud <[email protected]> > > > Thanks Chris. Admittedly, my development box is about an 8 year old > > 933 Mz job. I'll take a look at the article. It doesn't run slow. It > > just loads slow. Especially when several files have changed. It's > > quick once everything is loaded. > > > I'm still perplexed as to why the startup issue has not been > > addressed. It seems like the sort of thing that would be addressed > > first, if not right away. I guess I'll have to roll back to version 2. > > I hate to start adding logic to address MG bugs. I have enough issues > > with my own bugs. :) > > > Thanks again. > > > On Jan 14, 6:37 am, Chris Blackwell <[email protected]> wrote: > > > What sort of load times are you seeing? The app i'm currently working on > > > uses MG3 with reactor and AOP on a dozen or so gateway classes and will > > > re-init in a matter of seconds. > > > > Firstly, check you have followed all the advice here - > >http://trac.model-glue.com/wiki/FAQs/WhyIsMyModelGlueApplicationSlowt... > > > sure you're app is not running unnecessarily slow. > > > > Slowness aside, there's still the "half-loaded" framework bug and while > > > there's no patch for this issue, there is a bug report - > >http://trac.model-glue.com/ticket/368. So hopefully it will be addressed > > > soon. > > > > -Chris > > > > 2010/1/14 Bud <[email protected]> > > > > > Hi all. > > > > > I am building my first MG app. I have much to learn. I just switched > > > > from MG 2 to MG 3 in the middle of development. (MG 3 wasn't ready > > > > when I started several months ago) Now I'm getting the error at > > > > startup that the requested event handler doesn't exist when the app > > > > times out upon being restarted (reset_app=true). Below is a link > > > > referring to the problem. > > > > >http://groups.google.com/group/model-glue/browse_thread/thread/5ec364. > > .. > > > > > But then that's all I can find of it. Has there been a patch released? > > > > Is there a hack I can do? Will this be fixed in MG 3.2? When will that > > > > be released? This seems like a pretty serious issue, the fact that if > > > > you aren't on top of it or didn't know about it, it could bring your > > > > site down indefinitely. > > > > > As an aside. Does anyone have any tips or tricks for hastening the > > > > startup time of an app built on cfcs? The application I'm working on > > > > is relatively small, yet it will many times timeout at startup. I have > > > > a larger app in mind (5 times larger maybe?). I can't imagine how long > > > > it will take that one to load. > > > > > Thanks a bunch. > > > > Bud > > > > > -- > > > > Model-Glue Sites: > > > > Home Page:http://www.model-glue.com > > > > Documentation:http://docs.model-glue.com > > > > Bug Tracker:http://bugs.model-glue.com > > > > Blog:http://www.model-glue.com/blog > > > > > You received this message because you are subscribed to the Google > > > > Groups "model-glue" group. > > > > To post to this group, send email to [email protected] > > > > To unsubscribe from this group, send email to > > > > [email protected]<model-glue%[email protected]> > > <model-glue%[email protected]<model-glue%[email protected]> > > > > > For more options, visit this group at > > > >http://groups.google.com/group/model-glue?hl=en > > > -- > > Model-Glue Sites: > > Home Page:http://www.model-glue.com > > Documentation:http://docs.model-glue.com > > Bug Tracker:http://bugs.model-glue.com > > Blog:http://www.model-glue.com/blog > > > You received this message because you are subscribed to the Google > > Groups "model-glue" group. > > To post to this group, send email to [email protected] > > To unsubscribe from this group, send email to > > [email protected]<model-glue%[email protected]> > > For more options, visit this group at > >http://groups.google.com/group/model-glue?hl=en
-- Model-Glue Sites: Home Page: http://www.model-glue.com Documentation: http://docs.model-glue.com Bug Tracker: http://bugs.model-glue.com Blog: http://www.model-glue.com/blog You received this message because you are subscribed to the Google Groups "model-glue" 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/model-glue?hl=en
