[PhillyOnRails] Rails slow to shutdown in... leopard?
Mat Schaffer
schapht at gmail.com
Wed Dec 5 12:55:29 MST 2007
First: holy rps batman! I hadn't realized RC2 had such a speed
difference over 1.2.5.
Second: Verified. RC2 works for me too. Looks like an issue with
1.2.5 so I tested 1.2.6, same issue. Whatever it is it looks like
they fixed in in trunk so I guess I'll just have to grit my teeth a
little while longer.
Thanks Jared!
Mat
On Dec 5, 2007, at 2:15 PM, Jared Blitzstein wrote:
> I just gave it a try with a rails 2.0 RC2 app I'm working on and it
> shuts down fine, within a second, when launching from webrick.
>
> ruby 1.8.6 (2007-03-13 patchlevel 0) [i686-darwin8.10.1]
> Macbook Pro 2.16 / 2gb
> OS X 10.5.1
>
> On Dec 5, 2007, at 11:28 AM, Mat Schaffer wrote:
>
>> I talked with Randy about this in person a bit, but I thought I'd
>> throw it out there incase anyone else was seeing this issue on
>> other platforms.
>>
>> Basically, start a rails app with a simple "hello world"
>> controller. Run the server and hit it with:
>> ab -n 300 http://127.0.0.1:3000/hello
>>
>> Then Ctrl+C to shut the server down. Since I upgraded to Leopard,
>> the behavior will be that ruby sucks up 100% CPU for a considerable
>> length of time that seems to be proportional to the number of
>> dynamic requests made, and eventually stop.
>>
>> Happens on both webrick and mongrel (longer on webrick) both built-
>> in ruby (ruby 1.8.6 (2007-06-07 patchlevel 36) [universal-
>> darwin9.0]) and macports (ruby 1.8.6 (2007-09-23 patchlevel 110)
>> [i686-darwin9.0.0]). Rails 1.2.5, mongrel-1.0.1 and mongrel-1.1.1.
>>
>> I'm probably gonna spend some time this week rolling versions up
>> and down to see if I can find out where it's having trouble.
>> Google didn't turn up anything obvious so I thought I'd see if
>> anyone else here had some thoughts. Anyone seen this or something
>> like it?
>>
>> Thanks,
>> Mat
>> _______________________________________________
>> To unsubscribe or change your settings, visit:
>> http://lists.phillyonrails.org/mailman/listinfo/talk
>
> _______________________________________________
> To unsubscribe or change your settings, visit:
> http://lists.phillyonrails.org/mailman/listinfo/talk
More information about the talk
mailing list