# Mongrel server issue

**URL:** <https://www.ruby-forum.com/t/mongrel-server-issue/113766>\
**Category:** Rails\
**Created:** [September 4, 2007, 8:02pm UTC](https://www.ruby-forum.com/t/mongrel-server-issue/113766 "2007-09-04T20:02:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ajit](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/a3d4f5/32.png) [@Ajit](https://www.ruby-forum.com/u/Ajit)\
**Post date:** [September 4, 2007, 8:02pm UTC](https://www.ruby-forum.com/t/mongrel-server-issue/113766/1 "2007-09-04T20:02:25Z")

</div>

Hi

My web app goes down very frequently. I am using Mongrel web server.  
So once my app is down, i just restart my mongrel and it works fine  
again.

I dont know why mongrel needs to be restarted so oftenly?

Please advice.

Socondly, is there something in-built in Ruby that it sends you an  
email if your site is down?

let me know

thanks

Ajit

---

<div class="post-metadata">

**Author:** ![Ajit](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/a3d4f5/32.png) [@Ajit](https://www.ruby-forum.com/u/Ajit)\
**Post date:** [September 4, 2007, 11:04pm UTC](https://www.ruby-forum.com/t/mongrel-server-issue/113766/2 "2007-09-04T23:04:37Z")

</div>

On 04 Sep 2007, at 19:09, Ajit wrote:

> My web app goes down very frequently. I am using Mongrel web server.  
> So once my app is down, i just restart my mongrel and it works fine  
> again.
> 
> I dont know why mongrel needs to be restarted so oftenly?

Because you are using a shared host provider and your Rails app does  
something processor or memory intensive (RMagick springs to mind)? I  
had this very problem with 3 different shared hosts, their server  
monitoring tool killed my mongrel. My advise: shell out the cash for  
a VPS. Mediatemple might be a good solution if you can’t afford a  
VPS, but I don’t have any experience with them.

> Socondly, is there something in-built in Ruby that it sends you an  
> email if your site is down?

There are Ruby tools out there that perform similar to monit. Google  
is your friend. If you’ll be able to run them on a shared host,  
that’s a totally different question.

Best regards

Peter De Berdt
