High CPU in TempFileProviderService thread

Solution Unverified - Updated

Environment

  • JBoss Enterprise Application Platform (EAP) 6.x
  • Java 8 and earlier

Issue

  • We see high CPU in a TempFileProviderService thread, for example:
"TempFileProviderService-temp-threads - 1" #103 daemon prio=5 os_prio=0 tid=0x00007f01bc0bc800 nid=0x3e78 runnable [0x00007f01887b3000]
   java.lang.Thread.State: RUNNABLE
        at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.poll(ScheduledThreadPoolExecutor.java:809)
        at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1066)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1127)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)
        at org.jboss.threads.JBossThread.run(JBossThread.java:122)

Resolution

  • Await a fix to come in EAP 6.4 CP

Root Cause

Components
Category

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.