This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Tomcat and the fly likes Tomcat on AIX producing huge heapdump, snap and java core files Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat on AIX producing huge heapdump, snap and java core files" Watch "Tomcat on AIX producing huge heapdump, snap and java core files" New topic
Author

Tomcat on AIX producing huge heapdump, snap and java core files

Vincent Sam
Greenhorn

Joined: Aug 09, 2012
Posts: 2
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?

Regards,

Vince
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 9961
    
163

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).

[My Blog] [JavaRanch Journal]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Tomcat on AIX producing huge heapdump, snap and java core files
 
Similar Threads
WSDL file Not exists: Something wrong with web services deployment
code unzip file
Should I delete?
tomcat 5 and AIX 5.1
how to install jdk 1.5 and tomcat 5.5 in aix server