On Oct 29, 2007, at 9:56 AM, Mike Wynholds wrote:

Hi guys-

Does anyone know the (ideally exhaustive) list of the reasons why the watchdog process would restart the app server?

The main one that I am aware of is the Java heap space hitting the high water mark.

What are the others (if any)?
The question is a little backwards. The real question is "why is Resin exiting without notice?"

The watchdog only restarts the app server for two reasons:
  the old Resin dies for some reason or
  the user calls "restart"

Resin will deliberately call halt() for two reasons
  running out of memory
  detection of a severe thread freeze

I've already modified the halt() behavior for 3.1.4 to try to shutdown cleanly in these cases. Also, I just realized there is a type of logging that should be safe. (The main reason for the halt() was in case the logging itself was frozen, to not completely hose the server. Now I'm thinking that may have been a little too paranoid.)

-- Scott


..mike..



.....

Michael Wynholds

President

Carbon Five, Inc.

310 821 7125 x13

[EMAIL PROTECTED]



_______________________________________________
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest

_______________________________________________
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest

Reply via email to