Can you cc the list your monit configurations?

On 19 October 2012 20:57, Mark H. Wood <mw...@iupui.edu> wrote:

> On Fri, Oct 19, 2012 at 09:41:31AM +0200, Sean Carte wrote:
> > On 18 October 2012 14:00, Vlastimil Krejcir <krej...@ics.muni.cz> wrote:
> > > Tomcat seems to be running (ps ax | grep tomcat), but no response or
> > > timeouting. No usefull info in logs. The solution is to restart the
> Tomcat -
> > > I restart it once a day. And I have a "watch" script testing if Tomcat
> is
> > > running correctly and if not then the "watch" restart him (this can
> include
> > > kill -9 restart because sometimes Tomcat doesn't want to terminate
> himself
> > > correctly).
> >
> > Thanks for the input Vlastik. In my case, though, Tomcat was no longer
> > running. I also restart tomcat daily.
> >
> > About your 'watch' script, is that a bash script running ps ax | grep
> > tomcat in a loop, and relaunching tomcat if it's not found?
>
> I've begun using a gadget called Monit (http://mmonit.com/monit/) to
> watch Tomcat, and to SMS me and restart it when it crashes.  Monit can
> trigger on a number of different conditions, and I'm hoping to be able
> to automatically manage other failure modes (such as spinning at 100%
> when PermGen is exhausted, grrr!)
>
> --
> Mark H. Wood, Lead System Programmer   mw...@iupui.edu
> Asking whether markets are efficient is like asking whether people are
> smart.
>
>
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_sfd2d_oct
> _______________________________________________
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>
>


-- 
*Hilton Gibson*
Systems Administrator
JS Gericke Library
Room 1025D
Stellenbosch University
Private Bag X5036
Stellenbosch
7599
South Africa

Tel: +27 21 808 4100 | Cell: +27 84 646 4758
http://library.sun.ac.za
http://scholar.sun.ac.za
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to