How do I enable systemd-coredump for JBoss EAP?

Solution Unverified - Updated -

Issue

  • How do I enable systemd-coredump for JBoss EAP?
  • I'm configuring systemd-coredump following to How do I use systemd-coredump to collect crashing application core files?, but no core files are being generated for the JBoss EAP's java process.
  • Even though DefaultLimitCORE=infinity and LimitCORE=infinity are set, the soft limit for Max core size of the java process shows 0.
$ cat /proc/37968/limits | grep -e ^Limit -e "^Max core file size"
Limit                     Soft Limit           Hard Limit           Units
Max core file size        0                    unlimited            bytes 

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 7
    • 8.0
  • Red Hat Enterprise Linux (RHEL)
    • 8+
  • Systemd

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content