[Mongrel] [WARN] Got 99% CPU?

Michael Moen mi-mongrel at moensolutions.com
Tue Oct 24 14:05:49 EDT 2006

Zed- We're seeing processes go off and become "dead", they continue  
to accept connections, but the don't do anything useful.

We had manually applied your one-liner from r356 and the problem went  
down quite a bit. We are still seeing an occasional process drift off  
and now we are getting a trace in the log.

I'm responding to this here as it is a production site and a fairly  
high volume one http://jibjab.com , but we are not seeing high CPU  
usage, in fact the dead processes aren't using any to speak of.

Thanks in advance for you time and any tips on how we can track this  

Trace follows:

Thread #<Thread:0xb5cf9bb4 sleep> is too old, killing.
Tue Oct 24 15:19:15 UTC 2006: Error calling Dispatcher.dispatch  
#<Sync_m::Err::UnknownLocker: Thread(#<Thread:0xb5cf9bb4 run>) not  
/usr/lib/ruby/1.8/sync.rb:57:in `Fail'
/usr/lib/ruby/1.8/sync.rb:63:in `Fail'
/usr/lib/ruby/1.8/sync.rb:183:in `sync_unlock'
/usr/lib/ruby/1.8/sync.rb:231:in `synchronize'
83:in `process'knownLocker: Thread(#<Thread:0xb5cf9bb4 run>) not  
`process_client'r/lib/ruby/1.8/sync.rb:63:in `Fail'
`process_client'r/lib/ruby/1.8/sync.rb:231:in `synchronize'
/usr/lib/ruby/gems/1.8/gems/mongrel- `run'
/usr/lib/ruby/gems/1.8/gems/mongrel- `run'
/usr/lib/ruby/gems/1.8/gems/mongrel- `run'
configurator.rb:267:in `run'lib/ruby/gems/1.8/gems/mongrel- 
lib/mongrel.rb:686:in `run'
configurator.rb:266:in `run'
211:in `run'/usr/lib/ruby/gems/1.8/gems/mongrel- 

On Oct 23, 2006, at 11:39 PM, Zed A. Shaw wrote:

> Hey folks,
> I ran into a few people at RubyConf who were having 99% CPU  
> issues.  Please contact me if you meet the following criteria:
> 1. You are running a production site.
> 2. You are experiencing 99% CPU errors.
> 3. This is frequent enough that you cannot manage it.
> Thank you.  Please contact me off-list about it.
> -- 
> Zed A. Shaw, MUDCRAP-CE Master Black Belt Sifu
> http://www.zedshaw.com/
> http://mongrel.rubyforge.org/
> http://www.lingr.com/room/3yXhqKbfPy8 -- Come get help.
> _______________________________________________
> Mongrel-users mailing list
> Mongrel-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/mongrel-users

More information about the Mongrel-users mailing list