[Mongrel] Mongrel hangs, consumes all CPU on shutdown

Zed A. Shaw zedshaw at zedshaw.com
Wed Sep 12 21:35:44 EDT 2007

On Wed, 12 Sep 2007 16:47:07 -0500
Nathan Vack <njvack at wisc.edu> wrote:

> Hi,
> I'm doing development with Mongrel 1.0.1 on Ruby 1.8.4 / OS X  
> 10.4.10, and I've found that often when I shut down my server with  
> ^C, it hangs for a while, gobbling up all CPU. Sometimes it stops  
> after a few seconds, sometimes it's run for several minutes at least.  
> This happens across all the apps I develop on, but it seems to hang  
> longer after they've been heavily used for many hours / days.

Your ruby is too old so you probably have a cgi.rb that's vulnerable.  Not even sure if the cgi_multipart_eof_fix works for that Ruby.

Do an upgrade and see if it goes away.

Zed A. Shaw
- Hate: http://savingtheinternetwithhate.com/
- Good: http://www.zedshaw.com/
- Evil: http://yearofevil.com/

More information about the Mongrel-users mailing list