On Fri, Oct 19, 2012 at 09:41:31AM +0200, Sean Carte wrote:
> On 18 October 2012 14:00, Vlastimil Krejcir <[email protected]> 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   [email protected]
Asking whether markets are efficient is like asking whether people are smart.

Attachment: pgp3GYzjS8TBv.pgp
Description: PGP signature

------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to