|Mat Schaffer on 5 Dec 2007 16:29:40 -0000|
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