# Rails + Mongrel - autorestart on segmentation fault crash

**URL:** <https://www.ruby-forum.com/t/rails-mongrel-autorestart-on-segmentation-fault-crash/151479>\
**Category:** Rails\
**Created:** [October 22, 2008, 2:17am UTC](https://www.ruby-forum.com/t/rails-mongrel-autorestart-on-segmentation-fault-crash/151479 "2008-10-22T02:17:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sjdale](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/5daacb/32.png) [@sjdale](https://www.ruby-forum.com/u/sjdale)\
**Post date:** [October 22, 2008, 2:17am UTC](https://www.ruby-forum.com/t/rails-mongrel-autorestart-on-segmentation-fault-crash/151479/1 "2008-10-22T02:17:25Z")

</div>

Anyone know of a way to auto-restart Mongrel on a crash, Windows  
environment ?

We’re getting a seg fault error, so until we figure this out is there  
a polling script or something to run to monitor and restart if it’s  
down?

Thanks  
-S

---

<div class="post-metadata">

**Author:** ![sjdale](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/5daacb/32.png) [@sjdale](https://www.ruby-forum.com/u/sjdale)\
**Post date:** [October 22, 2008, 3:31am UTC](https://www.ruby-forum.com/t/rails-mongrel-autorestart-on-segmentation-fault-crash/151479/2 "2008-10-22T03:31:09Z")

</div>

On Oct 22, 11:16 am, sjdale [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Anyone know of a way to auto-restart Mongrel on a crash, Windows  
> environment ?
> 
> We’re getting a seg fault error, so until we figure this out is there

You’re not using ruby 1.8.6 p230 are you? I haven’t used ruby on  
windows, but in linux, this was a bad release. Mongrel segfaulted  
after the second request on one of my apps. If your ruby was updated  
a little earlier this year you may have picked up one of these bad  
versions.

–  
Daniel B.
