- To tune some parameters you must investigate what causes the failure. Otherwise you will waste your time optimizing the wrong options. (If you look close enough at the complete system, there are several dozen of options where you can tune: io settings of the os, memory settings, bios settings, tcp/ip settings, java vm settings, tomcat settings, db settings) Most of te option depend on your application an the type of load it has to handle.
- To do a restart on a VM crash is a good idea anyway. A good starting point could be: http://linux.oreillynet.com/pub/a/linux/2002/05/09/sysadminguide.html http://cr.yp.to/daemontools/faq/create.html#why (Although they don't talk about tomcat) > -----Original Message----- > From: Steinar Bang [mailto:[EMAIL PROTECTED] > Sent: Monday, August 18, 2003 3:33 PM > To: [EMAIL PROTECTED] > 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)? > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]