[Mongrel] [ANN] Mongrel Web Server 0.3.12 -- Pre-Release

Rick Olson technoweenie at gmail.com
Tue Mar 28 01:19:01 EST 2006


On 3/27/06, Zed Shaw <zedshaw at zedshaw.com> wrote:
> Hello Everyone,
>
> Mongrel is due for a 0.3.12 release which will feature some pretty insane
> goodies for everyone.  There's talk of IOWA support, lots of speed
> improvements (including sendfile support), a great Configurator which makes
> configuring Mongrel a snap (especially for framework implementers), and a
> ton of debugging stuff.

Great stuff all around.  I reran the debugger stuff in production
mode, and got very similar results in objects.log:

COUNTS: 0,1524,24501
TOP 20: [[Array, 16720], [Hash, 1718], [Regexp, 1259], [Proc, 1179],
[Class, 1138], [Float, 645], [YAML::Syck::Scalar, 578], [Module, 381]
....

However, the object_tracking log showed this (highlights reel only)

Number of objects created = 4450
1750	YAML::Syck::Scalar objects created.
546	ActionController::CodeGeneration::GenerationGenerator objects created.
195	ActionController::CodeGeneration::RecognitionGenerator objects created.
179	SQLite::ParsedStatement::Token objects created.
109	Hash objects created.
101	Gem::Version objects created.
98	StringIO objects created.
75	Regexp objects created.
73	XSD::QName objects created.
69	Benchmark::Tms objects created.
68	ActiveRecord::ConnectionAdapters::SQLiteColumn objects created.
56	SQLite::ParsedStatement objects created.
56	SQLite::ResultSet objects created.
56	SQLite::Statement objects created.
51	Gem::Specification objects created.

So that's good, my app isn't abusing 1300 regexes per request at least :)

I did notice I was getting this in my mongrel log on each request:

Error accessing file: Broken pipe
/opt/local/lib/ruby/gems/1.8/gems/mongrel-0.3.12/lib/mongrel/handlers.rb:182:in
`write'
/opt/local/lib/ruby/gems/1.8/gems/mongrel-0.3.12/lib/mongrel/handlers.rb:182:in
`send_file'
/opt/local/lib/ruby/gems/1.8/gems/mongrel-0.3.12/lib/mongrel/handlers.rb:182:in
`send_file'
/opt/local/lib/ruby/gems/1.8/gems/mongrel-0.3.12/lib/mongrel/handlers.rb:201:in
`process'
/opt/local/lib/ruby/gems/1.8/gems/mongrel-0.3.12/lib/mongrel/rails.rb:54:in
`process'
/opt/local/lib/ruby/gems/1.8/gems/mongrel-0.3.12/lib/mongrel.rb:402:in
`process_client'
/opt/local/lib/ruby/gems/1.8/gems/mongrel-0.3.12/lib/mongrel.rb:401:in
`process_client'
/opt/local/lib/ruby/gems/1.8/gems/mongrel-0.3.12/lib/mongrel.rb:466:in `run'
/opt/local/lib/ruby/gems/1.8/gems/mongrel-0.3.12/lib/mongrel.rb:465:in `run'
/opt/local/lib/ruby/gems/1.8/gems/mongrel-0.3.12/lib/mongrel.rb:455:in `run'
/opt/local/lib/ruby/gems/1.8/gems/mongrel-0.3.12/lib/mongrel.rb:735:in `run'
/opt/local/lib/ruby/gems/1.8/gems/mongrel-0.3.12/lib/mongrel.rb:733:in `run'
/opt/local/lib/ruby/gems/1.8/gems/mongrel-0.3.12/bin/mongrel_rails:90:in `run'
/opt/local/lib/ruby/gems/1.8/gems/mongrel-0.3.12/lib/mongrel/command.rb:163:in
`run'
/opt/local/lib/ruby/gems/1.8/gems/mongrel-0.3.12/bin/mongrel_rails:187
/opt/local/bin/mongrel_rails:18

Everything still ran though.

--
Rick Olson
http://techno-weenie.net



More information about the Mongrel-users mailing list