Mongrel server issue

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

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