We tried to migrate our app to rails 3/ruby 1.9.2 and now have huge problems with the initialization time of the rails instances. After a touch tmp/restart our passenger 2.2.4 needs several minutes(!!) to boot up 20 instances and to serve the first requests. We didn''t had that problem in rails 2. I would love to find out what is taking so long, but I don''t have any clue on where to look for it. How do I debug this? Did anybody had the same experience? -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On Sep 24, 9:31 am, Bodo Tasche <b...-iIB1DI67rJTC3qMLbI8+1w@public.gmane.org> wrote:> We tried to migrate our app to rails 3/ruby 1.9.2 and now have huge > problems with the initialization time of the rails instances. > > After a touch tmp/restart our passenger 2.2.4 needs several > minutes(!!) to boot up 20 instances and to serve the first requests.I would suggest trying the new passenger standalone, and see if that improves your speeds. Then if that helps definitely try out the full passenger 3 beta with your application.> > We didn''t had that problem in rails 2. I would love to find out what > is taking so long, but I don''t have any clue on where to look for it. > How do I debug this? Did anybody had the same experience?You could also try profiling your application to see where you can improve. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Yes, the passenger 3 beta is far better. We now have the same bootup time as with rails 2. Thanks! On Sep 24, 6:55 pm, zzak <zachary.s.sc...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On Sep 24, 9:31 am, Bodo Tasche <b...-iIB1DI67rJTC3qMLbI8+1w@public.gmane.org> wrote: > > > We tried to migrate our app to rails 3/ruby 1.9.2 and now have huge > > problems with the initialization time of the rails instances. > > > After a touch tmp/restart our passenger 2.2.4 needs several > > minutes(!!) to boot up 20 instances and to serve the first requests. > > I would suggest trying the new passenger standalone, and see if that > improves your speeds. Then if that helps definitely try out the full > passenger 3 beta with your application. > > > > > We didn''t had that problem in rails 2. I would love to find out what > > is taking so long, but I don''t have any clue on where to look for it. > > How do I debug this? Did anybody had the same experience? > > You could also try profiling your application to see where you can > improve.-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.