2.4 AIX

Recommended Data Collection for Crashes and Hangs in Application Server ( AIX )

Complete Application server version

<appserver_install-directory>/bin/asadmin version --verbose

  • Tar of the config files

<sjsas-install>/config/asenv.conf
<sjsas-install>/domains/<domain_name>/<instance-config>/*
For 8.x and 9.x
<sjas-install>/nodeagents/<nodeagent_name>/<instance_name>/config/*

Application Server Process Hangs/High CPU

Self-help

  • For 9.x
    • Please ensure that the worker threads in the domain.xml is tuned. Default is 5.
      eg
      Change
      <request-processing header-buffer-length-in-bytes="8192" initial-thread-count="2" request-timeout-in-seconds="30" thread-count="5" thread-increment="1"/>
      to
      <request-processing header-buffer-length-in-bytes="8192" initial-thread-count="2" request-timeout-in-seconds="30" thread-count="128" thread-increment="1"/>
    • Please refer to this Sun blog for more information http://weblogs.java.net/blog/jfarcand/archive/2007/03/configuring_gri_2.html

Data Collection

<pid> is the instance PID of the appserver
  • To locate the pid
    ps auxwww | grep "com.sun.aas.instanceName=<name>"
  • procstack <pid>
  • procmap <pid>
  • procfiles <pid>
  • proctree <pid>
  • ps -eaf
  • netstat -an
  • netstat -rn
  • lsof -p <pid>
  • ps -mp <pid> -o THREAD
  • topas > topas.out
  • truss -fealid -o truss.txt -p <pid>
  • tprof -skex sleep 60

    This need root user to run. It takes 60 seconds to do a profiling of the appserver server to see how the application behaves so as to detect those high cpu threads

Application Server Process Crash

Additional data collection

Even though IBM JDK 6 has the following feature : jps and jstack. IBM JDK 6 is not supported in SGES21/AIX yet

Labels

kapplicationserver kapplicationserver Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.

Sign up or Log in to add a comment or watch this page.


The individuals who post here are part of the extended Sun Microsystems community and they might not be employed or in any way formally affiliated with Sun Microsystems. The opinions expressed here are their own, are not necessarily reviewed in advance by anyone but the individual authors, and neither Sun nor any other party necessarily agrees with them.

Copyright 1994-2009 Sun Microsystems, Inc.
Powered by Atlassian Confluence
Sun Guidelines on Public Discourse Privacy Policy Terms of Use Trademarks Site Map Employment Investor Relations Contact