I am using Tomcat 6 on AIX and recently a runaway process caused huge files, consumed file space and crashed the server. While I realize that these files could be used to analyse the cause I'm looking to redirect these files where larger filespace is available. Any ideas on how this is controlled?
This has more to do with the Java runtime parameters than anything specific to Tomcat. By default such dump files are generated in the folder from where the Java process was initiated (TOMCAT_HOME/bin for example). But there are certain parameters that you can set while starting the server (which actually instantiates a Java process). It depends on which Java vendor you are using. If you are using Sun/Oracle JVM then take a look at this documentation http://www.oracle.com/technetwork/java/javase/tech/vmoptions-jsp-140102.html (search for -XX:ErrorFile on that page).