Hi I have a problem where mongrel on vista is veeeery slow. I''ve confirmed in with two different computers running Vista. Same code has no problem on XP or Linux. Basically on both of my Vista instals, looking at "net" section of firefox, I can see that it appears to take 1sec between each asset. This seems really nuts. Has anyone else managed to get mongrel working nicely with vista ? Any help much appreciated. Jonah (jonah-Qb2LTylMIreySYScBAwQ8Q@public.gmane.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?hl=en -~----------~----~----~----~------~----~------~--~---
chris-82itvZm3gOhWk0Htik3J/w@public.gmane.org
2007-Oct-12 19:54 UTC
Re: Mongrel very slow on Vista
What does the log show when it handles a request? What version of ruby are you running on Vista? Does it differ from that installed on the other 2 OSes? If it''s just a ruby quirk, lighttpd & webrick should run pretty smoothly. I''m guessing this may be some kind of threading problem? [I''m assuming you''re not using mongrel cluster]. I''m also guessing you''re just using RoR in Vista for dev work or nerd points, not as a production environment ;) so maybe falling back on lighty for a while wouldn''t do any harm? --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---
Well it seems v slow regardless of the version of ruby (tried a couple). Additionally - it seems that its only firefox that causes problems. IE7 is fine. FF starts ok and it seems to get progressively worse. On Oct 12, 8:54 pm, "ch...-82itvZm3gOhWk0Htik3J/w@public.gmane.org" <ch...-82itvZm3gOhWk0Htik3J/w@public.gmane.org> wrote:> What does the log show when it handles a request? What version of ruby > are you running on Vista? Does it differ from that installed on the > other 2 OSes? > > If it''s just a ruby quirk, lighttpd & webrick should run pretty > smoothly. I''m guessing this may be some kind of threading problem? > [I''m assuming you''re not using mongrel cluster]. > > I''m also guessing you''re just using RoR in Vista for dev work or nerd > points, not as a production environment ;) so maybe falling back on > lighty for a while wouldn''t do any harm?--~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---
In answer to your questions: * Log looks fine, seems to run at expected speed - only the download is the slow * Ruby version = 1.8.6 * I''ve tried same thing with ruby 1,8,5 * Not using mongrel cluster * correct about the dev work> so maybe falling back on lighty for a while wouldn''t do any harm?not really - just the migration pain and the ''im used to mongrel'' part. thanks for the feedback Jonah On Oct 12, 8:54 pm, "ch...-82itvZm3gOhWk0Htik3J/w@public.gmane.org" <ch...-82itvZm3gOhWk0Htik3J/w@public.gmane.org> wrote:> What does the log show when it handles a request? What version of ruby > are you running on Vista? Does it differ from that installed on the > other 2 OSes? > > If it''s just a ruby quirk, lighttpd & webrick should run pretty > smoothly. I''m guessing this may be some kind of threading problem? > [I''m assuming you''re not using mongrel cluster]. > > I''m also guessing you''re just using RoR in Vista for dev work or nerd > points, not as a production environment ;) so maybe falling back on > lighty for a while wouldn''t do any harm?--~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---
weepy wrote:> I have a problem where mongrel on vista is veeeery slow. I''ve > confirmed in with two different computers running Vista. > Same code has no problem on XP or Linux.The problem''s right in front of you: Vista. Sorry, I just couldn''t help myself. I started developing Rails apps on a Vista box about three weeks ago and the experience has been nothing shy of tortuous. Anywho, I hope you get your issues resolved. Maybe try Leopard? =) -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---
well it was all working well on XP and really it only seems to be firefox on mongrel on vista that works badly. so it''s nearly there !!! but not quite !! On Oct 13, 12:20 am, Daniel Waite <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> weepy wrote: > > I have a problem where mongrel onvistais veeeery slow. I''ve > > confirmed in with two different computers runningVista. > > Same code has no problem on XP or Linux. > > The problem''s right in front of you:Vista. > > Sorry, I just couldn''t help myself. I started developing Rails apps on aVistabox about three weeks ago and the experience has been nothing shy > of tortuous. > > Anywho, I hope you get your issues resolved. Maybe try Leopard? =) > -- > Posted viahttp://www.ruby-forum.com/.--~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---
weepy wrote:> well it was all working well on XP and really it only seems to be > firefox on mongrel on vista that works badly. > > so it''s nearly there !!! but not quite !! >How is firefox performing with other websites hosted on the local machine? maybe it''s a resolving localhost issue? What are connection settings in Firefox? Are you behind a corporate proxy? Is firefox going out to that proxy then back to the local machine (i.e. do you need to enable ignoring of proxy for localhost). Anthony --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---
The same app works ok with webrick in Firefox Connection settings are out of the box install. No proxies. Very odd. On Oct 13, 4:53 am, Anthony Richardson <anth...-fLWHnXb90il4ktuDPxIMMA@public.gmane.org> wrote:> weepy wrote: > > well it was all working well on XP and really it only seems to be > > firefox on mongrel onvistathat works badly. > > > so it''s nearly there !!! but not quite !! > > How is firefox performing with other websites hosted on the local > machine? maybe it''s a resolving localhost issue? What are connection > settings in Firefox? Are you behind a corporate proxy? Is firefox going > out to that proxy then back to the local machine (i.e. do you need to > enable ignoring of proxy for localhost). > > Anthony--~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---
I''ve just noticed similar problems (I think). This is very wierd. I''m running Vista x64 fully updated. Works OK with: Firefox, Webrick IE, Webrick or Mongrel NOT OK with: Firefox, Mongrel Thing is before I updated to the latest preview release of Rails everything was running fine. Now however, long after mongrel has finished firefox is still churning away. I might switch back to a previous version of Rails to see if that really is the problem as I''ve made a number of other changes but it''s happening on two different Rails apps I''m developing. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---
chris-82itvZm3gOhWk0Htik3J/w@public.gmane.org
2007-Oct-15 22:18 UTC
Re: Mongrel very slow on Vista
What happens if you spoof the FF user agent as, say, IE7? If you open another tab in FF and go to about:config, is "network.http.pipelining" set to true? if it is, try turning this off or reduce the maxrequests. Have you tried connecting to your app from a gecko-based browser on a remote machine? I''m just throwing ideas out here...! --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---
Thanks for the good ideas chris -- unfortunately I caved in, flattened and installed XP ! Ill try them on another machine if i get a chance :) On Oct 15, 6:18 pm, "ch...-82itvZm3gOhWk0Htik3J/w@public.gmane.org" <ch...-82itvZm3gOhWk0Htik3J/w@public.gmane.org> wrote:> What happens if you spoof the FF user agent as, say, IE7? > > If you open another tab in FF and go to about:config, is > "network.http.pipelining" set to true? if it is, try turning this off > or reduce the > > Have you tried connecting to your app from a gecko-based browser on a > remote machine? > > I''m just throwing ideas out here...!--~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---
Tried the user agent - nope Pipelining is not enabled Haven''t tried the remote machine idea yet. What a weird problem. Vista - Mongrel - Firefox. Hey Weepy were you using the x64 version of Vista? That gives me an idea. I''ll try some other browsers (Opera perhaps) and also Firefox x64. And I can''t remember which version of IE I tried so I''ll check out both 32/64 bit versions. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---
Hi Phil I was on 32 bit> What a weird problem. Vista - Mongrel - Firefox.Yes !! I notice that mongrel 1.0.2 is out - perhaps this fixes ? though i cant see it in the changelist. On Oct 16, 9:54 am, Phil Thompson <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> Tried the user agent - nope > Pipelining is not enabled > Haven''t tried the remote machine idea yet. > What a weird problem. Vista - Mongrel - Firefox. > HeyWeepywere you using the x64 version of Vista? That gives me an > idea. I''ll try some other browsers (Opera perhaps) and also Firefox x64. > And I can''t remember which version of IE I tried so I''ll check out both > 32/64 bit versions. > -- > Posted viahttp://www.ruby-forum.com/.--~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---
also i was using rails 1.2.5 and have seen the same problem with 1.2.3 on another computer. On Oct 16, 9:54 am, Phil Thompson <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> Tried the user agent - nope > Pipelining is not enabled > Haven''t tried the remote machine idea yet. > What a weird problem. Vista - Mongrel - Firefox. > HeyWeepywere you using the x64 version of Vista? That gives me an > idea. I''ll try some other browsers (Opera perhaps) and also Firefox x64. > And I can''t remember which version of IE I tried so I''ll check out both > 32/64 bit versions. > -- > Posted viahttp://www.ruby-forum.com/.--~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---
does it work with FF on a different computer, acccessing mongrel there on the local computer? If not then use wireshark to see when the packets are coming in--i.e. "is this FF or Mongrel that is erring" also check the logs to see if anything looks suspiciously large, and, as a last resort, look into rails/ruby profilers maybe. GL -Roger weepy wrote:> Hi Phil > > I was on 32 bit > >> What a weird problem. Vista - Mongrel - Firefox. > Yes !! > > I notice that mongrel 1.0.2 is out - perhaps this fixes ? though i > cant see it in the changelist. > > > > On Oct 16, 9:54 am, Phil Thompson <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org>-- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---
weepy wrote:> > I notice that mongrel 1.0.2 is out - perhaps this fixes ? though i > cant see it in the changelist.I did try 1.0.2 but the problem remained. Thanks for suggestions Roger. I''ll look into it. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---
> a last resort, look into rails/ruby profilers maybe.The problem was with static resources - so I guess this is a mongrel problem rather than a rails problem. On Oct 17, 11:17 am, Roger Pack <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> does it work with FF on a different computer, acccessing mongrel there > on the local computer? > If not then use wireshark to see when the packets are coming in--i.e. > "is this FF or Mongrel that is erring" > also check the logs to see if anything looks suspiciously large, and, as > a last resort, look into rails/ruby profilers maybe. > GL > -Roger > > weepy wrote: > > Hi Phil > > > I was on 32 bit > > >> What a weird problem. Vista - Mongrel - Firefox. > > Yes !! > > > I notice that mongrel 1.0.2 is out - perhaps this fixes ? though i > > cant see it in the changelist. > > > On Oct 16, 9:54 am, Phil Thompson <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> > > -- > Posted viahttp://www.ruby-forum.com/.--~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---
So I then wonder... was IE requesting different files? Or the same files but then rendering before the static files entered? Why the difference between IE and FF? Interesting. -Roger weepy wrote:>> a last resort, look into rails/ruby profilers maybe. > > The problem was with static resources - so I guess this is a mongrel > problem rather than a rails problem. > > > On Oct 17, 11:17 am, Roger Pack <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org>-- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---
IE will try to pre-render the page while it''s downloading, so a bad resource isn''t as noticeable. Firefox waits for the complete doc before rendering certain elements such as tables and such. On 10/17/07, Roger Pack <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> > So I then wonder... > was IE requesting different files? Or the same files but then rendering > before the static files entered? > Why the difference between IE and FF? Interesting. > -Roger > > weepy wrote: > >> a last resort, look into rails/ruby profilers maybe. > > > > The problem was with static resources - so I guess this is a mongrel > > problem rather than a rails problem. > > > > > > On Oct 17, 11:17 am, Roger Pack <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> > > -- > Posted via http://www.ruby-forum.com/. > > > >--~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---
>was IE requesting different files?no> IE will try to pre-render the page while it''s downloading, so a bad resource isn''t as noticeable.We''re talking 1 second per resource with say 40 resources. They seem to load sequentially so the whole page load takes ~40s ! On Oct 17, 7:41 pm, "Marlon Moyer" <marlon.mo...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> IE will try to pre-render the page while it''s downloading, so a bad > resource isn''t as noticeable. Firefox waits for the complete doc > before rendering certain elements such as tables and such. > > On 10/17/07, Roger Pack <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote: > > > > > So I then wonder... > > was IE requesting different files? Or the same files but then rendering > > before the static files entered? > > Why the difference between IE and FF? Interesting. > > -Roger > > > weepy wrote: > > >> a last resort, look into rails/ruby profilers maybe. > > > > The problem was with static resources - so I guess this is amongrel > > > problem rather than a rails problem. > > > > On Oct 17, 11:17 am, Roger Pack <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> > > > -- > > Posted viahttp://www.ruby-forum.com/.>>--~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---
How about maybe you run it on real solid platform, you know, something other than vista. The moral of the story is, you sell your soul to devil and eventually he comes for it. On 10/19/07, weepy <jonahfox-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > > >was IE requesting different files? > no > > > IE will try to pre-render the page while it''s downloading, so a bad > resource isn''t as noticeable. > We''re talking 1 second per resource with say 40 resources. They seem > to load sequentially so the whole page load takes ~40s ! > > > On Oct 17, 7:41 pm, "Marlon Moyer" <marlon.mo...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > IE will try to pre-render the page while it''s downloading, so a bad > > resource isn''t as noticeable. Firefox waits for the complete doc > > before rendering certain elements such as tables and such. > > > > On 10/17/07, Roger Pack <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote: > > > > > > > > > So I then wonder... > > > was IE requesting different files? Or the same files but then > rendering > > > before the static files entered? > > > Why the difference between IE and FF? Interesting. > > > -Roger > > > > > weepy wrote: > > > >> a last resort, look into rails/ruby profilers maybe. > > > > > > The problem was with static resources - so I guess this is amongrel > > > > problem rather than a rails problem. > > > > > > On Oct 17, 11:17 am, Roger Pack <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> > > > > > -- > > > Posted viahttp://www.ruby-forum.com/.>> > > > > >--~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---
You could try evented mongrel, or try and find the bug for everyone :) weepy wrote:>>was IE requesting different files? > no > >> IE will try to pre-render the page while it''s downloading, so a bad resource isn''t as noticeable. > We''re talking 1 second per resource with say 40 resources. They seem > to load sequentially so the whole page load takes ~40s !-- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---
Flugsio-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2007-Oct-30 11:24 UTC
Re: Mongrel very slow on Vista
I got this problem and I fixed it... Open C:\Windows\System32\drivers\etc\hosts then remove the row with "::1 localhost" its the IP6 adress or u can try to go to 127.0.0.1:3000 instead... --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---
Flugsio-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2007-Oct-30 11:34 UTC
Re: Mongrel very slow on Vista
Very helpful post Miguel... On 19 Okt, 20:03, "Miguel Castro" <senorcas...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> How about maybe you run it on real solid platform, you know, something other > than vista. The moral of the story is, you sell your soul to devil and > eventually he comes for it. > > On 10/19/07, weepy <jonah...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > > > >was IE requesting different files? > > no > > > > IE will try to pre-render the page while it''s downloading, so a bad > > resource isn''t as noticeable. > > We''re talking 1 second per resource with say 40 resources. They seem > > to load sequentially so the whole page load takes ~40s ! > > > On Oct 17, 7:41 pm, "Marlon Moyer" <marlon.mo...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > IE will try to pre-render the page while it''s downloading, so a bad > > > resource isn''t as noticeable. Firefox waits for the complete doc > > > before rendering certain elements such as tables and such. > > > > On 10/17/07, Roger Pack <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote: > > > > > So I then wonder... > > > > was IE requesting different files? Or the same files but then > > rendering > > > > before the static files entered? > > > > Why the difference between IE and FF? Interesting. > > > > -Roger > > > > > weepy wrote: > > > > >> a last resort, look into rails/ruby profilers maybe. > > > > > > The problem was with static resources - so I guess this is amongrel > > > > > problem rather than a rails problem. > > > > > > On Oct 17, 11:17 am, Roger Pack <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> > > > > > -- > > > > Posted viahttp://www.ruby-forum.com/.>>- Dölj citerad text - > > - Visa citerad text ---~--~---------~--~----~------------~-------~--~----~ 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@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Miguel, you know you''re not the first to come up with this really useful suggestion. The great thing about it though is you can use it in any situation. The only drawback, of course, is that it makes you sound like an idiot. Flugsio, thanks this fixed my problem. Much appreciated. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---
I too am running Vista with Instant Rails and am experiencing very slow performance with Mongrel. Though not just serving web pages but the startup time for Mongrel. After I select an app in instant rails and select start with Mongrel, it can take up to 15 minutes until the Mongrel server is ready for that app. Then delivering pages takes a horrendously long time as well. My setup: 2.4GHz Core 2 Quad w/ 4GB of ram; so I know the poor runtime isn''t due to system specs. I just wanted to post my issues here because I didn''t see anybody mention the incredibly slow startup time for Mongrel through Instant Rails. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---
This is going to sound like Windows bashing, but it''s probably Vista :) Have you tried other versions of Windows/other operating systems? On Dec 17, 2007 4:43 PM, Bret Simpson <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> > I too am running Vista with Instant Rails and am experiencing very slow > performance with Mongrel. Though not just serving web pages but the > startup time for Mongrel. After I select an app in instant rails and > select start with Mongrel, it can take up to 15 minutes until the > Mongrel server is ready for that app. Then delivering pages takes a > horrendously long time as well. > > My setup: 2.4GHz Core 2 Quad w/ 4GB of ram; so I know the poor runtime > isn''t due to system specs. > > I just wanted to post my issues here because I didn''t see anybody > mention the incredibly slow startup time for Mongrel through Instant > Rails. > -- > Posted via http://www.ruby-forum.com/. > > > >-- Ryan Bigg http://www.frozenplague.net --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---
Ryan Bigg wrote:> This is going to sound like Windows bashing, but it''s probably Vista :) > > Have you tried other versions of Windows/other operating systems? >If it was Vista I think we''d hear about more people with problems. Later versions of Mongrel fix the issue that started this thread. I''m not sure what version of Mongrel ships with Instant Rails but try doing "gem update mongrel". You could also do "ruby script/server webrick" to force the Webrick server to start instead of Mongrel. Do this to check if it''s an issue with Mongrel. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---
I am using Vista 64bit and can''t say I''m having any trouble. I am also using Firefox. Mongrel is going about as fast as I''d expect it to, I definitely would not describe it as slow. I''ve used Vista (both 32bit and 64bit) and Mongrel throughout the year and never experienced any unusual slowness. Currently using Mongrel 1.1.1. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---
Bret Simpson wrote:> I too am running Vista with Instant Rails and am experiencing very slow > performance with Mongrel. Though not just serving web pages but the > startup time for Mongrel. After I select an app in instant rails and > select start with Mongrel, it can take up to 15 minutes until the > Mongrel server is ready for that app. Then delivering pages takes a > horrendously long time as well. > > My setup: 2.4GHz Core 2 Quad w/ 4GB of ram; so I know the poor runtime > isn''t due to system specs. > > I just wanted to post my issues here because I didn''t see anybody > mention the incredibly slow startup time for Mongrel through Instant > Rails.Bret, mine is less then 5 seconds, on less hardware and 1/2 the memory, in instant rails. vista home premium. i run ubuntu on the same machine, and it is a bit faster. but there are times that ruby is just .. slow. like something is eating all my cpu cycles for about 10 to 15 seconds. this is after i took out the anti virus, anti rootkit, anti spyware, instant messengers, and all my girl friends pictures. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---
I swear one day I will throw my computer out the window. So I tried starting up the Mongrel server for an application 7 times yesterday, with each time taking at least 1 minute for the server to start up, sometimes up to 10. Before trying any ideas you all posted I gave it one last shot and it starts up in about 5 seconds. I guess just restarting my machine cleared any extra processes that would have been bogging Instant Rails up. So thanks for the help and I''m glad I don''t have to revert to XP cause Vista is pretty awesome, despite popular belief :P Thanks all. Oh, and for the Apache server within Instant Rails to start up I have to right click Instant Rails and select Run As Administrator, this is normal correct? -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---
Bret Simpson wrote:> I swear one day I will throw my computer out the window. So I tried > starting up the Mongrel server for an application 7 times yesterday, > with each time taking at least 1 minute for the server to start up, > sometimes up to 10. Before trying any ideas you all posted I gave it > one last shot and it starts up in about 5 seconds. I guess just > restarting my machine cleared any extra processes that would have been > bogging Instant Rails up. So thanks for the help and I''m glad I don''t > have to revert to XP cause Vista is pretty awesome, despite popular > belief :P > > Thanks all. Oh, and for the Apache server within Instant Rails to start > up I have to right click Instant Rails and select Run As Administrator, > this is normal correct?click on properties, and check box under one of the tabs: run as administrator. then it does it automatically. :) -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---