Java crash in libjvm.so due to LargePages

Solution Unverified - Updated -

Issue

  • Fatal error log shows the following:
...
# Problematic frame:
# V  [libjvm.so+0x906001]
...

---------------  T H R E A D  ---------------

Current thread (0x00007f9a6c098000):  VMThread [stack: 0x00007f9a3ab68000,0x00007f9a3ac69000] [id=27694]

siginfo: si_signo: 11 (SIGSEGV), si_code: 128 (SI_KERNEL), si_addr: 0x0000000000000000

...
  • xsos output shows nearly all of system memory assigned to HugePages:

MEMORY Stats graphed as percent of MemTotal: MemUsed ▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊ 99.8% Buffers .................................................. 0.0% Cached .................................................. 0.2% HugePages ▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊. 98.5% Dirty .................................................. 0.0% RAM: 62.9 GiB total ram 62.8 GiB (100%) used 62.6 GiB (100%) used excluding Buffers/Cached 0.01 GiB (0%) dirty HugePages: 62 GiB pre-allocated to HugePages (99% of total ram) 0 GiB of HugePages (0%) in-use by applications LowMem/Slab/PageTables/Shmem: 0.1 GiB (0%) of total ram used for Slab 0.01 GiB (0%) of total ram used for PageTables 0 GiB (0%) of total ram used for Shmem Swap:

Environment

  • OpenJDK 1.8

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