This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Vincent Sam
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 10444
227
IntelliJ IDE Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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).
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic