Search code examples
javawebsphere

What are all the events captured by Websphere JAVA_DUMP_OPTS conditions?


From the IBM ref, I found there are 6 conditions that can be included in JAVA_DUMP_OPTS properties as follows.

  • ANYSIGNAL
  • DUMP
  • ERROR
  • INTERRUPT
  • EXCEPTION
  • OUTOFMEMORY

But I couldn't find what are all the events that will be captured by each of these condition. The list of all possible events are available here.

Can someone help me out to map each of these events to their corresponding conditions which will capture those events in a heap dump or core dump?

Thanks in advance.


Solution

  • The conditions specified in JAVA_DUMP_OPTS maps to OS signals rather than dump events (except OUTOFMEMORY).

    For Linux, the mapping is as follows:

    • EXCEPTION: SIGTRAP, SIGILL, SISEGV, SIGFPE, SIGBUS, SIGXFSZ
    • INTERRUPT: SIGINT, SIGTERM, SIGHUP
    • ERROR: SIGABRT
    • DUMP: SIGQUIT

    Full list of Signal Mappings for JAVA_DUMP_OPTS: Signal mappings.

    This IBM Technote has more details on the signals part: What is a signal and why does this matter for WebSphere Application Server?.