[Mongrel] Mongrel hangs, consumes all CPU on shutdown

Luis Lavena luislavena at gmail.com
Wed Sep 12 17:57:20 EDT 2007


On 9/12/07, 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.
>
> It's not a very big deal -- I just kill -9 it... but has anyone else
> seen this? And suggestions as to how I can avoid it?
>

What db engine/adapter are you using? Maybe mongrel is trying to close
pending connections left in the limbo (from HTTP serving or db
connections).

-- 
Luis Lavena
Multimedia systems
-
Leaders are made, they are not born. They are made by hard effort,
which is the price which all of us must pay to achieve any goal that
is worthwhile.
Vince Lombardi


More information about the Mongrel-users mailing list