check out:

http://blog.pragmatic-it.de/articles/2008/07/09/poor-mans-rolling-restart-for-thin-god

you can do the same thing for mongrel.

On Oct 31, 9:12 am, Daniel Guettler <[EMAIL PROTECTED]> wrote:
> This little script would do this (assuming your mongrel instances are
> called mongrel-800X)
>
> #!/bin/sh
>
> GOD=/usr/local/bin/god
>
> $GOD restart mongrel-8000
> sleep <number of seconds to sleep>
> $GOD restart mongrel-8001
> sleep <number of seconds to sleep>
> $GOD restart mongrel-8002
> sleep <number of seconds to sleep>
> $GOD restart mongrel-8003
> sleep <number of seconds to sleep>
> $GOD restart mongrel-8004
>
> On Oct 31, 12:39 am, "francois.beausoleil"
>
> <[EMAIL PROTECTED]> wrote:
> > Hi all!
>
> > On XLsuite, we have 5 mongrels per application server.  Restarting all
> > of them at the same time ensures we're down for a couple of minutes.
> > But starting a single Mongrel takes about 1 minute.  Does anybody know
> > if I could do that using God?
>
> > I want to take down all mongrels at the same time, and only bring one
> > back up every minute or two.
>
> > Thanks for any ideas!
> > François
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"god.rb" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/god-rb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to