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
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---