[Mongrel] [ANN] Another mongrel_cluster prerelease

Zed A. Shaw zedshaw at zedshaw.com
Thu Apr 12 17:33:20 EDT 2007

On Thu, 12 Apr 2007 15:00:31 -0400
Matt Zukowski <mzukowski at urbacon.net> wrote:

> For me at least the issue isn't so much constant and complete
> availability... It's that the "restart" command in mongrel_cluster
> basically doesn't work. After stopping, it tires to start without
> waiting for the servers to shut down. Most of the time this fails, as
> the old servers are still shutting down.
> Instead I find myself doing a manual 'stop', then ps'ing repeatedly to
> see if all the servers have shut down, and then starting manually.

Matt, yep, we just figured out what everyone was talking about.

Try this:

killall -USR2 mongrel_rails and it'll do a stop/wait/restart.

Next version of mongrel_cluster will just do that.

Zed A. Shaw, MUDCRAP-CE Master Black Belt Sifu
http://www.awprofessional.com/title/0321483502 -- The Mongrel Book

More information about the Mongrel-users mailing list