You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Steinar Bang <sb...@dod.no> on 2003/08/18 15:33:29 UTC

Avoiding tomcat crashes or do auto restarts?

Platform: Intel PIII, RedHat 8,
	  IBMJava2-SDK-1.3.1-3.0,
	  tomcat4-4.1.18-full.1jpp

We have found that if we push the server too hard, the Java VM running
tomcat crashes.  I'm assuming it's running out of memory, or file
descriptors, or somesuch.

Does anyone have a solution to this type of problem?  Config
parameters that can be tuned?  A watchdog process that will restart
the Java VM if it crashes (ie. something like the apache httpd does)?

A temporary problem caused by a restart is acceptable.
Flatlining due to a VM crash isn't.


- Steinar


Tomcat largefile option in web.xml

Posted by Giorgio Ponza <gi...@opla.it>.
Hi all !
I have a question about the largefile in the default web.xml
I've set the value of largefile to TRUE, but i can't see any 
differences, temp files, etc.
There are some FAQ for this option?
Tx

Giorgio Ponza



Tomcat largefile option in web.xml

Posted by Giorgio Ponza <gi...@opla.it>.
Hi all !
I have a question about the largefile in the default web.xml
I've set the value of largefile to TRUE, but i can't see any 
differences, temp files, etc.
There are some FAQ for this option?
Tx

Giorgio Ponza



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


RE: Avoiding tomcat crashes or do auto restarts?

Posted by Stuart Stephen <st...@talkics.com>.
If you run "java -X" you should get a list of memory orientated options. 

-----Original Message-----
From: news [mailto:news@sea.gmane.org]On Behalf Of Steinar Bang
Sent: 18 August 2003 14:33
To: tomcat-user@jakarta.apache.org
Subject: Avoiding tomcat crashes or do auto restarts?


Platform: Intel PIII, RedHat 8,
	  IBMJava2-SDK-1.3.1-3.0,
	  tomcat4-4.1.18-full.1jpp

We have found that if we push the server too hard, the Java VM running
tomcat crashes.  I'm assuming it's running out of memory, or file
descriptors, or somesuch.

Does anyone have a solution to this type of problem?  Config
parameters that can be tuned?  A watchdog process that will restart
the Java VM if it crashes (ie. something like the apache httpd does)?

A temporary problem caused by a restart is acceptable.
Flatlining due to a VM crash isn't.


- Steinar


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org




RE: Avoiding tomcat crashes or do auto restarts?

Posted by Stuart Stephen <st...@talkics.com>.
http://www.mail-archive.com/cocoon-users@xml.apache.org/msg07206.html

This maybe of help. Increasing the Memory allocated to the Java VM when it
runs Tomcat is probably the solution.

-----Original Message-----
From: news [mailto:news@sea.gmane.org]On Behalf Of Steinar Bang
Sent: 18 August 2003 14:33
To: tomcat-user@jakarta.apache.org
Subject: Avoiding tomcat crashes or do auto restarts?


Platform: Intel PIII, RedHat 8,
	  IBMJava2-SDK-1.3.1-3.0,
	  tomcat4-4.1.18-full.1jpp

We have found that if we push the server too hard, the Java VM running
tomcat crashes.  I'm assuming it's running out of memory, or file
descriptors, or somesuch.

Does anyone have a solution to this type of problem?  Config
parameters that can be tuned?  A watchdog process that will restart
the Java VM if it crashes (ie. something like the apache httpd does)?

A temporary problem caused by a restart is acceptable.
Flatlining due to a VM crash isn't.


- Steinar


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


RE: Avoiding tomcat crashes or do auto restarts?

Posted by Stuart Stephen <st...@talkics.com>.
If you run "java -X" you should get a list of memory orientated options. 

-----Original Message-----
From: news [mailto:news@sea.gmane.org]On Behalf Of Steinar Bang
Sent: 18 August 2003 14:33
To: tomcat-user@jakarta.apache.org
Subject: Avoiding tomcat crashes or do auto restarts?


Platform: Intel PIII, RedHat 8,
	  IBMJava2-SDK-1.3.1-3.0,
	  tomcat4-4.1.18-full.1jpp

We have found that if we push the server too hard, the Java VM running
tomcat crashes.  I'm assuming it's running out of memory, or file
descriptors, or somesuch.

Does anyone have a solution to this type of problem?  Config
parameters that can be tuned?  A watchdog process that will restart
the Java VM if it crashes (ie. something like the apache httpd does)?

A temporary problem caused by a restart is acceptable.
Flatlining due to a VM crash isn't.


- Steinar


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


RE: Avoiding tomcat crashes or do auto restarts?

Posted by Stuart Stephen <st...@talkics.com>.
http://www.mail-archive.com/cocoon-users@xml.apache.org/msg07206.html

This maybe of help. Increasing the Memory allocated to the Java VM when it
runs Tomcat is probably the solution.

-----Original Message-----
From: news [mailto:news@sea.gmane.org]On Behalf Of Steinar Bang
Sent: 18 August 2003 14:33
To: tomcat-user@jakarta.apache.org
Subject: Avoiding tomcat crashes or do auto restarts?


Platform: Intel PIII, RedHat 8,
	  IBMJava2-SDK-1.3.1-3.0,
	  tomcat4-4.1.18-full.1jpp

We have found that if we push the server too hard, the Java VM running
tomcat crashes.  I'm assuming it's running out of memory, or file
descriptors, or somesuch.

Does anyone have a solution to this type of problem?  Config
parameters that can be tuned?  A watchdog process that will restart
the Java VM if it crashes (ie. something like the apache httpd does)?

A temporary problem caused by a restart is acceptable.
Flatlining due to a VM crash isn't.


- Steinar


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org