Mongrel can't handle heavy load, fills up with threads and starts dropping
connections
--------------------------------------------------------------------------------------
Key: JRUBY-2719
URL: http://jira.codehaus.org/browse/JRUBY-2719
Project: JRuby
Issue Type: Bug
Affects Versions: JRuby 1.1.2
Reporter: Charles Oliver Nutter
Assignee: Charles Oliver Nutter
Fix For: JRuby 1.1.3
Attachments: mongrel_example.rb
Something's wrong with the threading in the JRuby version of mongrel, or else
our threading is causing some problems for mongrel, because under high
concurrent load you see lots of this:
{noformat}
Thread #<Thread:0xbbb253 dead> is too old, killing.
Thread #<Thread:0xbf7a4d dead> is too old, killing.
Server overloaded with 950 processors (950 max). Dropping connection.
Sun Jun 29 18:49:25 -0500 2008: Reaping 950 threads for slow workers because of
'max processors'
Thread #<Thread:0xd32c54 dead> is too old, killing.
Thread #<Thread:0xb5a254 dead> is too old, killing.
{noformat}
And sometimes an ab process hitting the server just gives up.
I'm attaching a simple script from mongrel's usage page that demonstrates this
problem. You can hit it with ab -c 10 -n 10000 http://0.0.0.0:3000/test/ to see
the effect.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email