RE: Trying to know why tomcat shuts down

2008-02-20 Thread Peter Crowther
 From: David Delbecq [mailto:[EMAIL PROTECTED]
 our tomcat, in a test environment, is shutting down
 unexpectedly.
[...]
 (a linux 32bits box)

Which Linux, and have you disabled the kernel option that nukes the largest 
process if the kernel can't allocate itself some memory?  Can't remember its 
name, but I know it's been mentioned previously on this list.

Just a thought, and probably completely off the mark!

- Peter

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Trying to know why tomcat shuts down

2008-02-20 Thread Jim Cox
Is Tomcat getting killed by the OOM Killer?
  http://linux-mm.org/OOM_Killer

On Feb 20, 2008 8:12 AM, David Delbecq [EMAIL PROTECTED] wrote:
 Hello,

 our tomcat, in a test environment, is shutting down unexpectedly. There
 is no messages about stopping webapp, or even receiving SHUTDOWN message
 from management port. It's just normal webapp behaviour in logs and
 that's all. We notice this when someone comes in and says reserver does
 not respond, whe check processes (a linux 32bits box), and no track of
 the jvm. No specific operation seems to trigger it. The jvm is not
 dying, cause that would have led to the presence of a pid.log file and
 messages in catalina.out. It's not the webapp calling System.exit,
 because tomcat runs with a security manager that forbids system.exit
 from webapps.

 We have no clue on how to get reason of this shutdown. I have attached
 now a shutdown hook that will call an external script that itself will
 ask jvm for a dumpstack (kill -3), in the hope we get some information.
 But our tries with regular shutdown seems to point that jvm ignore
 such request when it's processing the shutdown hooks.

 Any suggestion on tracking this greatly appreciated.

 --
 http://www.devlog.be (a belgian developer's logs)



 -
 To start a new topic, e-mail: users@tomcat.apache.org
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Trying to know why tomcat shuts down

2008-02-20 Thread David Delbecq
Everyday, learning something new, today is check linux system logs if 
your tomcat disappear



[30575826.592000] Out of Memory: Killed process 734 (java)



Thanks for your help, you got it right. That server might need a bit of 
additional memory ^^


En l'instant précis du 20/02/08 14:29, Peter Crowther s'exprimait en ces 
termes:

From: David Delbecq [mailto:[EMAIL PROTECTED]
our tomcat, in a test environment, is shutting down
unexpectedly.


[...]
  

(a linux 32bits box)



Which Linux, and have you disabled the kernel option that nukes the largest 
process if the kernel can't allocate itself some memory?  Can't remember its 
name, but I know it's been mentioned previously on this list.

Just a thought, and probably completely off the mark!

- Peter

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

  



--
http://www.devlog.be (a belgian developer's logs)



-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]