Carl
unread,Jul 9, 2008, 2:57:42 PM7/9/08Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to god.rb
Hi,
We have a cluster of 15 mongrels. When I do 'god restart mongrel', it
seems to be executing all the commands in parallel, which means that
all the mongrels are killed then restarted at the same time (when
doing restart)
The problem is that starting a mongrel is resource consuming and doing
it this way makes the system very slow. Moreover, it takes forever
(minutes) to have a single mongrel back up, which means that we lose a
lot of requests.
Is it possible to have God act as following instead?
1. Stop Mongrel 1
1. Start Mongrel 1
1. Stop Mongrel 2
1. Start Mongrel 2
1. Stop Mongrel 3
1. Start Mongrel 3
1. Stop Mongrel n
1. Start Mongrel n
I understand that different mongels might serve different versions of
the application, but that's fine for us.
Thanks!