Hi, I am running a sample application using InstantRails (1.3a) in Windows XP local machine. I set the mode to production, and started SCGI server. Every time it takes almost 4 minutes to open my application''s home page, and subsequent pages also take minutes to load. Something must be wrong. In public/.htaccess, there is one line: RewriteRule ^(.*)$ dispatch.cgi [QSA,L] Since I am using SCGI server, I am not sure if the above line is OK. InstantRails 1.3a contains Apache 1.3. Does anyone out there have any idea why it''s so slow and how to fix it? Thanks a lot! wdz --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
SCGI *IS* horribly slow, period. Either use FastCGI, or even better, mongrel. http://mongrel.rubyforge.org --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
On 10/30/06, Thorsten L <duplexxx-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> wrote:> > SCGI *IS* horribly slow, period. > > Either use FastCGI, or even better, mongrel. > > http://mongrel.rubyforge.orgIt''s not that slow... something else is going on. But SCGI is deprecated and you really should use Mongrel instead. I recommend switching to Instant Rails 1.4 which replaced SCGI with Mongrel. Curt --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
I am convinced to use Mongrel. Thank both of you for the information! wdz Curt Hibbs wrote:> On 10/30/06, Thorsten L <duplexxx-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> wrote: > > > > SCGI *IS* horribly slow, period. > > > > Either use FastCGI, or even better, mongrel. > > > > http://mongrel.rubyforge.org > > It''s not that slow... something else is going on. > > But SCGI is deprecated and you really should use Mongrel instead. I > recommend switching to Instant Rails 1.4 which replaced SCGI with > Mongrel. > > Curt--~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
I''m building a personal image hosting site to learn rails. I''m using the SCGI dispatcher and it seems about the same as FastCGI. I''m running it on a pretty old XP machine with InstantRail and a slow/shared DSL internet connection. Takes about 10 seconds for the initial page and 5 seconds for other pages. I did have a problem once which made it go very slow. I would check my running processes and there would be like 7 ruby.exe''s running. I redid the config and it fixed it. I''ll have to check mongrel out. If you want to see my sites speed check here: http://photoalbum.dyndns.org/photos/list --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---