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 (jo...@parkerfox.co.uk)
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?
Additionally - it seems that its only firefox that causes problems.
IE7 is fine.
FF starts ok and it seems to get progressively worse.
* 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...@mowforth.com" <ch...@mowforth.com> wrote:
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/.
so it's nearly there !!! but not quite !!
On Oct 13, 12:20 am, Daniel Waite <rails-mailing-l...@andreas-s.net>
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
Anthony
Connection settings are out of the box install. No proxies.
Very odd.
On Oct 13, 4:53 am, Anthony Richardson <anth...@viewpointsa.com>
wrote:
> weepy wrote:
> > well it was all working well on XP and really it only seems to be
> > firefox on mongrel onvistathat works badly.
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.
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...!
Ill try them on another machine if i get a chance :)
On Oct 15, 6:18 pm, "ch...@mowforth.com" <ch...@mowforth.com> 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
>
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...@andreas-s.net>
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
On Oct 16, 9:54 am, Phil Thompson <rails-mailing-l...@andreas-s.net>
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
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...@andreas-s.net>
--
Posted via http://www.ruby-forum.com/.
>
> 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.
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...@andreas-s.net>
wrote:
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...@andreas-s.net>
--
Posted via http://www.ruby-forum.com/.
> 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...@gmail.com> 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.
>
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/.
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...
Flugsio, thanks this fixed my problem. Much appreciated.
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.
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.
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.
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.
:)