# Effect of mongrel\_rails cluster::restart

**URL:** <https://www.ruby-forum.com/t/effect-of-mongrel-rails-cluster-restart/141968>\
**Category:** Deployment\
**Created:** [July 2, 2008, 5:59am UTC](https://www.ruby-forum.com/t/effect-of-mongrel-rails-cluster-restart/141968 "2008-07-02T05:59:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![arung](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/dbc845/32.png) [@arung](https://www.ruby-forum.com/u/arung)\
**Post date:** [July 2, 2008, 5:59am UTC](https://www.ruby-forum.com/t/effect-of-mongrel-rails-cluster-restart/141968/1 "2008-07-02T05:59:58Z")

</div>

Hi,

I am using a mongrel cluster of 3 mongrels behind an nginx server for  
deployment.  
I am using god to watch the mongrels using mongrel\_rails  
cluster::restart.

The question I have is when mongrel\_rails cluster::restart gets called,  
does it immediately kill the mongrel or does it wait till the requests  
the mongrel is currently processing gets rendered or redirected? If that  
is not default behavior, is there a way to do it / even necessary?

Thanks,  
Arun

---

<div class="post-metadata">

**Author:** ![arung](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/dbc845/32.png) [@arung](https://www.ruby-forum.com/u/arung)\
**Post date:** [July 4, 2008, 10:32am UTC](https://www.ruby-forum.com/t/effect-of-mongrel-rails-cluster-restart/141968/2 "2008-07-04T10:32:20Z")

</div>

Hi Arun,

> The question I have is when mongrel\_rails cluster::restart gets called,  
> does it immediately kill the mongrel or does it wait till the requests  
> the mongrel is currently processing gets rendered or redirected? If that  
> is not default behavior, is there a way to do it / even necessary?

From the top of my head it waits for current requests to process within  
a reasonable grace time.

–  
Roderick van Domburg

> **[De domeinnaam Nedforce.nl is te koop.](http://www.nedforce.nl)**
>
> Deze mooie domeinnaam kan al over een paar minuten van jou zijn. Betalen gaat eenvoudig en vertrouwd via iDEAL. Direct na de betaling ontvang je de verhuiscode per e-mail en kun je aan de slag.
